Chris Halls <[EMAIL PROTECTED]> writes:

> > If so, the virtual table for that class should not be emitted in
> > test.o, and it appears that g++ 3.1 behaves correctly in this respect.
> 
> I take it that the 'typeinfo' should also not be emitted, as well as the
> virtual table?

Correct.

> g++ 3.1 is actually emitting this typeinfo, along with 3.0 and 2.95 - it is
> the preliminary g++ 3.2 that is no longer emitting this information.  This
> is going to break OpenOffice and any other programs that rely on this
> behaviour.

Those programs are broken already. In C++, you must implement all
virtual functions.

> So, should this change be considered to be a bug fix in g++ 3.2, and
> anything which breaks because of it should be fixed, or is it a
> problem with g++ 3.2?

It's clearly a bug fix.

Regards,
Martin


Reply via email to