egcs-19990418 gcc/gen-protos.c fatal()
Joe Van Andel
vanandel@atd.ucar.edu
Tue Apr 20 06:16:00 GMT 1999
When compiling on Sparc Solaris 2.6 with egcs-1.1.1:
The gcc/gen-protos.c function
void
fatal (s)
const char *s;
{
fprintf (stderr, "%s: %s\n", "gen-protos", s);
exit (FATAL_EXIT_CODE);
}
is missing the 'const' on its argument. This prevents 'make bootstrap'
from succeeding when 'gcc' is egcs-1.1.1.
egcs-1.1.1 complains:
./gen-protos.c: In function `fatal':
./gen-protos.c:199: argument `s' doesn't match prototype
system.h:387: prototype declaration
Thanks!
Joe VanAndel Internet: vanandel@ucar.edu
National Center for http://www.atd.ucar.edu/~vanandel/home.html
Atmospheric Research
More information about the Gcc-bugs
mailing list