egcs-990418 build problem.

Dirk Zoller duz@rtsffm.com
Wed Apr 28 04:04:00 GMT 1999


Building on DEC Unix:

gcc -c  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include ./gen-protos.c
./gen-protos.c: In function `fatal':
./gen-protos.c:199: argument `s' doesn't match prototype
system.h:387: prototype declaration
make[2]: *** [gen-protos.o] Error 1
make[2]: Leaving directory `/obj/tmp/egcs-19990418/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/obj/tmp/egcs-19990418/gcc'
make: *** [bootstrap] Error 2

He's right:

void
fatal (s)
     char *s;
{


and 


extern void fatal PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;


More information about the Gcc-bugs mailing list