[cfe-commits] [PATCH] MS compatibility: consecutive right angle brackets are allowed
Martin Vejnár
Martin.Vejnar at avg.com
Tue Sep 4 08:12:18 PDT 2012
Hi,
it's not a problem at all. When I bumped into and patched the problem I was compiling in c++98. Later, I had to enable c++11 anyway, so the patch isn't necessary for me anymore. I merely had it lying around and thought that MS mode was supported with c++98, so I sent it here.
--
Martin
From: thakis at google.com [mailto:thakis at google.com] On Behalf Of Nico Weber
Sent: Tuesday, September 04, 2012 4:47 PM
To: Martin Vejnár
Cc: cfe-commits at cs.uiuc.edu
Subject: Re: [cfe-commits] [PATCH] MS compatibility: consecutive right angle brackets are allowed
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<mailto: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<mailto: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/811e5cc5/attachment.html>
More information about the cfe-commits
mailing list