On Wed, Jun 18, 2014 at 9:19 AM, Jordan Rose <[email protected]> wrote:

>
> On Jun 16, 2014, at 8:51 , Richard Smith <[email protected]>
> wrote:
>
> +def CXXPre1zCompat : DiagGroup<"c++98-c++11-c++14-compat">;
> +def CXXPre1zCompatPedantic :
> DiagGroup<"c++98-c++11-c++14-compat-pedantic",
> +                                       [CXXPre1zCompat]>;
>
>
> I'm not happy with this warning name. Can we say the *compat options are
> just the newest version? c++14-compat?
>

That doesn't work: we want -Wc++11-compat to list all incompatibilities
with C++11, including this one.

My preference is to make this group unnamed, but I don't know if we support
that, nor what we'd list in the [-W...] in the diagnostic if we did.


> Alternately, we could have backwards names and forwards names:
> c++1z-compat for forwards compatibility warnings and pre-c++1z-compat for
> backwards compatibility warnings?
>
> Jordan
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to