Boost logo

Boost Users :

Subject: Re: [Boost-users] [MSM] "favor_compile_time" policy disables "kleene" events. (Bug?)
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2013-02-26 15:21:14


> Hi everyone,
> Hi Christophe,
>
> While trying to speedup compilation of my MSM/eUML-based state machine, I
> seem to have found a bug.
>
> I added the "favor_compile_time" policy to the type-definition of my
> state-machine as the documentation suggests.
> I did not use the macro "BOOST_MSM_BACK_GENERATE_PROCESS_EVENT" because I
> do not have any sub-statemachines.
>
> This did speed up compilation, however obviously by changing my
> transition-table:
> All "kleene"-events in my transition-table are ignored, when defining the
> state-machine with the "favor_compile_time" policy.
>
> Can anyone confirm this or am I using it wrong? (Was this policy supposed
> to work with eUML in the first place?)
>
> Thanks,
> Deniz
>
> PS: I am using GCC 4.7.2 with Boost 1.53.

Hi Deniz,

my mistake, I forgot to add this limitation in the doc. The
favor_compile_time_policy loses not only event hierarchies but also kleene
events.
I don't think there is a way to achieve this with the current
implementation.

Sorry about this,
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