I am using C++ raw strings of the form: R"raw(^@)raw" (the ^@ is a 0 character
in the file) and get the following:
warning: null character(s) preserved in literal
This is not helpful. I have a lot of these, and didn't find out how to disable
this warning by other means than to disable all warnings. Any suggestion?
Also please consider it a bug. What else is the purpose of raw strings other
than to contain binary blobs?
Best regards,
Kay Hayen
--
Summary: Warning for \0 in C++0x raw strings
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kayhayen at gmx dot de
GCC build triplet: x86_64-linux-gnu
GCC host triplet: 86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45399