This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: BUG REPORT: pointer to polymorphic method in generic class
- To: drnomad at zonnet dot nl
- Subject: Re: BUG REPORT: pointer to polymorphic method in generic class
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sat, 27 May 2000 22:57:16 +0200
- CC: egcs-bugs at egcs dot cygnus dot com
- References: <00053102273700.01341@localhost.localdomain>
> I'm using egcs 2.91.66
Thanks for your bug report. gcc-2.95.2 says
test.C:13: declaration of `class TYPE'
test.C:5: shadows template parm `class TYPE'
test.C:108: parse error before `,'
test.C:109: prototype for `void MYCLASS<TYPE>::Set(...)' does not match any in class `MYCLASS<TYPE>'
test.C:53: candidate is: void MYCLASS<TYPE>::Set(unsigned int, TYPE)
test.C: In method `void MYCLASS<TYPE>::Set(...)':
test.C:109: template definition of non-template `void MYCLASS<TYPE>::Set(...)'
[more errors]
so the bug appears to be fixed.
Regards,
Martin