When compiling wxWidgets I get a warning:
../wxWindows/include/wx/stattext.h:24: warning: inline function 'virtual
wxStaticTextBase::~wxStaticTextBase()' used but never defined
The code is:
class WXDLLEXPORT wxStaticTextBase : public wxControl
{
public:
wxStaticTextBase() { }
// overriden base virtuals
virtual bool AcceptsFocus() const { return false; }
virtual bool HasTransparentBackground() { return true; }
private:
DECLARE_NO_COPY_CLASS(wxStaticTextBase)
};
I asked wxWidgets developer and he said "The others could be less clear but this
one is clearly bogus: compiler complains about dtor which it should generate
itself. Please report this as a gcc bug".
I am using gcc 4 from Fedora devel.
--
Summary: inline function used but never defined
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nerijus at users dot sourceforge dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: gcc (GCC) 4.0.0 20050314 (Red Hat 4.0.0-0.34)
GCC host triplet: gcc (GCC) 4.0.0 20050314 (Red Hat 4.0.0-0.34)
GCC target triplet: gcc (GCC) 4.0.0 20050314 (Red Hat 4.0.0-0.34)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20584