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]

Re: BUG REPORT: pointer to polymorphic method in generic class


> 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

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