This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-1.1.1 C++ undefined reference to virtual table


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]