[egcs-970901] conflicting type for _sys_siglistp on solaris-2.5
Gabriel Dos Reis
Gabriel.Dos-Reis@dptmaths.ens-cachan.fr
Wed Sep 3 07:13:00 GMT 1997
I tried to build egcs-970901 with egcs-970828 unsuccessfully:
collect2.c:213: conflicting types for `_sys_siglistp'
/usr/public/lib/egcs/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.90.03/include/signal.h:25: previous declaration of `_sys_siglistp'
make[1]: *** [collect2.o] Error 1
Actually line 213 of the file collect2.c looks like:
extern char *sys_siglist[]
whereas line 25 of file
/usr/public/lib/egcs/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.90.03/include/signal.h
is
extern const char **_sys_siglistp; /* signal descriptions */
I guess it suffices to make the latter definition match the former...
-- Gaby
More information about the Gcc-bugs
mailing list