Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

Compiler

Options

Author

anonymous

about 7 years ago

myfsm.h
state1.h
state2.h
events.h
pkt1.h
pkt1.cpp

$
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