BASE::_vtbl (first referenced in ... error
|
Newbie Member
|
|
| 3Aug2007,21:08 | #1 |
|
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..
|
|
Team Leader
|
![]() |
| 3Aug2007,21:49 | #2 |
|
Too little information.
|
|
Newbie Member
|
|
| 6Aug2007,08:38 | #3 |
|
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?
|
|
Go4Expert Member
|
|
| 6Aug2007,19:05 | #4 |
|
Did you make base class destructor as pure virtual ? post the code here.
|
|
Newbie Member
|
|
| 6Aug2007,20:21 | #5 |
|
cant post the code.. confidentiality issue... the base class is ostrstream class and the derived class does not have a single virtual function..
|
|
Team Leader
|
![]() |
| 6Aug2007,21:08 | #6 |
|
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.
|

