Compilation error for the Q_EVT_CTOR configuration with QXK
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
Trying to build QP/C++ application with QXK and the following flags enabled:
Q_EVT_CTOR
Q_EVT_VIRTUAL
When compiling, the following error occurs in the QXThread::post_() function in qxk_xthr.cpp:
bin/qpcpp/src/qxk/qxk_xthr.cpp: In member function 'virtual bool QP::QXThread::post_(const QP::QEvt*, uint_fast16_t)':
bin/qpcpp/src/qxk/qxk_xthr.cpp:245:16: error: 'uint8_t QP::QEvt::poolId_' is private within this context
if (e->poolId_ != static_cast<uint8_t>(0)) {</uint8_t>
Anonymous
Fixed in QP/C++ 6.6.0.
--MMS