The first thing to change on the project settings is under C/C++ code generation, enable C++ exceptions: set this to “no”.
Then, on the project settings, C/C++ preprocessor, to each configuration and platform individually, add the following preprocessor definition:
_HAS_EXCEPTIONS=0This way you’ll be able to use the STL without the C++ exception handling mechanism.