Author
anonymous
about 7 years ago
Language
Compiler
Options
Author
anonymous
about 7 years ago
$
In file included from prog.cc:4:
./myfsm.h:33:42: error: typedef redefinition with different types ('msm::back::state_machine<MyFsm_>' vs 'MyFsm')
typedef msm::back::state_machine<MyFsm_> MyFsm;
^
./pkt1.h:6:8: note: previous definition is here
struct MyFsm;
^
prog.cc:9:11: error: variable has incomplete type 'MyFsm'
MyFsm fsm;
^
./pkt1.h:6:8: note: forward declaration of 'MyFsm'
struct MyFsm;
^
2 errors generated.
Exit Code:
1