Boost logo

Boost Users :

Subject: Re: [Boost-users] [phoenix][spirit] Is is possible to use phoenix v3 and spirit in parallel?
From: Michael Caisse (boost_at_[hidden])
Date: 2011-04-04 19:31:02


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 obivous warnings are:
> usr/include/boost/phoenix/version.hpp:16:1: warning:
> "BOOST_PHOENIX_VERSION" redefined
> usr/include/boost/phoenix/core/limits.hpp:23:1: warning:
> "PHOENIX_LIMIT" redefined
>
> and the most serious is:
> usr/include/boost/phoenix/core/limits.hpp:112:5: error: #error
> "BOOST_PROTO_MAX_LOGICAL_ARITY< BOOST_PHOENIX_COMPOSITE_LIMIT"
>
> 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

-- 
----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com

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