This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1.1 C++ undefined reference to virtual table
- To: Timothy Ritchey <tritchey at vne dot com>
- Subject: Re: egcs-1.1.1 C++ undefined reference to virtual table
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 07 Dec 1998 05:20:51 -0200
- Cc: egcs at cygnus dot com
- References: <366B55CE.C7A047A7@vne.com>
On Dec 7, 1998, Timothy Ritchey <tritchey@vne.com> wrote:
> gaussian.o: In function `kitchenaid::gaussian::~gaussian(void)':
> gaussian.o(.text+0x415): undefined reference to `kitchenaid::gaussian
> virtual table'
This usually means that some non-inline non-abstract member function
was declared within a class but never defined. Search for the
explanation of `-fvtable-thunks' in the gcc manual for details. Yes,
I agree that explanation is misplaced, because it doesn't refer to
vtable-thunks only. Patches are welcome ;-)
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil