用cmake的时候出现这句话,要怎么弄?
/usr/bin/c++ doesn't support -std=c++11 or -std=c++0x, you need one that
does.
http://stackoverflow.com/questions/10984442/how-to-detect-c11-support-of-a-compiler-with-cmake/20165220#20165220
请问楼主解决问题了吗,我也遇到了。更新gcc到5.30版本还是不行,
C++ 版本是什么,不一定支持这两个选项。
c++11,c++0x
The 2011 ISO C++ standard plus amendments. Support for C++11 is still experimental, and may change in incompatible ways in future releases. The name c++0x is deprecated.