id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12181,Compile cpp_int fails in gcc6.1,Mario Lezcano ,John Maddock,"[[Image()]]Using boost 1.60.0-4 and gcc 6.1.1.20160501, the following code {{{#!c++ // gcc6.cpp #include int main(){ } }}} fails to compile with error {{{#!c++ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/cstdint.hpp:36, from /usr/include/boost/multiprecision/cpp_int.hpp:11, from gcc6.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)); ^ /usr/include/boost/multiprecision/cpp_int.hpp:416: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)); ^ /usr/include/boost/multiprecision/cpp_int.hpp:568: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)); }}} when compiled with {{{ g++ gcc6.cpp }}} ",Bugs,closed,To Be Determined,multiprecision,Boost 1.60.0,Problem,fixed,,