|
Boost Users : |
Subject: Re: [Boost-users] [phoenix][spirit] Is is possible to use phoenix v3 and spirit in parallel?
From: alfC (alfredo.correa_at_[hidden])
Date: 2011-04-15 19:13:12
On Apr 4, 4:39 pm, Michael Caisse <bo..._at_[hidden]>
wrote:
> Taking a look at the testing Jamfile it looks like the following will do it:
>
> : <define>BOOST_SPIRIT_USE_PHOENIX_V3=1
> <define>BOOST_PROTO_MAX_ARITY=11
> <define>BOOST_PROTO_MAX_LOGICAL_ARITY=11
> <define>BOOST_MPL_LIMIT_METAFUNCTION_ARITY=12
>
that helped in some cases,
in other cases I had to add something like
#define BOOST_PHOENIX_COMPOSITE_LIMIT 9
to avoid
boost/phoenix/core/limits.hpp:118:5: error: #error
"BOOST_RESULT_OF_NUM_ARGS < BOOST_PHOENIX_COMPOSITE_LIMIT + 1"
but I still have problems, for example:
In file included from /usr/include/boost/mpl/arithmetic.hpp:23,
from /usr/include/boost/units/static_rational.hpp:16,
from /usr/include/boost/units/
heterogeneous_system.hpp:34,
from /usr/include/boost/units/detail/
conversion_impl.hpp:20,
from /usr/include/boost/units/conversion.hpp:17,
from /usr/include/boost/units/quantity.hpp:29,
from /usr/include/boost/units/systems/si.hpp:19,
from ./document.cpp:15:
/usr/include/boost/mpl/multiplies.hpp:38: error: wrong number of
template arguments (12, should be 5)
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