id summary reporter owner description type status milestone component version severity resolution keywords cc 6846 Clang compilation error on Darwin 64-bit anonymous Eric Niebler "While compiling Boost with clang (verson 3.2-trunk) on Darwin in 64-bit mode, I get: {{{ ./boost/xpressive/traits/cpp_regex_traits.hpp:92:42: error: non-type template argument evaluates to 9223372036854775808, which cannot be narrowed to type 'long' [-Wc++11-narrowing] BOOST_MPL_ASSERT_RELATION(1, !=, Out); ^ ./boost/mpl/assert.hpp:300:68: note: expanded from macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^ ./boost/mpl/assert.hpp:270:19: note: expanded from macro '\ BOOST_MPL_ASSERT_RELATION_IMPL' , y \ ^ ./boost/mpl/assert.hpp:56:58: note: expanded from macro '\ BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^ ./boost/xpressive/traits/cpp_regex_traits.hpp:138:43: note: in instantiation of template class 'boost::xpressive::detail::unused_mask<9223372036855166720, 9223372036854775808, false>' requested here umaskex_t const non_std_ctype_blank = unused_mask::value; ^ ./boost/xpressive/traits/cpp_regex_traits.hpp:92:42: error: non-type template argument evaluates to 9223372036854775808, which cannot be narrowed to type 'long' [-Wc++11-narrowing] BOOST_MPL_ASSERT_RELATION(1, !=, Out); ^ ./boost/mpl/assert.hpp:300:68: note: expanded from macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^ ./boost/mpl/assert.hpp:270:19: note: expanded from macro '\ BOOST_MPL_ASSERT_RELATION_IMPL' , y \ ^ ./boost/mpl/assert.hpp:56:58: note: expanded from macro '\ BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^ }}} Please, fix." Bugs closed Boost 1.49.0 xpressive Boost 1.49.0 Problem fixed