This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/9650: string literal contactenation doesn't work with #include
- From: neil at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, waid at cisco dot com
- Date: 10 Feb 2003 22:57:32 -0000
- Subject: Re: preprocessor/9650: string literal contactenation doesn't work with #include
- Reply-to: neil at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, waid at cisco dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: string literal contactenation doesn't work with #include
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Mon Feb 10 22:57:32 2003
State-Changed-Why:
Not a bug.
In standard C/C++ such concatenation does not happen. It appears it was an undocumented feature of some previous versions of GCC.
If you really miss it, you can probably get what you want through the # operator via indirect macro expansion.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9650