Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7165: cannot change BOOST_PHOENIX_LIMIT
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-30 09:21:21
#7165: cannot change BOOST_PHOENIX_LIMIT
---------------------------------+------------------------------------------
Reporter: m.champlon@⦠| Owner: theller
Type: Bugs | Status: new
Milestone: To Be Determined | Component: phoenix
Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by m.champlon@â¦):
A bit of follow-up,
The following code fails :
{{{
#define BOOST_PHOENIX_LIMIT 20
#define BOOST_PROTO_MAX_LOGICAL_ARITY BOOST_PHOENIX_LIMIT
#include <boost/phoenix/core/argument.hpp>
void f()
{
boost::phoenix::arg_names::arg11;
}
}}}
with :
{{{
error C2039: 'arg11' : is not a member of 'boost::phoenix::arg_names'
}}}
Adding this to the top :
{{{
#define BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES
}}}
yields :
{{{
...phoenix/core/environment.hpp(412): warning C4005: 'BOOST_PHOENIX_M0' :
macro redefinition
...phoenix/support/detail/iterate_define.hpp(108) : see previous
definition of 'BOOST_PHOENIX_M0'
}}}
I hope this helps, tell me if there is anything I can do to help fix all
this.
Thanks ! [[br]]
MAT.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7165#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC