* egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting typesfor abort
@ 1998-01-30 3:27 Toon Moene
1998-01-30 8:10 ` egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting types for abort Jeffrey A Law
0 siblings, 1 reply; 2+ messages in thread
From: Toon Moene @ 1998-01-30 3:27 UTC (permalink / raw)
To: egcs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting types for abort
1998-01-30 3:27 egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting typesfor abort Toon Moene
@ 1998-01-30 8:10 ` Jeffrey A Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-01-30 8:10 UTC (permalink / raw)
To: Toon Moene; +Cc: egcs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-30 8:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-30 3:27 egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting typesfor abort Toon Moene
1998-01-30 8:10 ` egcs-980129 on m68k-next-nextstep3: toplev.c:196: conflicting types for abort Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).