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++/58781] Unicode strings broken in a strange way


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781

--- Comment #3 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
Q; Is this a regression?
A: No.

See http://ideone.com/8JS3Yf
This is gcc-4.8.1 (needed a space between "" and _s but still errors with this:
-----------------------------------------------------------
prog.cpp: In function âint f()â:
prog.cpp:7:22: error: converting to execution character set: Invalid or
incomplete multibyte or wide character
     using b=decltype(U"\x8111"_s);
                      ^
prog.cpp:8:22: error: converting to execution character set: Invalid or
incomplete multibyte or wide character
     using c=decltype(U" \x1181"_s);
                      ^
-----------------------------------------------------------

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