This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/83473] New: pragme problems with raw string literals
- From: "smw at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Dec 2017 21:13:23 +0000
- Subject: [Bug c++/83473] New: pragme problems with raw string literals
- Auto-submitted: auto-generated
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.