C++ STL library in XCode - memset not defined in this scope
- by Sharath
I am trying to create a STL based C++ library in XCode with a bunch of C++ files that I have. Basically my end output should be a shared library (dylib) that can be consumed by a Objective-C application.
When trying to compile, I get the following error..
'memset' was not declared in scope.
Since my codebase uses a lot of external 3rd party codebases, I thought i'll include or to resolve this, but I tried both and even that didn't work.
Does it have something to do with the SDK? Am currently running 10.5 with GCC 4.2
Need help with setting up the Target properly.
Any help is appreciated.
Thanks.