[cfe-commits] [PATCH] Turn the c++0x-compat narrowing warning on by default, and fix clang

Chandler Carruth chandlerc at google.com
Wed Jul 27 00:07:50 PDT 2011


I'd request that this warning staff off by default for a while yet. This is
likely to cause quite a bit of fallout and I think it'd be good to give
people time to use the warning (with fixit hints) to adapt their code.

Side note, in 0x mode, do the errors have the same fixit hints (and not on
the note, recovering as if the fix were applied)?

On Tue, Jul 26, 2011 at 11:51 PM, Jeffrey Yasskin <jyasskin at google.com>wrote:

> As the subject says. On some of the test cases, I could pass
> -Wno-cxx0x-compat instead of changing types, if reviewers prefer.
>
> Jeffrey
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110727/2822264d/attachment.html>


More information about the cfe-commits mailing list