This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/28709] [4.0/4.1 regression] Bad diagnostic pasting tokens with ##
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2007 21:39:56 -0000
- Subject: [Bug preprocessor/28709] [4.0/4.1 regression] Bad diagnostic pasting tokens with ##
- References: <bug-28709-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from pinskia at gcc dot gnu dot org 2007-03-07 21:39 -------
(In reply to comment #9)>
> If none of those are the case, what bit of info am I not understanding?
Yes "alldone:" are really two seperate tokens in C :).
If you change the definition of LABEL to:
#define LABEL(a, b) a##b :
it works exactly the same as you want it to work.
And yes it is unrelated to this bug really.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28709