This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Building gcc-2.95.3 in cygwin
- From: abdul <abdul at cmcltd dot com>
- To: my favourite compiler <gcc-help at gcc dot gnu dot org>, cygwin <cygwin-help at cygwin dot com>
- Date: Mon, 28 Jul 2003 16:16:08 +0530
- Subject: 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