https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64576
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 4.9 behaves the same way with -std=c11, GCC 5 behaves the old way with -std=c99. -std=c11 turns on unicode literals, i.e. u"str", U"str" and u8"str". So for #u"str" you really need to put there whitespace, so that it isn't parsed as # followed by u"str" string literal.