[cfe-commits] Microsoft extension (enum 'enum' used in

Aaron Ballman aaron at aaronballman.com
Mon Apr 30 08:56:02 PDT 2012


On Mon, Apr 30, 2012 at 10:51 AM, Douglas Gregor <dgregor at apple.com> wrote:
>
> On Apr 28, 2012, at 2:04 PM, Francois Pichet wrote:
>
>> On Sat, Apr 28, 2012 at 4:09 PM, Ahmed Charles <ahmedcharles at gmail.com> wrote:
>>>  qualified name)
>>> MIME-Version: 1.0
>>> Content-Type: text/plain; charset="utf-8"
>>> Content-Transfer-Encoding: 7bit
>>>
>>> Has there been any consideration around having MS imply C++11? Given
>>> that VC doesn't support modes for standard versions, it wouldn't
>>> breaking users expectations as much as requiring that their code is
>>> compatible with the most recent version of VC.
>>
>>
>> Yes that would make sense if we want to emulate the latest MSVC.
>> (clang can't the MSVC 2010 standard header files without -std=c++11)
>>
>> I haven't pushed that because I always use -cc1 and explicitly pass
>> the options I want.
>
>
> I'd be fine with ms-compatibility mode enabling C++11. There's no point in trying to support older MSVC versions.

I think it's reasonable as well.

~Aaron




More information about the cfe-commits mailing list