[Bug c++/11157] Annoying warning message

Neil Booth neil@daikokuya.co.uk
Wed Jun 11 21:45:00 GMT 2003


emild@collectivestudios.com wrote:-

> Except that the non-virtual destructor is protected in this case, therefore
> you can't destroy the object through a base pointer anyway.

Sure you can.  Anything with protected access can.

Neil.



More information about the Gcc-bugs mailing list