c++/3688: Somehow, an int is getting involved when getting sizeof a struct sockaddr variable.

Carlo Wood carlo@alinoe.com
Sat Jul 14 17:16:00 GMT 2001


The following reply was made to PR c++/3688; it has been noted by GNATS.

From: Carlo Wood <carlo@alinoe.com>
To: jap3003+gcc@ksu.edu
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/3688: Somehow, an int is getting involved when getting sizeof a struct sockaddr variable.
Date: Sun, 15 Jul 2001 02:06:51 +0200

 On Sat, Jul 14, 2001 at 11:37:28PM -0000, jap3003+gcc@ksu.edu wrote:
 > c++ -o nsSocket.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DOJI   -I../../../../dist/include -I../../../../dist/include -I/usr/local/src/building/mozilla/dist/include/nspr      -I/usr/openwin/include   -fPIC  -I/usr/openwin/include -fno-rtti -fno-exceptions -pedantic -Wno-long-long -pipe -pthreads -O3  -DNDEBUG -DTRIMMED -I/usr/openwin/include -DMOZILLA_CLIENT -include ../../../../config-defs.h -Wp,-MD,.deps/nsSocket.pp nsSocket.cpp
 > ====
 > >How-To-Repeat:
 > Grab the latest cutting-edge Mozilla source and configure with GCC 3.
 > Then go into xpinstall/wizard/libxpnet/src and try to make.
 
 Can you please add '-v -save-temps' to the line with "c++ -o ..." (just cut&paste
 and manually add -v -save-temps to the end), and then attach a compressed (bzip2)
 nsSocket.ii that will be produced along with the output of the c++ to a reply?
 
 Thanks,
 
 -- 
 Carlo Wood <carlo@alinoe.com>



More information about the Gcc-prs mailing list