[cfe-commits] [PATCH][MS] - MSVC allows type definition in anonymous union and struct

Douglas Gregor dgregor at apple.com
Tue Sep 7 13:13:57 PDT 2010

On Sep 4, 2010, at 9:12 PM, Francois Pichet wrote:

> 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.

I'd prefer that we make this -Wmicrosoft and refer to "Microsoft" extensions in diagnostics rather than using the MSVC acronym. After all, we use "GNU"  rather than "GCC". With those changes, this patch looks good. Thanks!

	- Doug

More information about the cfe-commits mailing list