This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8927: Gcc give error for wrong line of C code.
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gp at qnx dot com, nobody at gcc dot gnu dot org
- Date: 21 Dec 2002 04:54:04 -0000
- Subject: Re: c/8927: Gcc give error for wrong line of C code.
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gp at qnx dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Gcc give error for wrong line of C code.
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Dec 20 20:54:04 2002
State-Changed-Why:
Confirmed. This is the same problem which is reported in
another report (which I am unable to find at present,
annoyingly) where you had a token that creates an
error and immediately afterwards a #include. The error
was reported to be inside the include file.
Errors should be reported for the position of a token,
not for the position of the next one.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8927