This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[hppa-linux] HEAD broken?
- From: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- To: gcc at gcc dot gnu dot org
- Cc: John David Anglin <dave dot anglin at nrc-cnrc dot gc dot ca>
- Date: Sun, 21 Sep 2003 22:22:32 -0400
- Subject: [hppa-linux] HEAD broken?
gcc,
CVS HEAD:
Using binutils 2.14.90 20030920
--host=hppa-linux
--prefix=/mnt/flaire/hppa-toolchain/install
--target=hppa-linux
--build=hppa-linux
--with-gnu-ld=/mnt/flaire/hppa-toolchain/install/bin/ld
--with-gnu-as=/mnt/flaire/hppa-toolchain/install/bin/as
--enable-languages=c
---
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-cvs/libiberty/../include
-W -Wall -Wtraditional -pedantic ../../gcc-cvs/libiberty/strerror.c
-o strerror.o
../../gcc-cvs/libiberty/strerror.c:465:
warning: static declaration for `sys_nerr' follows non-static
../../gcc-cvs/libiberty/strerror.c:466:
error: conflicting types for `sys_errlist' /usr/include/bits/sys_errlist.h:28:
error: previous declaration of `sys_errlist'
make[2]: *** [strerror.o] Error 1
make[2]: Leaving directory `/mnt/flaire/hppa-toolchain/src/gcc-build32/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/mnt/flaire/hppa-toolchain/src/gcc-build32'
---
gcc-cvs/libiberty/strerror.c
463 #ifndef HAVE_SYS_ERRLIST
464
465 static int sys_nerr;
466 static const char **sys_errlist;
467
468 #else
/usr/include/bits/sys_errlist.h
26 #ifdef __USE_BSD
27 extern int sys_nerr;
28 extern __const char *__const sys_errlist[];
29 #endif
c.