This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/60492] Using the L#param in a macro fails
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Mar 2014 07:23:51 +0000
- Subject: [Bug preprocessor/60492] Using the L#param in a macro fails
- Auto-submitted: auto-generated
- References: <bug-60492-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60492
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
E.g. in ISO C99, 6.10.3.2, you can read that #s is replaced by a single
preprocessing token, but the mere fect that L immediately precedes it doesn't
make it a part of the same preprocessing token. For wide character literals,
the L needs to be part of the same preprocessing token as the "string" after
it.