This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: virtual functions in local classes
- To: peter dot osterlund at mailbox dot swipnet dot se
- Subject: Re: virtual functions in local classes
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 26 Mar 2000 20:38:43 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <m2iu57gjrx.fsf@ppro.localdomain>
> 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