c++/5577: Parse error (both mainline and newparser)

paolo@gcc.gnu.org paolo@gcc.gnu.org
Fri Feb 1 16:42:00 GMT 2002


Synopsis: Parse error (both mainline and newparser)

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Fri Feb  1 16:42:46 2002
Responsible-Changed-Why:
    (further) analyzed.
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Fri Feb  1 16:42:46 2002
State-Changed-Why:
    Sorry. This is in fact a well known problem
    (duplicate of c++/4862, f.i.)
    The workaround is adding the template keyword like this:
    double out_iir = iir.template Compute<double>(0.0);
    
    Cheers, Paolo.

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



More information about the Gcc-bugs mailing list