[llvm-bugs] [Bug 34224] New: Standards violation regarding multiple c-char literals
llvm-bugs at lists.llvm.org
Thu Aug 17 11:11:11 PDT 2017
Bug ID: 34224
Summary: Standards violation regarding multiple c-char literals
OS: Windows NT
Assignee: unassignedclangbugs at nondot.org
Reporter: aartz at blizzard.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Created attachment 18999
The C++ standard states
"A char32_t literal containing multiple c-chars is ill-formed."
However with -Wall and -Werror, I get no notification that this is improper -
and though Visual Studio also supports the same behavior, which I suspect the
reason works at all, the results are not consistent with Visual Studio.
Attached will return different results for Clang and Visual Studio and produce
no warnings or errors on either.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs