error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x.

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wangyachao0803/article/details/82623746

QT写程序时遇到如下问题:  

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.5/include/c++/c++0x_warning.h:36: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.

解决办法:

在pro文件中添加:    QMAKE_CXXFLAGS+=-std=c++0x

猜你喜欢

转载自blog.csdn.net/wangyachao0803/article/details/82623746