On 2018-08-20 09:58, Kevin Funk wrote:
> IMO, it would also be nice to get a compiler warning/error if a 
> base class' destructor is changed from virtual to non-virtual which may cause 
> subtle behavioral changes such as memory leaks.

You mean something like -Wnon-virtual-dtor?

Granted, it's not *exactly* what I think you're asking for, but how
often do you have a base class with a virtual dtor and *no* other
virtual members?

-- 
Matthew
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to