I'm trying to use std::vector in a iOS6.0 application developped in Xcode 4.5 compiled with LLVM GCC 4.2 and I renamed with the .mm extension the files I'm using C++ in. But for some reason, the headers associated with those .mm don't get compiled I've got the following error :
Vector: No such file or directory
I've tried import, include. It works if I only include it in the .mm though.
Any idea what I'm doing wrong ?
Thank you
Webaba
RESOLVED : carefully check for other .m files potentially including this header. (not only the one implementing the class) I missed one.