与ndk r12b的std :: mutex错误

时间:2016-09-13 09:53:37

标签: android c++ qt c++11 android-ndk

在android-gcc和ndk r12b上使用C ++ std :: mutex会出现以下错误

/android-ndk-r12b/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/c++14_warning.h:32: error: #error This file requires compiler and library support for the forthcoming ISO C++ 2014 standard. This support is currently experimental, and must be enabled with the -std=c++1y or -std=gnu++1y compiler options. #error This file requires compiler and library support for the forthcoming \ ^

如何解决此错误? 我在Android设备的Qt应用程序中编写此代码。我可以在我的.pro文件上使用任何标志来解决这个问题吗?

0 个答案:

没有答案