[cfe-dev] clang++: '-Wswitch-enum' turned on by default
Alexandre Colucci
alexandre at elgato.com
Thu Sep 16 03:30:44 PDT 2010
Hey,
I noticed that clang++ seems to always use the option '-Wswitch-enum'. Shouldn't it be turned off by default? Or is there a way to turn it off?
My projects contain a lot of files. When I compile them with clang++, I get thousands of "Enumeration value 'xxx' not handled in switch" warnings .
I would like to avoid to fix all these warnings. This issue also occurs with Xcode 4.0b3.
I filed the bug 8164.
Thanks,
Alexandre
More information about the cfe-dev
mailing list