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:
> 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
> 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 Caisse
Object Modeling Designs

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at