
On 4/4/2011 4:31 PM, Michael Caisse wrote:
On 4/4/2011 3:41 PM, alfC wrote:
Hi, I have a program that uses Phoenix and Spirit. Spirit uses indirectly Phoenix2. With some effort I modified the part that use Phoenix to phoenix3 but now when I want to put all together it complains.
The question is how can I use Phoenix3 and Spirit in the same code (in parallel).
thank you, Alfredo
The trunk version of Spirit allows Phoenix V3. There are some #define's to enable the functionality ... which I don't recall off the top of my head.
michael
Alfredo - 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 michael -- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com