boost msm with more than 10 states causes long compilation error
Hi,
I get a long compilation error when i include the last line, it compiles
fine without the last line.
i tried including
#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
but still have the same problem, compilation error is at the bottom.
any help?
struct transition_table: boost::mpl::vector<
Row , Row , Row {
};
compilation error (truncated)
g++ -I/boost_1_55_0/ -c -Wall test.cpp
In file included from test.cpp:1:
In file included from ./Order.H:11:
In file included from /boost_1_55_0/boost/msm/back/state_machine.hpp:28:
In file included from /boost_1_55_0/boost/fusion/include/as_set.hpp:10:
*/boost_1_55_0/boost/fusion/container/set/convert.hpp:24:30: **error: *
*implicit*
* instantiation of undefined template
'boost::fusion::detail::as_set<11>'*
typedef typename gen::
* ^*
*/boost_1_55_0/boost/msm/back/state_machine.hpp:1164:50: note: *in
instantiation
of template class
'boost::fusion::result_of::as_set
On 4/07/2014 09:51, Raj Sambasivan wrote:
In file included from /boost_1_55_0/boost/fusion/include/as_set.hpp:10:
*/boost_1_55_0/boost/fusion/container/set/convert.hpp:24:30: **error: * *implicit*
* instantiation of undefined template 'boost::fusion::detail::as_set<11>'*
Sounds like you need to define: #define FUSION_MAX_SET_SIZE 20
participants (2)
-
Gavin Lambert
-
Raj Sambasivan