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

Francois Pichet pichet2000 at gmail.com
Thu Apr 19 22:40:21 PDT 2012


On Thu, Apr 19, 2012 at 5:25 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> On Thu, Apr 19, 2012 at 2:20 PM, Nikola Smiljanic <popizdeh at gmail.com>
> wrote:
>>
>> On Thu, Apr 19, 2012 at 10:56 PM, Sebastian Redl
>> <sebastian.redl at getdesigned.at> wrote:
>> > The real question is what how much code depends on this. I'm not sure,
>> > but I think we generally try not to support every oddity the MS compiler
>> > allows, only those that are necessary to parse system headers (including
>> > MS-supplied libraries like MFC and ATL) or else are very common. If they
>> > just occasionally appear in client code, it would be better to fix that
>> > code.
>>
>> I didn't really think about this :) but you're right, we probably
>> don't need this. Francois?
>
>
> Is there a reason that the relevant code can't just be built in C++11 mode
> anyway? IIRC Microsoft's compiler doesn't explicitly distinguish between
> C++98 and C++11 modes.

Agreed, we can already handle such code using -std=c++11.



More information about the cfe-commits mailing list