compiler linker flags
Alexandre Oliva
aoliva@redhat.com
Thu Oct 26 19:29:00 GMT 2000
On Oct 26, 2000, Robert Schweikert <rjschwei@mindspring.com> wrote:
> Further investigation yielded that the problem is with the virtual table
> emission from the compiler. The virtual table symbols are undefined in
> the object code, which naturally makes impossible for the linker to do
> its job.
This is typically a symptom of not defining some other member function
of the same class. GCC will emit the vtable of a class in the
translation unit in which the first non-inline virtual member function
is defined. The C++ standard requires all such member functions to be
defined.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list