mpl, for_each, KCC incompatibility
Hi all... I have a file that includes 'boost/mpl/for_each.hpp'. When compiled with KCC 4.0 on an x86 machine running Redhat Linux (8, I think), I get the following compile error: "boost_1_32_0/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", line 27: error: more than one instance of overloaded function "boost::mpl::assert_not_arg" matches the argument list: function template "mpl_::assert_not_arg(void (*)(Pred), mpl_::assert_arg_pred<Pred>::type)" function template "mpl_::assert_not_arg(void (*)(Pred), mpl_::assert_arg_pred_not<Pred>::type)" argument types are: (void (*)(boost::mpl::is_na<U1>), int) BOOST_MPL_AUX_ASSERT_NOT_NA(type); Any ideas? Troubleshooting this one is a bit beyond my abilities... Thanks, --Steve (sgross@darwin.cwru.edu)
Stephen Gross writes:
Hi all... I have a file that includes 'boost/mpl/for_each.hpp'. When compiled with KCC 4.0 on an x86 machine running Redhat Linux (8, I think), I get the following compile error:
"boost_1_32_0/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", line 27: error: more than one instance of overloaded function "boost::mpl::assert_not_arg" matches the argument list: function template "mpl_::assert_not_arg(void (*)(Pred), mpl_::assert_arg_pred<Pred>::type)" function template "mpl_::assert_not_arg(void (*)(Pred), mpl_::assert_arg_pred_not<Pred>::type)" argument types are: (void (*)(boost::mpl::is_na<U1>), int) BOOST_MPL_AUX_ASSERT_NOT_NA(type);
Any ideas? Troubleshooting this one is a bit beyond my abilities...
Applying the attached patch to your local copy of
participants (2)
-
Aleksey Gurtovoy
-
Stephen Gross