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: [email protected] [mailto:[email protected]] On Behalf Of Nico Weber
Sent: Tuesday, September 04, 2012 4:47 PM
To: Martin Vejnár
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to