[cfe-dev] Why in C++11 target -win32, char16_t disappears?

Nico Rieck nico.rieck at gmail.com
Sun Oct 6 06:03:16 PDT 2013


On 06.10.2013 12:43, Edward Diener wrote:
> That is not good since Boost header files expect clang to support
> char16_t. I can test with -fno-ms-compatibility but does not that defeat
> clang working Under Windows when Windows SDK header files are involved ?

Most of the things changed in MicrosoftMode seem to affect C++ and 
aren't that relevant for SDK headers since those are C/COM.
And indeed, I've been using Clang for diagnostics just fine on a COM 
project. And it seems as if there's no pressing need to have that pesky 
-fdelayed-template-parsing mode enabled, too. I've found only one issue 
which can be worked around by forward declaring IUnknown.

-Nico



More information about the cfe-dev mailing list