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 #3 from reichelt at gcc dot gnu dot org  2006-10-23 20:41 -------
Just a minor nit: The second error message still contains the "->" token
which should not have been generated. But that's probably tolerable.

bug.c:2:1: error: pasting "-" and ">>" does not give a valid preprocessing
token
bug.c:2: error: expected identifier or '(' before '->' token


-- 


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]