Index: boost/spirit/home/karma/numeric/uint.hpp =================================================================== --- boost/spirit/home/karma/numeric/uint.hpp (revision 62477) +++ boost/spirit/home/karma/numeric/uint.hpp (working copy) @@ -12,6 +12,8 @@ #include #include +#include +#include #include #include @@ -236,7 +238,8 @@ Radix == 2 || Radix == 8 || Radix == 10 || Radix == 16, not_supported_radix, ()); - BOOST_SPIRIT_ASSERT_MSG(!std::numeric_limits::is_signed, + BOOST_SPIRIT_ASSERT_MSG( + mpl::not_< mpl::bool_< std::numeric_limits::is_signed > >::value, signed_unsigned_mismatch, ()); // int has a Attribute attached @@ -299,7 +302,8 @@ Radix == 2 || Radix == 8 || Radix == 10 || Radix == 16, not_supported_radix, ()); - BOOST_SPIRIT_ASSERT_MSG(!std::numeric_limits::is_signed, + BOOST_SPIRIT_ASSERT_MSG( + mpl::not_< mpl::bool_< std::numeric_limits::is_signed > >::value, signed_unsigned_mismatch, ()); // A uint(1U) which additionally has an associated attribute emits