
19 Jun
2006
19 Jun
'06
9:14 a.m.
Hello, I've a problem to compile (gcc- 4.1.2) a templated asynchronous state machine. error: expected `)' before 'ctx' template< typename streamT > struct proto; template< typename streamT > class presentation : public sc::asynchronous_state_machine< presentation< streamT >, proto< streamT >, sc::fifo_scheduler<>
{ public: typedef streamT stream_type; presentation( my_context ctx) : my_base( ctx) // error: expected `)' before 'ctx' {} }; Thanks, Oliver