cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Guenter <lists_at_gknw.net>
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.:
http://curl.haxx.se/dev/log.cgi?id=20120628120832-2589#prob1
(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: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-28