On Wed, Feb 15, 2012 at 3:14 AM, Chris Lattner <[email protected]> wrote:
> What is the motivation for this patch?  Clang defaulting to more warnings on 
> than gcc is a feature, not a bug.

I had the impression that these warnings are on by default without
-Wall mostly by accident. When I added -Wdangling-else, I wasn't aware
that it would fire without -Wall, and dblaikie unsuccessfully tried to
move -Wswitch to -Wall here:
http://www.mail-archive.com/[email protected]/msg45730.html

I'm just as happy with tweaking the comment above -Wall in the .td
file instead and not changing any behavior (patch for that attached)
if you think all these warnings should stay on by default.

Nico

Attachment: clang-wall-different.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to