linking c++ sources in iPhone project
- by Steve918
I have a single cpp file added to my iPhone project with a .cpp extension, but I'm seeing errors when linking like:
operator new[](unsigned long)", referenced from:
___gxx_personality_sj0", referenced from:
I thought as long as I named the cpp files with .cpp or .mm it would do the right thing, do I need to add some linker flags?
Update:
Complete Build log: http://dpaste.org/tXAy/
The C++ code:
unzip.h
unzip.cpp