http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45399
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
Ever Confirmed|1 |0
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-08
12:19:12 UTC ---
The null character is not part of the basic source character set, so it's
implementation-defined how a null in the source file is translated - so
arguably a warning is appropriate. I tend to agree it's not necessarily useful
for raw strings.
(In reply to comment #0)
> Also please consider it a bug. What else is the purpose of raw strings other
> than to contain binary blobs?
There are lots of uses other than binary data, e.g. writing regular expressions
without needing to escape every backslash.