Use a SDK, should compile mode to objective-C + +
In the Compile Source As the changed objective-C + +, due to the introduction of a static library, this is the only way to it.
Now use another library AsyncSocket, AsyncSocket in objective-C can be, in objective-C + + under a lot of error, estimated to be not compatible with C + + mode.
In this case, I ask, how could two libraries coexist mixed it?
Reply:
Should be a more common problem now, experts have urged about it. Themselves go top
Reply:
Using C + + library code is saved as OC. Mm files.
If not enough, then try to modify the compiler options:
Apple LLVM compiler 4.1 - Language
C + + Standard Library -> libc + + (LLVM C + + standard with C + +11 support)
Reply:
Compilation mode changed According to File Type, the transfer of C + + files are changed. Mm suffix
No comments:
Post a Comment