C++ cpp lineno breakage

Zack Weinberg zack@codesourcery.com
Wed Oct 13 01:05:00 GMT 2004


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



More information about the Gcc mailing list