new scheme for declaring strsignal() in egcs-20000530

Tim Prince tprince@computer.org
Tue May 30 10:15:00 GMT 2000


Sorry, I see that there was a change in this recorded in libiberty/ChangeLog, but I don't understand it.  It looks like we have
defined HAVE_STRING_H but not HAVE_STRSIGNAL.  Here is what gcc-2.95.2 says (attached):


-------------- next part --------------
make[1]: Entering directory `/src/gnu/egcs/w2k/libiberty'
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -Os -march=pentiumpro -g -pipe -I. -I../../libiberty/../include  -W -Wall -Wtraditional  ../../libiberty/strsignal.c -o pic/strsignal.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -Os -march=pentiumpro -g -pipe -I. -I../../libiberty/../include  -W -Wall -Wtraditional ../../libiberty/strsignal.c
../../libiberty/strsignal.c:424: conflicting types for `strsignal'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/include/string.h:70: previous declaration of `strsignal'
../../libiberty/strsignal.c: In function `psignal':
../../libiberty/strsignal.c:597: warning: comparison between signed and unsigned
make[1]: *** [strsignal.o] Error 1
make[1]: Leaving directory `/src/gnu/egcs/w2k/libiberty'
make: *** [all-libiberty] Error 2


More information about the Gcc-bugs mailing list