netbase.cpp: In function ‘bool ConnectSocketDirectly(const CService&, SOCKET&, int)’: netbase.cpp:334: warning: dereferencing pointer ‘sockaddr.438’ does break strict-aliasing rules netbase.cpp:334: note: initialized from here
netbase.cpp 334 - Warning while compiling. #2138
issue rricci2009 opened this issue on December 31, 2012-
rricci2009 commented at 12:47 PM on December 31, 2012: none
-
Diapolo commented at 3:18 PM on December 31, 2012: none
Which compiler are you using?
-
rricci2009 commented at 6:40 PM on December 31, 2012: none
Hi! I use gcc 4.4.5-8 on Debian.
gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix
Greetings for the new year!
On Mon, 31 Dec 2012 07:18:57 -0800, Philip Kaufmann notifications@github.com wrote:
Which compiler are you using?
Reply to this email directly or view it on GitHub: #2138 (comment)
-
laanwj commented at 2:55 PM on April 23, 2014: member
Closing this; gcc 4.4 is ancient, and the warning does not appear in newer compilers.
- laanwj closed this on Apr 23, 2014
- HashUnlimited referenced this in commit fdca5e26af on Jul 2, 2018
- HashUnlimited referenced this in commit 57db2dc1bd on Jul 2, 2018
- HashUnlimited referenced this in commit 4632a0927b on Jul 2, 2018
- HashUnlimited referenced this in commit fb991a1b90 on Jul 3, 2018
- sidhujag referenced this in commit 0b85721acc on Jul 6, 2018
- owlhooter referenced this in commit 0d5426343d on Oct 11, 2018
- DrahtBot locked this on Sep 8, 2021