This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15214] Warning non-virtual-dtor too strict


------- Additional Comments From bangerth at dealii dot org  2004-05-11 18:53 -------
I don't quite understand the usefulness of the construct you want the  
compiler to accept: if the destructor can't be called from a derived  
class, then you can derive from this class. Why would you want to have  
virtual functions then?  
  
W.  

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]