Ubuntu下Code::Blocks错误

  • #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.#endif
解决方法:工程上右键,选择build options,在compiler settings里面,有列表,选择c++0x支持。