Re: [boost] [MSM] compiling MSM with GCC 4.4.1 and -fno-exception

26 May
2010
26 May
'10
8:54 p.m.
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
5494
Age (days ago)
5494
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christophe Henry