I have recently built newest GCC - 5.1.0 - on CentOS 7. Now, I am trying to
build CMake with it. Unfortunately, it stops on "./configure" step with
following message:
In file included from /root/cmake-3.2.2/Source/kwsys/SystemTools.cxx:36:0:
/root/cmake-3.2.2/Bootstrap.cmk/cmsys/ios/sstream: In member function ‘void
cmsys_ios::istringstream::clear(int)’:
/root/cmake-3.2.2/Bootstrap.cmk/cmsys/ios/sstream:176:34: error: invalid
conversion from ‘int’ to ‘std::ios_base::iostate {aka std::_Ios_Iostate}’
[-fpermissive]
this->IStrStream::clear(flags);
^
Am I doing something wrong, or CMake is not yet adjusted to latest GCC?
--
Best Regards
Mariusz Plucinski
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake