$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [MSM] compiling MSM with GCC 4.4.1 and -fno-exception
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2010-05-26 16:54:46
> Hi Christophe
>
> Thanks for the fix of no-rtti I will try out shortly.
>
> I have discovered a similar issue with exceptions.
> GCC 4.4.1 reports errors when it parses MSM that exceptions are
> disabled but there is code using that.
>
> Thanks
> Richie
Hi Richard,
I tried it out and it works. The default event dispatching occurs
inside a try/catch but you can deactivate it by adding a typedef to
the fsm declaration:
typedef int no_exception_thrown;
(see in MsmSimple.cpp)
Now it should compile properly with -fno-exceptions (and dispatch
events slightly faster).
HTH,
Christophe