Subject: [Boost-bugs] [Boost C++ Libraries] #8504: BOOST_PHOENIX_LIMIT can only be set to a multiple of 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-26 20:21:08
#8504: BOOST_PHOENIX_LIMIT can only be set to a multiple of 10
---------------------------------------------------+------------------------
Reporter: Mathieu Champlon <m.champlon@â¦> | Owner: theller
Type: Bugs | Status: new
Milestone: To Be Determined | Component: phoenix
Version: Boost Development Trunk | Severity: Problem
Keywords: |
---------------------------------------------------+------------------------
Hi,
This ticket is a follow-up to #7165.
The following code fails to compile
{{{
#define BOOST_PHOENIX_LIMIT 9
#include <boost/phoenix.hpp>
}}}
It also fails for 11 or any number different from 10, 20, 30, etc... but
bear in mind that this error is largely hidden by #7165 : only after
applying it does it become visible for numbers greater than 10.
All in all it looks like the
BOOST_PHOENIX_PP_ROUND_UP(BOOST_PHOENIX_LIMIT) logic in
boost/phoenix/core/limits.hpp is partly flawed.
I'll try and investigate !
Thanks,
MAT.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8504> 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