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 preprocessor/64576] Preprocessor Error With 5.0 not with 4.9.2


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.


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