Studying the header file android-ndk-linux_x86 / sources / cxx-stl / gnu-libstdC ++ / include / memory, I believe that this header contains other STL header files according to
__GXX_EXPERIMENTAL_CXX0X__
flag. I think this flag refers to the "C ++ 0X" standard, and this standard may still be experimental in Android-ndk r7. However, I want to include this C ++ standard in my project. (I'm not sure if this C ++ 0X standard was enabled by default)
I want to know how to tell Android-ndk to set this flag when I compile .cpp files in the "project / jni" directory of an Android project. Or how can I include the experimental C ++ 0X standard in my application.
Whether the flag should be specified using, for example, LOCAL_CPPFLAGS and / or APP_CPPFLAGS, in the file "Android.mk" / "Application.mk". (I use "APP_STL: = gnustl_static" in my "Application.mk")
Thanks for any suggestion.
Lawrence Tsang
source share