You think the problem is with states? But before I defined the mpl no preprocessed header macro all compiles well except that I have 21 states which is beyond the limit When I define the no preprocessed header macro I get this weird warnings. Do I need to define those macros in my dependencies project as well? Since they use some boost.. On Sep 22, 2014 9:53 PM, "Christophe Henry" < christophe.j.henry@googlemail.com> wrote:
Hi,
I tried defining:
#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
It’s hard to help without code but you might need to increase fusion too if you happen to have more than 10 states, as written by Krzysztof: #define FUSION_MAX_VECTOR_SIZE 20
Can you provide a minimal code reproducing the problem? It is of course possible to have more than 20 transitions so you either have more than 10 states or your limit macro has been defined somewhere else.
HTH, Christophe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users