* Undefined Reference to MyClass virtual table
@ 2001-12-17 7:37 Devrim Erdem
0 siblings, 0 replies; only message in thread
From: Devrim Erdem @ 2001-12-17 7:37 UTC (permalink / raw)
To: gcc-help
Hi,
I wasn't able to figure out the problem in my huge application for the
following error. The linker says :
/usr/include/g++/std/bastring.h:73: undefined reference to
`MyNamespace::MyClass virtual table'
There is a virtual method which MyClass reimplements. If I comment out
this method, it compiles fine. I am confused because the linker points
to bastring.h which seems to be unrelated since <string> is not included
in the header file of MyClass. ( but string is used at some other files. )
Suse 7.1 with gcc-2.95.2-149
Any help is appreciated :)
--
Devrim Erdem
-------------------------------------
VIRES Simulationstechnologie GmbH
Oberaustrasse 34
83026 Rosenheim
Germany
phone +49.8031.463640
fax +49.8031.463645
email devrim@vires.com
internet www.vires.com
-------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-17 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-17 7:37 Undefined Reference to MyClass virtual table Devrim Erdem
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).