This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/12743] [3.4/3.5 Regression] Multi-line strings not diagnosed when occurring in a macro call
- From: "neil at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2004 10:32:42 -0000
- Subject: [Bug preprocessor/12743] [3.4/3.5 Regression] Multi-line strings not diagnosed when occurring in a macro call
- References: <20031023135802.12743.gabor.greif@lucent.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From neil at gcc dot gnu dot org 2004-02-28 10:32 -------
Contrary to the bug report's claim, in 3.4 I get
/tmp/bug.c:3:1: unterminated argument list invoking macro "FOO"
FOO
This is the behaviour I intended. If someone wants different behaviour, they
are free to implement it. I'll note that e.g. Comeau gives substantially the
same output.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|neil at daikokuya dot co dot|unassigned at gcc dot gnu
|uk |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12743