Compilation error in QM generated code for QP/C++ in Spy build configuration
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
C++ code generated by QM 4.3.0 does not compile for the Spy build configuration (Q_SPY defined). Specifically, the g++ compiler reports the following errors:
return QM_ENTRY(&SubStateName_s);
^
expanded from macro 'QM_ENTRY'
#define QM_ENTRY(state_) (me->qm_entry_((state_)))
^
This error only appears when a submachine has no explicit Entry action (the Entry filed in the submachine property sheet is left empty). The error goes away when the Entry action is provided (it could be just a comment in the property sheet.)
--MMS
Anonymous
Diff:
Diff:
Fixed in QM 4.3.1.
--MMS