This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building gcc-2.95.3 in cygwin


Hi all
I am trying to build gcc-2.95.3 using cygwin.While compiling the c-lex.c
it showed the following error.

cygdrive/d/gcc-2.95.3/gcc/config -I/cygdrive/d/gcc-2.95.3/gcc/../include
/cygdri
ve/d/gcc-2.95.3/gcc/c-lex.c
In file included from /cygdrive/d/gcc-2.95.3/gcc/c-lex.c:31:
/cygdrive/d/gcc-2.95.3/gcc/c-parse.h:56: conflicting types for `RETURN'
/cygdrive/d/gcc-2.95.3/gcc/rtl.def:503: previous declaration of `RETURN'

What i could find is that RETURN is defined as type "enum yytokentype "
in c-parse.c and as type "enum rtx_code" in rtl.h files.

How to sort out this problem?

Thank you
Abdul



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]