Summary: | Assert virtual destructor stubs for media-libs/smpeg-0.4.4-r8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | hiyuh <hiyuh.root> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | ciaran.mccreesh, ryan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | a patch to assert virtual destructor. |
Description
hiyuh
2006-06-29 04:33:33 UTC
Created attachment 90415 [details, diff]
a patch to assert virtual destructor.
i'd have to ask someone who actually likes coding in C++ It's not unsafe. The destructors probably should be virtual there to avoid resource leaks, although it's possible that the code doesn't use pointers to the base class and thus has no need for them. Fix typo (In reply to comment #3) > It's not unsafe. The destructors probably should be virtual there to avoid > resource leaks, although it's possible that the code doesn't use pointers to > the base class and thus has no need for them. Thank ciaranm for reveiwing my stupid patch. I thought it silence warning like, "'class XXX' has virtual functions but non-virtual destructor", though. gcc (probably 4 or later?) so buzz its headers, but it's not treated error ATM. hey ryan, feel like merging this in the upstream repo ? Any chance of getting this patch into the upstream repo? Or should I just close this out as WONTFIX? (In reply to comment #7) > Any chance of getting this patch into the upstream repo? Or should I just > close this out as WONTFIX? for me, feel free to mark as WONTFIX. |