跪求C/C++-Eclipse的一个编译问题
eclipse吧
全部回复
仅看楼主
level 1
VictorLee0321 楼主
14:35:11 **** Incremental Build of configuration Debug for project star ****
Info: Internal Builder is used for build
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o Star.o "..\\Star.cpp"
In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\array:35:0,
from ..\Star.cpp:9:
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\c++0x_warning.h:32:2: 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.
#error This file requires compiler and library support for the \
^
14:35:11 Build Finished (took 328ms)
请问这些是什么意思,我在网止查找了很我,都试过了,还是不行,编译时总是这样提示,求教
2014年09月13日 06点09分 1
level 5
#error This file requires compiler and library support for the ISO C++ 2011 standard
这里说的很明确,你编译的需要C++11的支持,所以在改的时候需要加上-std=c++11
2014年09月18日 01点09分 2
1