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: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2006 20:41:33 -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 #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