cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Jun 2012 15:39:15 +0200 (CEST)

On Mon, 11 Jun 2012, Marc Hoersken wrote:

> thanks for the tip! I prepared a patch that fixes the warnings by using a
> union, like you suggested.
>
> I tested it with my mingw32 build and winbuild VC environments. It would be
> great if someone else could test it on the different Unix flavours.
>
> Please note the information provided in the patch file.

Thanks! I took at look at it and ran it through the tests on my linux host
too, and then pushed it...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-11