cURL / Mailing Lists / curl-library / Single Mail


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

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

Hi GŁn,

Guenter <> 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

> 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 ;-)


List admin:
Received on 2012-06-28