[Bug c++/11157] Annoying warning message

neil@daikokuya.co.uk gcc-bugzilla@gcc.gnu.org
Wed Jun 11 21:45:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11157



------- Additional Comments From neil@daikokuya.co.uk  2003-06-11 21:45 -------
Subject: Re:  Annoying warning message

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