Boost logo

Boost Users :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-04-06 00:54:15


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
<boost/mpl/aux_/na_assert.hpp> header should take care of the problem.



HTH,

-- 
Aleksey Gurtovoy
MetaCommunications Engineering


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net