[cfe-commits] [PATCH] Allow typedef with unnecessary "typename" when ms-extensions are enabled.

William Wilson will at indefiant.com
Wed May 2 14:55:19 PDT 2012


On 2 May 2012 22:40, Nico Weber <thakis at chromium.org> wrote:
> Out of interest, which headers do you need this for?

The headers are closed source unfortunately so I can't reveal much
other than the fact it's game engine related. I'm not overjoyed at
adding yet more MS compatibility hacks into clang but I have to
balance that with trying to get third-parties to fix their code...
Sometimes it's just easier to patch the compiler...!

>From looking at the headers in question it seems like copy'n'paste
code, where the typename has remained in place even for the
unqualified typedefs resulting in this situation.

- Will.



More information about the cfe-commits mailing list