id summary reporter owner description type status milestone component version severity resolution keywords cc 7166 Phoenix unconditionally sets BOOST_PROTO_MAX_ARITY m.champlon@… Thomas Heller "Hi, The following : {{{ #define BOOST_PROTO_MAX_ARITY 20 #include }}} exhibits the following warning with msvc 2010 and boost 1.50 : {{{ 1>C:\dev\include\boost/phoenix/core/limits.hpp(19): warning C4005: 'BOOST_PROTO_MAX_ARITY' : macro redefinition }}} This is rather inconvenient for the user of several libraries. I suggest to modify limits.hpp to change : {{{ #if defined(BOOST_PHOENIX_LIMIT) #define BOOST_PROTO_MAX_ARITY BOOST_PHOENIX_LIMIT }}} to : {{{ #if defined(BOOST_PHOENIX_LIMIT) # if !defined( BOOST_PROTO_MAX_ARITY ) # define BOOST_PROTO_MAX_ARITY BOOST_PHOENIX_LIMIT # elif (BOOST_PROTO_MAX_ARITY < BOOST_PHOENIX_LIMIT) # error ""BOOST_PROTO_MAX_ARITY is set too low"" # endif }}} or see the attached patch. Thanks, MAT." Bugs closed To Be Determined phoenix Boost 1.50.0 Problem fixed