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

Edward Diener eldlistmailingz at tropicsoft.com
Sun Oct 6 03:43:00 PDT 2013


On 10/5/2013 5:16 PM, Nico Rieck wrote:
> On 05.10.2013 22:43, Yaron Keren wrote:
>> Trying to compile program in C++11 mode that uses char16_t fails [...]
>
> For whatever reason (probably because MSVC does not define those yet),
> the char(16|32)_t keywords are not defined in MicrosoftMode. So you have
> to compile with -fno-ms-compatibility for now.

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 ?





More information about the cfe-dev mailing list