- To: dfavor at austin dot ibm dot com
- Subject: Re: egcs-19990608: AIX 432 compile problem
- From: daemon at cygnus dot com
- Date: Fri, 11 Jun 1999 11:35:47 -0700 (PDT)
- References: <376156FD.2C4851E5@austin.ibm.com>
Sorry, I am unable to deliver your mail note to egcs-bugs@cygnus.com,
that list name is no longer used. Please try resending your mail
note to the new list name: egcs-bugs@egcs.cygnus.com.
If you have any questions about this, send mail to sourcemaster@cygnus.com.
This is a machine-generated message.
Here is a copy of the note you sent.
-----------------------------------------------------------------------------
In the file gcc/cp/tree.c there are tests to compile code if __STDC__ is
not defined.
By default cc (xlC 3.6.4) used -qlanglvl=extended, which does not turn on
__STDC__, however it does compile contents of VPROTO(...) declarations. This
causes xlC to bomb out with error messages like:
cc -c -DIN_GCC -g -I. -I.. -I../../../gcc/cp -I../../../gcc/cp/.. -I../../../gcc/cp/../config
-I../../../gcc/cp/../../include ../../../gcc/cp/tree.c
"../../../gcc/cp/tree.c", line 2155.18: 1506-334 (S) Identifier code has already been defined on line 2152
of "../../../gcc/cp/tree.c".
"../../../gcc/cp/tree.c", line 2193.18: 1506-334 (S) Identifier code has already been defined on line 2190
of "../../../gcc/cp/tree.c".
"../../../gcc/cp/tree.c", line 2194.8: 1506-334 (S) Identifier tt has already been defined on line 2190
of "../../../gcc/cp/tree.c".
gmake: *** [tree.o] Error 1
If -qlanglvl=ansi is set, then this code compiles. I'm unsure what has changed
or how to fix this.
Suggestions anyone?