egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting types for abort

Jeffrey A Law law@cygnus.com
Fri Jan 30 08:10:00 GMT 1998


  In message < 9801301125.AA16155@moene.indiv.nluug.nl >you write:
  > 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
Thanks.  I've made the abort declaration in toplev.c conditional
on an autoconf macro.  This should fix the problem.

There might be more of these lurking due to the recent addition
of some #includes in various files.  We'll nail them down as we
get bug reports...

jeff



More information about the Gcc mailing list