
Hello, I'm using statechart on LINUX with gcc-3.4.2. bjam was able to compile the examples but if I copy the StopWatch-example into a Kdevelop-project I get errors?! I assume I've to put some additional compiler-flags which are not mentioned in the tutorial. Could you help please! In file included from /opt/boost/include/boost-1_33_1/boost/statechart/simple_state.hpp:13, from /opt/boost/include/boost-1_33_1/boost/intrusive_ptr.hpp:35, from /opt/boost/include/boost-1_33_1/boost/statechart/detail/state_base.hpp:1 6, from /opt/boost/include/boost-1_33_1/boost/statechart/state_machine.hpp:16, from /opt/boost/include/boost-1_33_1/boost/intrusive_ptr.hpp:34, from /opt/boost/include/boost-1_33_1/boost/statechart/event_base.hpp:15, from /opt/boost/include/boost-1_33_1/boost/statechart/event.hpp:11, from /home/kowalke/Projects/tcpproto/src/tcpproto.cpp:33: /opt/boost/include/boost-1_33_1/boost/statechart/detail/leaf_state.hpp:2 6: Fehler: Fehler beim Parsen before `<' token /opt/boost/include/boost-1_33_1/boost/statechart/detail/leaf_state.hpp:3 6: Fehler: destructors must be member functions /opt/boost/include/boost-1_33_1/boost/statechart/detail/leaf_state.hpp: In function `void boost::statechart::detail::leaf_state()': /opt/boost/include/boost-1_33_1/boost/statechart/detail/leaf_state.hpp:3 6: Fehler: ` void boost::statechart::detail::leaf_state()' redeclared as different kind of symbol /opt/boost/include/boost-1_33_1/boost/statechart/detail/leaf_state.hpp:2 6: Fehler: previous declaration of `template<class Allocator, class RttiPolicy> class boost::statechart::detail::leaf_state' /opt/boost/include/boost-1_33_1/boost/statechart/detail/leaf_state.hpp:2 6: Fehler: previous non-function declaration `template<class Allocator, class RttiPolicy> class boost::statechart::detail::leaf_state' ... with best regards, Oliver