Re: [Boost-users] [msm] [mpl] wrong number of template arguments (21, should be 20)
Hi,
I added a new transition to my statemachine that is built around boost::msm and I got this error when compiling.
error: wrong number of template arguments (21, should be 20)
/boost/mpl/aux_/sequence_wrapper.hpp:154: error: provided for 'template
Hi,
I added a new transition to my statemachine that is built around boost::msm and I got this error when compiling.
error: wrong number of template arguments (21, should be 20) /boost/mpl/aux_/sequence_wrapper.hpp:154: error: provided for 'template
T10, class T11, class T12, class T13, class T14, class T15, class T16, class T17, class T18, class T19> struct boost::mpl::vector'
I went to add in the beginning of the header file before any boost includes:
#define BOOST_MPL_LIMIT_LIST_SIZE 30
Hi, see http://svn.boost.org/svn/boost/trunk/libs/msm/doc/HTML/ch05.html #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS #define BOOST_MPL_LIMIT_VECTOR_SIZE 30 // or whatever you need #define BOOST_MPL_LIMIT_MAP_SIZE 30 // or whatever you need And of course you need to include vector30.hpp HTH, Christophe
Ah Christophe, great and accurate help as always,
It worked thank you!
On Jan 16, 2014, at 3:40 PM, "Christophe Henry"
And of course you need to include vector30.hpp I meant:
#include "boost/mpl/vector/vector30.hpp" _______________________________________________ Boost-users mailing list Boost-users@lists.boost.orgmailto:Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Christophe Henry
-
Kamel Zaarouri, Mr