--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-09 16:49 ---
I don't think this is a bug. We are inlining CVectorWrap::~CVectorWrap into
main which causes the reference to TTypeWrapper::~TTypeWrapper and
TTypeWrapper::~TTypeWrapper is not used in instance.cc at all so it is
--- Comment #3 from _talyn_ at web dot de 2006-03-09 18:06 ---
Allocating the CVectorWrap variable dynamically removes the undefined reference
to TTypeWrapper::~TTypeWrapper. I guess that's because it is virtual, and a
dynamic instance of CVectorWrap will call CVectorWrap::~CVectorWrap