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++/3864: #line directive/template interaction produces wrong file name on errors


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


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