[Bug c/57707] gcc misinterprets hex escapes in constant strings
duncan_roe at acslink dot net.au
gcc-bugzilla@gcc.gnu.org
Tue Jun 25 22:26:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57707
duncan_roe at acslink dot net.au <duncan_roe at acslink dot net.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |---
--- Comment #5 from duncan_roe at acslink dot net.au <duncan_roe at acslink dot net.au> ---
There's no need for that. C is defined in Kernighan & Ritchie's "The C
Programming Language". They mandate \xhh as a character escape. No mention of
"except when the next character happens to be a hex digit".
More information about the Gcc-bugs
mailing list