[mythtv-commits] Ticket #1992: Warning fixes
MythTV
mythtv at cvs.mythtv.org
Mon Jun 26 18:01:35 UTC 2006
#1992: Warning fixes
-------------------------------+--------------------------------------------
Reporter: mythtv at remars.com | Owner: danielk
Type: patch | Status: new
Priority: trivial | Milestone: 0.20
Component: mythtv | Version: head
Severity: low | Resolution:
-------------------------------+--------------------------------------------
Comment (by mythtv at remars.com):
The second patch works for me, but disabling such warnings is dangerous !
I don't think the gcc guys added this warning just for the fun. It may be
ok to ignore them in this case (pure interface), but in other places we
should expect destructors to not be called... and we won't have warnings
to remind us any more.
Adding the virtual destructors just forces subclasses to have virtual
destructors, gcc is happy, and we can still be warned when necessary.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1992>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list