cURL / Mailing Lists / curl-library / Single Mail


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

From: Guenter <>
Date: Thu, 28 Jun 2012 17:07:39 +0200

Hi Yang,
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):
clang: warning: unknown warning option '-Wstrict-aliasing=3'; did you
mean '-Wstring-plus-int'?
warning: unknown warning option '-Wstrict-aliasing=3'; did you mean
'-Wstring-plus-int'? [-Wunknown-warning-option]

see f.e.:
(interesting is that these warnings are not detected by the
highliter/warning counter ...)

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

greets, GŁn.

List admin:
Received on 2012-06-28