[Bug c++/69683] multiline raw string R"()" for C++11 warning in false #ifdef when -std=c++98

2016-02-05 Thread jcrada at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69683 --- Comment #5 from Juan Rada-Vilela --- (In reply to Jonathan Wakely from comment #4) > (In reply to Juan Rada-Vilela from comment #2) > > Is there anything I can do to avoid triggering a warning and yet > > use a raw string? > > You can use R"

[Bug c++/69683] multiline raw string R"()" for C++11 warning in false #ifdef when -std=c++98

2016-02-05 Thread jcrada at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69683 --- Comment #2 from Juan Rada-Vilela --- Indeed, it is unfortunate, especially because I compile my software with `-Werror`, so now I have to choose between ignoring warnings or using raw strings. Is there anything I can do to avoid triggering a

[Bug c++/69683] New: multiline raw string R"()" for C++11 warning in false #ifdef when -std=c++98

2016-02-04 Thread jcrada at gmail dot com
Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jcrada at gmail dot com Target Milestone: --- Created attachment 37590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37590&action=edit A test file