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

Douglas Gregor dgregor at apple.com
Fri Sep 3 08:26:21 PDT 2010


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






More information about the cfe-commits mailing list