Objective-C++ compiles for iPhone, but not simulator
- by John Smith
I have a C++ library I want to add to my iphone project.
In one header file I declare
@class a
{
cppvirtualclass V;
}
This compiles fine for the iPhone device with Release settings. However it refuses to compile for the Simulator with or without debug info.
It give the error
error: type 'V' has virtual member functions.
Is there a way…