cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Mon, 11 Jun 2012 12:25:46 +0200

Hi Paul, everyone,

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.

Best regards,
Marc

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2012-06-11