[cfe-dev] Question on -Wswitch-enum
Nicola Gigante
nicola.gigante at gmail.com
Fri Aug 3 11:40:14 PDT 2012
Il giorno 03/ago/2012, alle ore 20:22, John Wiegley ha scritto:
>
> I actually opened a bug on this behavior, it was counter-intuitive to me as
> well. The resolution was that it's not always desirable to make -Weverything
> compile silently. You need to add a few -Won- directives as well.
>
Yes, having -Weverything compile silently is nearly impossible, I already
have some -Wno-* flags in the compilation flags, but I add them carefully.
Anyway, I didn't know about the difference between -Wswitch and -Wswitch-enum,
so It's ok after all.
Thanks,
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120803/cdfd1955/attachment.html>
More information about the cfe-dev
mailing list