【发布时间】:2015-05-15 21:07:08
【问题描述】:
我想在 DEv C++ 5.9 中包含数组,但它给出了错误:
32 2 c:\program files (x86)\dev-cpp\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.1\include\c++\bits\c++0x_warning.h [Error] #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
这是因为我使用的DEV-C++版本还是我的电脑IOS?我使用了其他版本的 DEV C++,但由于我的计算机上有 Windows 8,因此它们无法正常工作,我需要使用此版本的 DEV C++。任何帮助表示赞赏。
谢谢
【问题讨论】:
-
好吧,如错误所示,您必须使用编译器标志启用对 C++11 的支持。你试过了吗?