public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3864: #line directive/template interaction produces wrong file name on errors
@ 2002-11-21 18:17 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-11-21 18:17 UTC (permalink / raw)
  To: ecohen, gcc-bugs, gcc-prs, nobody

Synopsis: #line directive/template interaction produces wrong file name on errors

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Fri Nov 15 16:57:17 2002
State-Changed-Why:
    This has been fixed in the meantime:
    tmp/g> /home/bangerth/bin/gcc-3.0.4/bin/c++ -c x.cc
    x.cc: In function `void doit(T) [with T = double]':
    somefile.x:25:   instantiated from here
    x.cc:20: `args' undeclared (first use this function)
    x.cc:20: (Each undeclared identifier is reported only once for each function it
       appears in.)
    tmp/g>
    tmp/g>
    tmp/g> /home/bangerth/bin/gcc-3.2.1-pre/bin/c++ -c x.cc
    somefile.x: In function `void doit(T) [with T = double]':
    somefile.x:25:   instantiated from here
    somefile.x:20: `args' undeclared (first use this function)
    somefile.x:20: (Each undeclared identifier is reported only once for each
       function it appears in.)
    tmp/g>
    tmp/g>
    tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -c x.cc
    somefile.x: In function `void doit(T) [with T = double]':
    somefile.x:25:   instantiated from here
    somefile.x:20: error: `args' undeclared (first use this function)
    somefile.x:20: error: (Each undeclared identifier is reported only once for
       each function it appears in.)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/3864: #line directive/template interaction produces wrong file name on errors
@ 2001-07-29  3:53 neil
  0 siblings, 0 replies; 2+ messages in thread
From: neil @ 2001-07-29  3:53 UTC (permalink / raw)
  To: ecohen, gcc-bugs, gcc-prs, nobody

Synopsis: #line directive/template interaction produces wrong file name on errors

State-Changed-From-To: open->analyzed
State-Changed-By: neil
State-Changed-When: Sun Jul 29 03:53:34 2001
State-Changed-Why:
    This appears to be a C++ front end bug.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3864&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-16  0:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-21 18:17 c++/3864: #line directive/template interaction produces wrong file name on errors bangerth
  -- strict thread matches above, loose matches on Subject: below --
2001-07-29  3:53 neil

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).