This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C++ cpp lineno breakage
- From: Mike Stump <mrs at apple dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 12 Oct 2004 13:02:26 -0700
- Subject: C++ cpp lineno breakage
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.? In the above, we
currently see:
t.cc:2:1: warning: unknown escape sequence '\q'
instead of:
t.cc:1:11: warning: unknown escape sequence '\q'
(which is what we see in C).