This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/57707] gcc misinterprets hex escapes in constant strings


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]