[cfe-dev] Unable to find 'char16_t' type

Yaron Keren yaron.keren at gmail.com
Sun Oct 6 01:52:41 PDT 2013


Hi,

Nico Rieck suggested using -fno-ms-compatibility to get char16_t back.
This indeed works but may break other stuff since other MS extensions would
not exist.

Yaron



2013/10/6 Edward Diener <eldlistmailingz at tropicsoft.com>

> Compiling a source file in clang for Windows I received:
>
> error: unknown type name 'char16_t' when I specified a function
> declaration of:
>
> void AFunc(char16_t);
>
> My clang compiler options are:
>
> -c -x c++ -O0 -g -fno-inline -Wall -g
>
> ______________________________**_________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/**mailman/listinfo/cfe-dev<http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131006/cd8cb8ae/attachment.html>


More information about the cfe-dev mailing list