[Bug c++/59867] Template string literal loses first symbol

3dw4rd at verizon dot net gcc-bugzilla@gcc.gnu.org
Fri Jun 27 21:03:00 GMT 2014


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



More information about the Gcc-bugs mailing list