[Bug c++/22395] -Weffc++ shouldn't warn about non-virtual dtor of private subclasses

mutz at kde dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 10 19:34:00 GMT 2005


------- Additional Comments From mutz at kde dot org  2005-07-10 19:16 -------
Related it may be, but different it is. bug 16168 is about subclasses that 
don't have virtual methods, but even in the case of the private inheritance 
from a base class having virtual methods, the warning should not be triggered. 
 

-- 


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



More information about the Gcc-bugs mailing list