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

Yaron Keren yaron.keren at gmail.com
Sat Oct 5 13:43:25 PDT 2013


Trying to compile program in C++11 mode that uses char16_t fails when
target is -win32. For example, the program tc16.cpp:

int main() {
  char16_t c;
  return 0;
}

will complete with no errors using the command:

clang -std=c++11 -target i686-pc-mingw32 -fsyntax-only tc16.cpp

but will result in error using the command:

clang -std=c++11 -target i686-pc-win32 -fsyntax-only tc16.cpp

Is this a bug?

Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131005/5f83cd50/attachment.html>


More information about the cfe-dev mailing list