Re: Warnings: Derefencing pointer does break strict-aliasing rules
Date: Tue, 26 Jun 2012 07:46:08 +0200
I took another look at the problem source and found the following
stackoverflow question and answer:
This seems to be the best solution to this problem. I applied it to
sockaddr.h in the current master and it does resolve the warnings
I tested it on Linux x64 with warnings enabled and successfully
compiled it there and on Windows 7 using VC10.
This time I actually verified that the warnings are really gone. :-)
What do you think about this solution?
- application/octet-stream attachment: 0001-sockaddr.h-Fixed-dereferencing-pointer-breakin-stric.patch