[Bug preprocessor/12743] [3.4/3.5 Regression] Multi-line strings not diagnosed when occurring in a macro call

neil at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 28 10:32:00 GMT 2004


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



More information about the Gcc-bugs mailing list