cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl-compilers.m4: -Wstrict-aliasing=3 for warning enabled ...

From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 28 Jun 2012 18:28:33 +0200

Hi Gün,

Guenter <lists_at_gknw.net> wrote:

> your commit f1474db3600172804d6f79d30e1127c6c7efa066 enables
> -Wstrict-aliasing=3 also for clang, but it seems that clang doesnt
> understand this warning (at least not clang 2.8 and 3.0):

It seems I got fooled by existing comment in line 859 of curl-compilers.m4.

Does there exist any clang version which supports -Wstrict-aliasing
and which version is the first to support it?

Same question for -Wstrict-aliasing=N and which N would be maximum one.

> (interesting is that these warnings are not detected by the
> highliter/warning counter ...)

Detection of those should be fixed now. See
http://curl.haxx.se/dev/log.cgi?id=20120628101235-3905#prob1

> BTW.: you should shorten your 1st line of the commit message to 70 chars
> since this is expected from code browsers like the one from github ... ;-)

Ok, I'll try to remember ;-)

Thanks,

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-28