这种错误是否暗示接口(interface)及其实现之间存在错误?
Undefined symbols for architecture i386:
"MyClass::ChangeManager::GetChanges(
MyClass::ObjectId,
MyClass::IChangeManager::Changes&,
bool)"
, referenced from:
vtable for MyClass::ChangeManager in libMobileUtils.a(ChangeManager.o)
最佳答案
没有。这只是意味着当实现发出 vtable 时,它选择将该函数放入其中。它只是一个普通的旧未定义函数。
关于c++ - vtable 中的 undefined symbol 是否意味着接口(interface)和实现之间存在错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27867888/