public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/7356: syntax errors immediately before an #include are reported for within the included file
@ 2002-12-16 16:50 bangerth
  0 siblings, 0 replies; only message in thread
From: bangerth @ 2002-12-16 16:50 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jastrother, nobody

Old Synopsis: misreports error location
New Synopsis: syntax errors immediately before an #include are reported for within the included file

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Dec 16 16:50:52 2002
State-Changed-Why:
    True, still happens with 3.3CVS. Maybe it would be possibly
    to identify the position of the token right before the
    point where we give the error, i.e. when the output
    (as in this example) is
    tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ x.cc
    In file included from /usr/include/stdlib.h:33,
                     from x.cc:2:
    /home/bangerth/bin/gcc-3.3-pre/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/stddef.h:213: error: syntax
       error before `typedef'
    
    then also output the position of the token before the 
    "typedef" token, at least if it is in another file.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7356


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-17  0:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-16 16:50 c/7356: syntax errors immediately before an #include are reported for within the included file bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).