
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