
13 Apr
2008
13 Apr
'08
2:10 p.m.
Hi Igor
Unfortunately, it still produces compile-time error for the same reason... The error occures when void state_machine::initial_construct() is being compiled, since the InitialState is not defined yet.
Sorry, my bad. I forgot to mention that you need to add a class member specialization as well, right after the declaration of your FSM: template<> void sc::asynchronous_state_machine< YourClassName, YourInitialStateName >::initiate_impl() {}
Probably you've got some example that compiles for sure?
Yes, please see the changed PingPong example in the SVN trunk. Verified with VC++ 9.0. HTH & Regards, Andreas -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.