[CMake] CMake itself - build fails with GCC 5.1

Mariusz Pluciński plucinski.mariusz at gmail.com
Wed Apr 29 06:41:48 EDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150429/89a04c6b/attachment.html>


More information about the CMake mailing list