Open adrianhust opened 8 years ago
/usr/bin/make64 MAC=64 [ 8%] Building CXX object src/base/CMakeFiles/base.dir/utils.cpp.o cc1plus: error: unrecognized command line option "-std=c++11" cc1plus: error: unrecognized command line option "-std=c++11" make64[2]: * [src/base/CMakeFiles/base.dir/utils.cpp.o] Error 1 make64[1]: * [src/base/CMakeFiles/base.dir/all] Error 2 make64: *\ [all] Error 2
some c++11 feature used in code, so old version g++ will throw errors like this, we should upgrade gcc I shoot it by http://ask.xmodulo.com/upgrade-gcc-centos.html it works! May help others
/usr/bin/make64 MAC=64 [ 8%] Building CXX object src/base/CMakeFiles/base.dir/utils.cpp.o cc1plus: error: unrecognized command line option "-std=c++11" cc1plus: error: unrecognized command line option "-std=c++11" make64[2]: * [src/base/CMakeFiles/base.dir/utils.cpp.o] Error 1 make64[1]: * [src/base/CMakeFiles/base.dir/all] Error 2 make64: *\ [all] Error 2
some c++11 feature used in code, so old version g++ will throw errors like this, we should upgrade gcc I shoot it by http://ask.xmodulo.com/upgrade-gcc-centos.html it works! May help others