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/28709] [4.0/4.1 regression] Bad diagnostic pasting tokens with ##



------- 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


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