virtual functions in local classes

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sun Mar 26 10:44:00 GMT 2000


> doesn't link with recent gcc versions. (egcs 1.2, gcc2.95.x gcc
> 2.96 fails, but gcc 2.7.2 compiles and links the code.) If f() is made
> non-virtual the program compiles and links.

Thanks for your bug report. The mainline compiler (2.96 20000326
(experimental)) compiles this without problems, so the bug appears to
be fixed.

Regards,
Martin


More information about the Gcc-bugs mailing list