Bug in egcs-1.1.2

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Fri Apr 30 23:15:00 GMT 1999


> I found a bug in egcs-1.1.2. The following code reproduces it.

Thanks for your bug report. This is a known problem, egcs used to
allow instantiation of abstract classes in some cases. The current
development code (egcs-2.93.14) reports

a.cc:8: cannot allocate an object of type `A'
a.cc:8:   since the following virtual functions are abstract:
a.cc:3:         void A::print()

so the bug will be fixed in egcs 1.2.

Regards,
Martin



More information about the Gcc-bugs mailing list