首页 > 编程语言 > 详细

C++中使用array报错 requires compiler and library surpport for the ISO c++ 2011 standard

时间:2015-09-24 21:04:42      阅读:422      评论:0      收藏:0      [点我收藏+]

#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.

 

意思很明显就是编译器要支持2011标准才可以,从编译器那里加上-std=c++11 or -std=gnu++11就可以了

stackoverflow上链接http://stackoverflow.com/questions/13836898/regex-in-c-requires-compiler-support-error

 

C++中使用array报错 requires compiler and library surpport for the ISO c++ 2011 standard

原文:http://www.cnblogs.com/wswang/p/4836265.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!