public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20584] New: inline function used but never defined
@ 2005-03-22  2:41 nerijus at users dot sourceforge dot net
  2005-03-22  2:48 ` [Bug c++/20584] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: nerijus at users dot sourceforge dot net @ 2005-03-22  2:41 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-04-29 12:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-22  2:41 [Bug c++/20584] New: inline function used but never defined nerijus at users dot sourceforge dot net
2005-03-22  2:48 ` [Bug c++/20584] " pinskia at gcc dot gnu dot org
2005-03-22  2:49 ` pinskia at gcc dot gnu dot org
2005-03-22  2:55 ` pinskia at gcc dot gnu dot org
2005-03-22  3:04 ` nerijus at users dot sourceforge dot net
2005-03-22  3:09 ` pinskia at gcc dot gnu dot org
2005-03-22  3:09 ` pinskia at gcc dot gnu dot org
2005-03-22  3:10 ` [Bug c++/20584] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-03-22  3:12 ` pinskia at gcc dot gnu dot org
2005-03-30 11:59 ` nerijus at users dot sourceforge dot net
2005-04-05  1:44 ` pinskia at gcc dot gnu dot org
2005-04-05 16:30 ` pinskia at gcc dot gnu dot org
2005-04-21  5:06 ` mmitchel at gcc dot gnu dot org
2005-04-29 12:22 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).