This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3864: #line directive/template interaction produces wrong file name on errors
- From: bangerth at dealii dot org
- To: ecohen at angeles dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 16 Nov 2002 00:57:17 -0000
- Subject: Re: c++/3864: #line directive/template interaction produces wrong file name on errors
- Reply-to: bangerth at dealii dot org, ecohen at angeles dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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