This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59867] Template string literal loses first symbol
- From: "3dw4rd at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jun 2014 21:03:48 +0000
- Subject: [Bug c++/59867] Template string literal loses first symbol
- Auto-submitted: auto-generated
- References: <bug-59867-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867
--- Comment #13 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
Created attachment 33020
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33020&action=edit
Patch 58781, 59867, 60249, ...
I think I got it.
Don't mess with the token stream.
PR C++/58781 - Unicode strings broken in a strange way
PR C++/59867 - Template string literal loses first symbol
PR C++/60249 - Compiler goes into semi-infinite loop with wrong usage of user
defined string literals
Plus I fixed an misleading error message for string literal operator templates
(not available in C++11).