This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/57707] gcc misinterprets hex escapes in constant strings
- From: "duncan_roe at acslink dot net.au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Jun 2013 22:26:08 +0000
- Subject: [Bug c/57707] gcc misinterprets hex escapes in constant strings
- Auto-submitted: auto-generated
- References: <bug-57707-4 at http dot gcc dot gnu dot org/bugzilla/>
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".