This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ cpp lineno breakage
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Mike Stump <mrs at apple dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 12 Oct 2004 15:58:50 -0700
- Subject: Re: C++ cpp lineno breakage
- References: <A3674E82-1C89-11D9-8429-003065A77310@apple.com>
Mike Stump <mrs@apple.com> writes:
> Hey, Matt, Zack, did you break:
>
> char *p = "\q"; /* { dg-error "unknown escape" } */
> int i;
>
> this recently for?C++?? The problem is the line numbers for cpp_error
> come out as the last line number in the source file.
That seems like a plausible problem falling out of the
lex-everything-first patch. Please file a bug report and assign it to
me.
zw