[cfe-commits] [PATCH] MS compatibility: consecutive right angle brackets are allowed

Nico Weber thakis at chromium.org
Tue Sep 4 07:47:28 PDT 2012


Hi Martin,

since a week or two ago, ms mode implies std=c++11. Microsoft's compiler
doesn't have language levels, so that's required to parse headers on
windows anyway. Is that not good enough for this case?

Nico

On Mon, Sep 3, 2012 at 12:32 AM, Martin Vejnár <Martin.Vejnar at avg.com>wrote:

> Hi,
>
> the above patch converts err_right_angle_bracket_equal_needs_space to
> warn_cxx98_compat_two_right_angle_brackets when MS compatibility is enabled
> (VS allowed consecutive angle brackets as template terminators since at
> least version 2008, even when language extensions are disabled).
>
> Eli Friedman suggested that MS compatibility might only be supported in
> c++11 mode. If he's right, then please ignore.
>
> Best regards,
> --
> Martin
>
>
> _______________________________________________
> 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/20120904/90b8bcd6/attachment.html>


More information about the cfe-commits mailing list