3d3d6b847420 ("kbuild: LLVMLinux: Adapt warnings for compilation with clang")

Borislav Petkov
2014-06-16T13:08:02Z

Hi,

the commit in $Subject breaks the purpose of the W= build to see
additional warnings.

With it, currently I get all that stuff disabled with gcc:

$ make V=1 W=1 fs/direct-io.o

...

gcc -Wp,-MD,... -Wno-sign-compare -Wno-missing-field-initializers
-Wno-unused-value -Wno-format -Wno-sign-compare -Wno-format-zero-length
-Wno-uninitialized ...

which is clearly wrong. If I'm building with W=1, I *explicitly* *want*
those additional warnings enabled, not disabled.

Please fix this to have effect only for clang but not for the rest of
the universe.

Thanks.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--