------- Comment #14 from pluto at agmk dot net 2007-02-22 00:13 ------- (In reply to comment #12) > Already posted as <http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00885.html>, > with no response.
this patch doesn't cover one situation: struct D; struct C { virtual void f() = 0; protected: // or private friend class D; ~C(); }; in such case compiler should generate warning, because class D can delete derived object through the pointer to class C. -- pluto at agmk dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]