egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting typesfor abort
Toon Moene
toon@moene.indiv.nluug.nl
Fri Jan 30 03:27:00 GMT 1998
On m68k-next-nextstep3, the newest snapshot of egcs doesn't build -
it dies with
stage1/xgcc -Bstage1/ -DIN_GCC -O2 -g -DHAVE_CONFIG_H -I.
-I. -I./config \
-DTARGET_NAME=\"m68k-next-nextstep3\" \
-c `echo ./toplev.c | sed 's,^\./,,'`
toplev.c:196: conflicting types for `abort'
/NextDeveloper/Headers/ansi/stdlib.h:65: previous declaration of `abort'
make[1]: *** [toplev.o] Error 1
during stage 2.
The declaration in /NextDeveloper/Headers/ansi/stdlib.h is:
#ifdef __GNUC__
extern volatile void abort(void); <-- line 65
#else /* !__GNUC__ */
extern void abort(void);
#endif /* !__GNUC__ */
Anyone who knows a way out ?
TIA,
Toon.
More information about the Gcc
mailing list