[Bug c/33167] Hex constant characters with \x escape not parsing correctly
raeburn at raeburn dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 24 19:45:00 GMT 2007
------- Comment #3 from raeburn at raeburn dot org 2007-08-24 19:45 -------
(In reply to comment #2)
> Yep, looks like you are right from the standard. That sucks then. I wish it
> were the other way because I don't see a way to enter a literal single
> character in hex followed a by single character [A-Z0-9] without escape
> sequences.
char *string = "\x01\x02\x03" "Bob";
should work.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167
More information about the Gcc-bugs
mailing list