[mythtv] Can't compile tv.cpp

Eskil Heyn Olsen myth at eskil.org
Sat Sep 24 20:23:52 UTC 2005


On Sat, 2005-09-24 at 13:56 -0400, Daniel Kristjansson wrote:

> > /usr/include/qt3/qxml.h:224: warning: 'class QXmlReader' has virtual
> > functions but non-virtual destructor
> This is probably a new warning in gcc4 that qt3 wasn't written to
> account for. It is considered bad form to have virtual functions

Nah, g++ has had that for ages, my 3.3 has it, and 2.96 also has -
nobody wants to write code that doesn't let children implement a
destructor. 

You only see it if you enable -Wnon-virtual-dtor.

eskil
---



More information about the mythtv-dev mailing list