[cfe-dev] Question on -Wswitch-enum
Nicola Gigante
nicola.gigante at gmail.com
Fri Aug 3 08:26:45 PDT 2012
Il giorno 03/ago/2012, alle ore 15:23, David Chisnall ha scritto:
>
> Sorry, I was wrong, there are two warnings:
>
> -Wswitch does what you want.
> -Wswitch-enum does the wrong thing (for GCC compatibility?).
>
> -Weverything enables both. -Weverything -Wno-switch-enum does what you want, I believe.
>
Ok, this makes sense.
> David
Thank you,
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120803/992d059a/attachment.html>
More information about the cfe-dev
mailing list