iPhone static library Clang/LLVM error: non_lazy_symbol_pointers
- by Bekenn
After several hours of experimentation, I've managed to reduce the problem to the following example (C++):
extern "C" void foo();
struct test
{
~test() { }
};
void doTest()
{
test t; // 1
foo(); // 2
}
This is being compiled for iOS devices in XCode 4.2, using the provided Clang compiler (Apple LLVM compiler 3.0) and the iOS 5.0…