This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-990418 build problem.



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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]