[Bug c++/83473] New: pragme problems with raw string literals
smw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 18 21:13:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83473
Bug ID: 83473
Summary: pragme problems with raw string literals
Product: gcc
Version: 5.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: smw at gcc dot gnu.org
Target Milestone: ---
The following C++ code fails under GCC.
_Pragma ( R"()" )
The error message is as follows.
1 : <source>:1:1: warning: missing terminating " character
_Pragma ( R"()" )
^
ICC and MSVC ICE on this construct, and clang complains about missing parens.
More information about the Gcc-bugs
mailing list