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 #9 from ahs3 at fc dot hp dot com  2007-03-07 18:43 -------
Ah, my fault; I wasn't being clear.  I still get the error message with -E,
that is true.  However, the resulting code from cpp I thought was correct -- it
just produces what I thought was a normal C label, and if I ignore the error
message, I can compile the output from -E just fine.  It seems to me that if
cpp no longer recognizes ##, then the message should say so ('deprecated cpp
token', or something); if cpp does recognize ##, then I don't think the error
message should  be produced at all since the resulting tokens ('alldone:') are
valid C source.

If none of those are the case, what bit of info am I not understanding?  And
I'm still not sure this is the same bug as the original report -- it seems
similar, but let me know if it's something different entirely.

Thanks.


-- 


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]