我想在 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.
Run Code Online (Sandbox Code Playgroud)
这是因为我使用的 DEV-C++ 版本还是我的电脑 IOS?我使用了其他版本的 DEV C++,但由于我的计算机上装有 Windows 8,因此它们无法解决此问题,因此我需要使用此版本的 DEV C++。任何帮助表示赞赏。
谢谢
小智 6
错误消息会准确地告诉您如何修复错误。
#error 此文件需要对 ISO C++ 2011 标准的编译器和库支持。此支持目前处于实验阶段,必须使用 -std=c++11 或 -std=gnu++11 编译器选项启用
阅读您的 IDE 文档以了解如何执行此操作或参考此图像。
http://www.cplusplus.com/doc/tutorial/introduction/devcpp/devcpp2.png
| 归档时间: |
|
| 查看次数: |
3607 次 |
| 最近记录: |