This is the mail archive of the gcc@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]
Other format: [Raw text]

3.2.1 fatal warnings


I just installed 3.2.1 and found some redeclarations that were formally
warnings are now fatal, yet they are still labeled as warnings.  Any idea
what is going on here?

I also had an installation problem with libtool and CONFIG_SHELL.  INSTALL
was getting set to "/bin/ksh install-sh" and that made libtool's argument
parsing get off.  Has anyone else seen this?

make INSTALL=install-sh worked for Solaris 2.6, but it was not sufficient
for sparcv9 multilibs on Solaris 8.  I had to do more Makefile hacking to
work around it there.

3.2.1:
gcc -DPACKAGE=\"visual\" -DVERSION=\"6.5\ alpha\" -DHAVE_PTHREAD=1
-DSTDC_HEADERS=1 -DV9=1 -D_POSIX_C_SOURCE=199506 -D__EXTENSIONS__=1  -I.
-I../../../visual/lib/libmmm  -I../../../visual/include
-I../../../visual/util/irutil   -pthreads -D_POSIX_THREAD_SEMANTICS  -g
-O2 -mcpu=v8 -mtune=ultrasparc -c ../../../visual/lib/libmmm/create_pal.c
In file included from ../../../visual/lib/libmmm/create_pal.c:33:
../../../visual/lib/libmmm/octree.h:28: warning: redefinition of `uint'
/usr/local/sparc-sun-solaris2.8/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/include/sys/types.h:509:
warning: `uint' previously declared here
../../../visual/lib/libmmm/octree.h:29: warning: redefinition of `ulong'
/usr/local/sparc-sun-solaris2.8/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/include/sys/types.h:510:
warning: `ulong' previously declared here
make[2]: *** [create_pal.o] Error 1

2.95.2:
/usr/local/bin/gcc -DPACKAGE=\"visual\" -DVERSION=\"6.5\ alpha\"
-DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DV9=1 -D_POSIX_C_SOURCE=199506
-D__EXTENSIONS__=1  -I. -I../../../visual/lib/libmmm
-I../../../visual/include -I../../../visual/util/irutil   -pthreads
-D_POSIX_THREAD_SEMANTICS  -g -O2 -mcpu=v8 -mtune=ultrasparc -c
../../../visual/lib/libmmm/create_pal.c
In file included from ../../../visual/lib/libmmm/create_pal.c:33:
../../../visual/lib/libmmm/octree.h:28: warning: redefinition of `uint'
/usr/include/sys/types.h:484: warning: `uint' previously declared here
../../../visual/lib/libmmm/octree.h:29: warning: redefinition of `ulong'
/usr/include/sys/types.h:485: warning: `ulong' previously declared here
...

Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


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