C++中使用array报错 requires compiler and library surpport for the ISO c++ 2011 standard
2016-01-08 12:23
851 查看
#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
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++中getline被跳过
- c++11move语意的便捷理解
- 指向函数的指针数组
- C++11中的右值引用及move语义编程
- #if defined和#if !defined(c语言的宏定义)
- C++开发人脸性别识别——通过SVM实现性别识别
- 【转】C++成员变量的初始化顺序问题
- C++入门(10):高级OOP技术:静态方法和属性
- 实例15_C语言绘制万年历
- 求输入字符串的位置*该字符的值的和,空格不计入---C++
- C++ 11中的Lambda表达式
- C++中的mutable关键字
- C++运算符结合性与自增/减运算符
- C语言学习之关键字第八讲
- c++实现快排出现错误
- 2叉树遍历的递归实现-使用c++模板
- C++处理一个动态规划的问题
- C++11 concurrent progamming (1) join/detach
- C++中覆盖、隐藏、重载
- c++,或者cococ2dx怎么利用jsonbox写入数据到json文件