
5 Dec
2012
5 Dec
'12
11:09 a.m.
Hi Adam, If you check the include chain you will notice that Bimap is including boost/mpl/lambda.hpp through the lib dependencies. Your example can be reduced to this: #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS #define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 9 #include <boost/mpl/lambda.hpp> int main() { return 0; } That fails for me with GCC 4.7.2 and Boost 1.52. It seems that you are hitting the compiler limits. It works if you use 8 as the limit. You can open a ticket in Trac for MPL devs to look into the issue. Best regards Matias