cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: gcc 4.4 new warning when use struct sockaddr*

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 31 Aug 2009 09:34:32 +0200 (CEST)

On Mon, 31 Aug 2009, °×Áú wrote:

> connect.c:345: warning: dereferencing pointer 'si4' does break strict-aliasing rules
>
> I search to avoid this waring as follow:

Sorry I don't understand what you're suggesting. Can you instead please make a
patch of the actual libcurl code to show us how you suggest we remove this
warning?

I don't think this is an actual problem in the code, the warning is a false
positive.

-- 
  / daniel.haxx.se
Received on 2009-08-31