Unfortunately I'm stuck with the build. I get the following error (Arch Linux, updated today):
[ 10%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/uint128.cpp.o
In file included from /usr/include/boost/config.hpp:61:0,
from /usr/include/boost/container/flat_map.hpp:14,
from /home/sevcsik/dl/steem/libraries/fc/include/fc/container/flat_fwd.hpp:2,
from /home/sevcsik/dl/steem/libraries/fc/include/fc/reflect/typename.hpp:10,
from /home/sevcsik/dl/steem/libraries/fc/include/fc/reflect/reflect.hpp:18,
from /home/sevcsik/dl/steem/libraries/fc/include/fc/time.hpp:138,
from /home/sevcsik/dl/steem/libraries/fc/include/fc/log/logger.hpp:3,
from /home/sevcsik/dl/steem/libraries/fc/include/fc/exception/exception.hpp:6,
from /home/sevcsik/dl/steem/libraries/fc/include/fc/uint128.hpp:6,
from /home/sevcsik/dl/steem/libraries/fc/src/uint128.cpp:1:
/usr/include/boost/multiprecision/cpp_int.hpp:193:4: error: right operand of shift expression ‘(1u << 63u)’ is >= than the precision of the left operand [-fpermissive]
BOOST_STATIC_CONSTANT(limb_type, sign_bit_mask = 1u << (limb_bits - 1));
^
My boost version is 1.60.0-5
. Cheers
Adding
-fpermissive
toCXX_FLAGS
inflags.cmake
files seems to be a workaround. Command:sed -ie 's/CXX_FLAGS = /CXX_FLAGS =-fpermissive /' **/flags.make
@edit: I had a problem allocating the make files..
**/flags.make
was not working.. Did it this way:find -iname flags.make >> tmp cat ./tmp | while read line; do sed -ie 's/CXX_FLAGS = /CXX_FLAGS =-fpermissive /' $line;done Thank you for the "solution" :D