BASE::_vtbl (first referenced in ... error

ankitrai's Avatar, Join Date: Aug 2007
Newbie Member
I have defined some classes which are giving a linker error like the one in the subject. could anyone provide some info on the error, I have understood it has something to do with the virtual table but am not able to figure out what. what makes it more harder is that I have not used any virtual functions in the class..
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Too little information.
0
ankitrai's Avatar, Join Date: Aug 2007
Newbie Member
What i wanted to know was what can cause a error like <class name>::_vtbl (linking error).. I do believe it has something to do with the virtual table but as i had mentioned in my post that I have not used any virtual function, I was unable to understand why am I getting such an error... Although I have inherited from the class ostrstream. could that be the problem?
0
it career's Avatar, Join Date: Apr 2007
Go4Expert Member
Did you make base class destructor as pure virtual ? post the code here.
0
ankitrai's Avatar, Join Date: Aug 2007
Newbie Member
cant post the code.. confidentiality issue... the base class is ostrstream class and the derived class does not have a single virtual function..
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Perhaps you can construct a small, similar snippet that fails in the same manner. Failing that, you will need to go to the magician/mind reader forum.