How can I enable c++0x in a vs-android build
===

I am using vs-android (http://code.google.com/p/vs-android) to compile c++ projects for the android platform with the ndk.

It all works well except for when compiling code that uses features from the c++0x/c++11 standard such as std::function, nullptr... I'm assuming, or at least hoping, that I can fix that by adding the compiler option -std=c++0x.

I tried adding that in "Additional options" under "Command line" and some errors seemed to go away but not all of them. Including <memory> causes problems, types.h complains about uint64_t not existing and many other similar problems.

Does anyone know how to fix this? There is nothing wrong with the code as it compiles perfectly with msvc10 targeting a windows platform. I am using visual studio 2010.

Thanks