QM 4.1.x C++ code generated for a submachine does not compile
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
QM 4.1.x C++ code generated for a submachine does not compile for the following specific conditions:
The code fails to compile with the following error messages:
submtst.cpp:126:12: error: no matching function for call to 'SUBMTST::SubmTst::qm_entry_(c
onst SUBMTST::SubmTst::SM_sub1*)'
../../../qpcpp/include/qep.h:427:12: note: candidate is: QP::QState QP::QHsm::qm_entry_(co
nst QP::QMState*)
submtst.cpp:127:1: warning: control reaches end of non-void function
The problem does not exist in the Debug or Relese configurations or when the submachine has an entry action.
--MMS
Anonymous
Diff:
Fixed in QM 4.2.0.
--MMS