cURL / Mailing Lists / curl-library / Single Mail


Re: Warnings: Derefencing pointer does break strict-aliasing rules

From: Marc Hoersken <>
Date: Tue, 26 Jun 2012 07:46:08 +0200

Hello everyone,

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
mentioned before.

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?

Best regards,

List admin:

Received on 2012-06-26