8000 netbase.cpp 334 - Warning while compiling. · Issue #2138 · bitcoin/bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

netbase.cpp 334 - Warning while compiling. #2138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rricci2009 opened this issue Dec 31, 2012 · 3 comments
Closed

netbase.cpp 334 - Warning while compiling. #2138

rricci2009 opened this issue Dec 31, 2012 · 3 comments

Comments

@rricci2009
Copy link

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

@Diapolo
Copy link
Diapolo commented Dec 31, 2012

Which compiler are you using?

@rricci2009
Copy link
Author

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
Copy link
Member
laanwj commented Apr 23, 2014

Closing this; gcc 4.4 is ancient, and the warning does not appear in newer compilers.

@laanwj laanwj closed this as completed Apr 23, 2014
HashUnlimited pushed a commit to HashUnlimited/chaincoin that referenced this issue Jul 2, 2018
* PrepareDenominate fix

* Fix conditions
HashUnlimited added a commit to chaincoin/chaincoin that referenced this issue Jul 2, 2018
HashUnlimited pushed a commit to HashUnlimited/chaincoin that referenced this issue Jul 2, 2018
* PrepareDenominate fix

* Fix conditions
HashUnlimited pushed a commit to HashUnlimited/chaincoin that referenced this issue Jul 3, 2018
* PrepareDenominate fix

* Fix conditions
sidhujag added a commit to syscoin/syscoin that referenced this issue Jul 6, 2018
* PrepareDenominate fix

* Fix conditions
< 6507 div class="TimelineItem-body" id="ref-commit-0d54263"> owlhooter pushed a commit to owlhooter/mazacoin-new that referenced this issue Oct 11, 2018
* PrepareDenominate fix

* Fix conditions
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants
0