[LLVMbugs] [Bug 11986] Unexpected behavior from -Wswitch-enum
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Feb 23 21:36:31 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11986
John Wiegley <johnw at boostpro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #2 from John Wiegley <johnw at boostpro.com> 2012-02-23 23:36:31 CST ---
I understand the difference. Now I'd like to change the focus of this report
to: -Weverything to include -Wswitch, but not -Wswitch-enum.
The reason being is that I'm trying to get my code to pass "clear" with
-Weverything, but -Wswitch-enum is the one warning that requires lots of
needless code additions (because I have default statements), while it seems
that -Wno-switch-enum turns off warnings about missing enumerations when there
is no default. Or have I misunderstood that also?
Thanks, John
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list