Hi

Here is  followup patch.
I added a warning as you said. To do this I created a new MSVC
DiagGroup similar to -Wgnu.
This MSVC (-Wmsvc) diagnostic group is just starting up but eventually
we'll put all MSVC extensions into it.


On Fri, Sep 3, 2010 at 11:26 AM, Douglas Gregor <[email protected]> wrote:
>
> On Sep 1, 2010, at 3:32 AM, Francois Pichet wrote:
>
>> Hi
>>
>> Another patch for MSVC compatibility.
>> This one deals with allowing type definition inside anonymous union or
>> struct in Microsoft mode.
>>
>> This patch removes 15 errors while parsing 1200 header files from the
>> Windows SDK.
>
> This look fine, but I think it should be an Extension or ExtWarn in Microsoft 
> mode. The warning will get suppressed in headers, but we'll still tell users 
> when they're making use of an extension.
>
>        - Doug
>
>
>

Attachment: type_def_in_anon_type.patch
Description: Binary data

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

Reply via email to