Boost logo

Boost Users :

Subject: Re: [Boost-users] [MSM] eUML compilation fails with gcc and -std=c++11
From: christophe.j.henry_at_[hidden]
Date: 2014-08-29 15:18:18


Hi Manuel,

Sorry for the delay, I was in vacations.

>I tried to compile some of the eUML MSM samples (e.g. http://www.boost.org/doc/libs/1_56_0/libs/msm/doc/HTML/examples/SimpleTimer.cpp)
>using gcc 4.8 and with C+11 support enabled.

Please do not forget to add the boost version you’re using.

>However, I always get errors like the following one:

>
>error: ‘BOOST_PP_REPEAT_FROM_TO_M_1’ has not been declared
>

>I did not find anything about C++11 being not supported by Boost MSM, so I would like to know if I am doing anything wrong?

It’s my fault. Looks like there has been a change in boost::fusion. I got a pull request but didn’t manage to review and merge it before vacations.
Sadly, it means that for version 1.56, BOOST_MSM_EUML_EVENT_WITH_ATTRIBUTES is broken.
I just merged so you can either get the develop branch from github or change your version locally, it’s a simple change.

Sorry for the inconvenience.

HTH,
Christophe



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net