
14 Jan
2013
14 Jan
'13
7:44 p.m.
Hi, I'm using Boost.Statechart and have come across a strange gcc-4.7.2 behavior on the attached sample code. The error is: cpp-lab/boost/statechart/main.cpp:89:23: error: expected ')' before 'ctx' If outermost_context() isn't used in Inner3() constructor and statechart::simple_state is used instead of statechart::state everything is OK. If Inner3 is not a template then everything is OK The problem occurs only if a state template class is inherited from statechart::state. Is there any workaround for the issue? Thanks in advance.