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

Yaron Keren yaron.keren at gmail.com
Sat Oct 5 15:35:13 PDT 2013


Thanks, this indeed brings back char16_t.

Since char16_t, char32_t are part of C++11 standard, shouldn't clang
provide them when -stc=c++11 is specificed?

Yaron



2013/10/6 Nico Rieck <nico.rieck at gmail.com>

> 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.
>
> -Nico
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131006/b3209e14/attachment.html>


More information about the cfe-dev mailing list