This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20584] inline function used but never defined
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2005 02:48:15 -0000
- Subject: [Bug c++/20584] inline function used but never defined
- References: <20050322024139.20584.nerijus@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-22 02:48 -------
gcc (GCC) 4.0.0 20050314 (Red Hat 4.0.0-0.34)
I don't think this is bogus, given the following code (since you did not give the preprocessed source I
have to guess):
struct wxStaticTextBase
{
wxStaticTextBase(){}
virtual bool AcceptsFocus() const{return false;}
inline virtual ~wxStaticTextBase();
};
See how ~wxStaticTextBase is declared as inline but not defined anywhere, so we get an error.
--
What |Removed |Added
----------------------------------------------------------------------------
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 |i686-pc-linux-gnu
|(Red Hat 4.0.0-0.34) |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20584