This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/8927: Gcc give error for wrong line of C code.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]