0410 snapshot false errors

JDonner jdonner@schedsys.com
Mon Apr 17 10:50:00 GMT 2000


The code it's complaining about is not where it tells you it is. 
And, it's not wrong (at least it works with 2.95.2).


[jd@localhost ace]$ uname -a
Linux dialup-63.210.132.80.Boston1.Level3.net 2.2.13-7mdk #1 Wed Sep 15
18:02:18 CEST 1999 i686 unknown


cd /home/jd/ACE_wrappers/ace/
g++ -v --save-temps -W -Wall -pipe -D_POSIX_THREADS
-D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS -O3 -g
-fno-implicit-templates   -fno-exceptions -fcheck-new 
-I/home/jd/ACE_wrappers  -c -fPIC -o .shobj/INET_Addr.o INET_Addr.cpp
g++: Warning: -pipe ignored since -save-temps specified
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/specs
gcc version 2.96 20000410 (experimental)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/cpp -lang-c++ -v
-I/home/jd/ACE_wrappers -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96
-D__GNUC_PATCHLEVEL__=0 -D__cplusplus -D__ELF__ -Dunix -Dlinux -D__ELF__
-D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__
-g -W -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-D__tune_pentiumpro__ -D__PIC__ -D__pic__ -D_POSIX_THREADS
-D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS
INET_Addr.cpp INET_Addr.ii
GNU CPP version 2.96 20000410 (experimental) (cpplib)
 (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /home/jd/ACE_wrappers
 /usr/local/qt-2.0.2/include
 /usr/local/qt-2.0.2/qextmdi/include
 /usr/local/include/g++-3
 /usr/local/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/include
 /usr/local/i686-pc-linux-gnu/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/cc1plus INET_Addr.ii
-quiet -dumpbase INET_Addr.cc -g -O3 -W -Wall -version
-fno-implicit-templates -fno-exceptions -fcheck-new -fPIC -o INET_Addr.s
GNU C++ version
The code it's complaining about is not where it tells you it is. 
And, it's not wrong (at least it works with 2.95.2).


[jd@localhost ace]$ uname -a
Linux dialup-63.210.132.80.Boston1.Level3.net 2.2.13-7mdk #1 Wed Sep 15
18:02:18 CEST 1999 i686 unknown


cd /home/jd/ACE_wrappers/ace/
g++ -v --save-temps -W -Wall -pipe -D_POSIX_THREADS
-D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS -O3 -g
-fno-implicit-templates   -fno-exceptions -fcheck-new 
-I/home/jd/ACE_wrappers  -c -fPIC -o .shobj/INET_Addr.o INET_Addr.cpp
g++: Warning: -pipe ignored since -save-temps specified
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/specs
gcc version 2.96 20000410 (experimental)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/cpp -lang-c++ -v
-I/home/jd/ACE_wrappers -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96
-D__GNUC_PATCHLEVEL__=0 -D__cplusplus -D__ELF__ -Dunix -Dlinux -D__ELF__
-D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__
-g -W -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-D__tune_pentiumpro__ -D__PIC__ -D__pic__ -D_POSIX_THREADS
-D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS
INET_Addr.cpp INET_Addr.ii
GNU CPP version 2.96 20000410 (experimental) (cpplib)
 (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /home/jd/ACE_wrappers
 /usr/local/qt-2.0.2/include
 /usr/local/qt-2.0.2/qextmdi/include
 /usr/local/include/g++-3
 /usr/local/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/include
 /usr/local/i686-pc-linux-gnu/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/cc1plus INET_Addr.ii
-quiet -dumpbase INET_Addr.cc -g -O3 -W -Wall -version
-fno-implicit-templates -fno-exceptions -fcheck-new -fPIC -o INET_Addr.s
GNU C++ version 2.96 20000410 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 2.96 20000410 (experimental).
/home/jd/ACE_wrappers/ace/INET_Addr.i: In method `u_long
/home/jd/ACE_wrappers/ace/INET_Addr.i: ACE_INET_Addr::hash () const':
/home/jd/ACE_wrappers/ace/INET_Addr.i:18: non-lvalue in assignment
/home/jd/ACE_wrappers/ace/INET_Addr.i:18: warning: `short unsigned int
__v' might be used uninitialized
/home/jd/ACE_wrappers/ace/INET_Addr.i:18: warning: in this function

 2.96 20000410 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 2.96 20000410 (experimental).
/home/jd/ACE_wrappers/ace/INET_Addr.i: In method `u_long
/home/jd/ACE_wrappers/ace/INET_Addr.i: ACE_INET_Addr::hash () const':
/home/jd/ACE_wrappers/ace/INET_Addr.i:18: non-lvalue in assignment
/home/jd/ACE_wrappers/ace/INET_Addr.i:18: warning: `short unsigned int
__v' might be used uninitialized
/home/jd/ACE_wrappers/ace/INET_Addr.i:18: warning: in this function
INET_Addr.ii.bz2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: INET_Addr.ii.bz2
Type: application/x-bzip2
Size: 56701 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000417/6091f963/attachment.bz2>


More information about the Gcc-bugs mailing list