[Boost-bugs] [Boost C++ Libraries] #7769: BOOST_MPL_LIMIT_METAFUNCTION_ARITY > 8 causes compilation error on gcc

Subject: [Boost-bugs] [Boost C++ Libraries] #7769: BOOST_MPL_LIMIT_METAFUNCTION_ARITY > 8 causes compilation error on gcc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-05 20:50:25


#7769: BOOST_MPL_LIMIT_METAFUNCTION_ARITY > 8 causes compilation error on gcc
---------------------------------------+------------------------------------
 Reporter: Adam Lach <salvage@…> | Owner: agurtovoy
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpl
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: arity, metafunction |
---------------------------------------+------------------------------------
 {{{
 #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
 #define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 9

 #include <boost/mpl/lambda.hpp>

 int main() {
     return 0;
 }

 }}}

 The above code fails to compile on g++ (4.6.3 and 4.7.2 checked). Visual
 Compiler(VS 2010) compiles this correctly even with
 BOOST_MPL_LIMIT_METAFUNCTION_ARITY == 100.

 See also [http://boost.2283326.n4.nabble.com/boost-mpl-bimap-BOOST-MPL-
 LIMIT-METAFUNCTION-ARITY-issue-on-g-4-6-3-and-
 boost-1-50-td4639407.html#a4639506]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7769>
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:11 UTC