Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7166: Phoenix unconditionally sets BOOST_PROTO_MAX_ARITY
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-26 19:57:04
#7166: Phoenix unconditionally sets BOOST_PROTO_MAX_ARITY
---------------------------------+------------------------------------------
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 Mathieu Champlon <m.champlon@â¦>):
I added a test case to verify that the following code fails to compile
{{{
#define BOOST_PROTO_MAX_ARITY 10
#define BOOST_PHOENIX_LIMIT 20
#include <boost/phoenix.hpp>
}}}
because in case BOOST_PROTO_MAX_ARITY has been previously defined (for
instance by including another boost library) there isn't much that can be
done but #error'ing to the user.
boost_phoenix_7166.patch includes both the test case and the fix already
included in the previous patch.
Cheers,
MAT.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7166#comment:1> 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:12 UTC