This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5577: Parse error (both mainline and newparser)
- From: paolo at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nbecker at fred dot net, nobody at gcc dot gnu dot org, paolo at gcc dot gnu dot org, pcarlini at unitus dot it
- Date: 2 Feb 2002 00:42:47 -0000
- Subject: Re: c++/5577: Parse error (both mainline and newparser)
- Reply-to: paolo at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nbecker at fred dot net, nobody at gcc dot gnu dot org, paolo at gcc dot gnu dot org, pcarlini at unitus dot it, gcc-gnats at gcc dot gnu dot org
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