我得到一个编译器错误与LLVM 4.1:如何忽略外的线定义的错误在Xcode与LLVM 4.1
/Users/vibhor/src/mam/client_daemon/source/core/_osx/UtilSystem_OSX.cpp:261:32: Out-of-line definition of 'what' does not match any declaration in 'std::bad_typeid'
以下代码:
const char* ::std::bad_typeid::what() const throw() { return NULL; }
是否有怎样压制这个?它与GCC编译良好。
没有给出更多的上下文,它有点难。 'bad_typeid'的定义是什么?也许这只是一个不匹配... –