[cfe-dev] Bug 17824: parse error in typedef union with -fms-extensions

Aaron Ballman aaron at aaronballman.com
Sat Nov 23 13:06:25 PST 2013


On Fri, Nov 22, 2013 at 8:35 PM, Jeremy Fitzhardinge <jeremy at goop.org> wrote:
> Hi all,
>
> I filed bug 17824 a few days ago because I'm seeing a regression in the
> current svn clang vs previous versions with this structure in glibc's
> /usr/include/stdlib.h when compiling with -fms-extensions:

This is not actually a bug -- __uptr is a keyword in Microsoft mode.

http://msdn.microsoft.com/en-us/library/vstudio/aa983399.aspx

We don't support the full semantics for it, but you can see it
declared as a TypeAttr in Attr.td.

HTH!

~Aaron



More information about the cfe-dev mailing list