AnsweredAssumed Answered

CPP with MQX example and enabling CPP macro in general

Question asked by D. RY on Dec 29, 2016
Latest reply on Jan 25, 2017 by D. RY

The MQX's cplus example uses macro BSPCFG_ENABLE_CPP as a compile check for CPP support, but what is it used for by MQX sources, if at all?

I looked (grep'ed) through the MQX sources, and I can't see BSPCFG_ENABLE_CPP or MQX_ENABLE_CPP used by anything for anything.

Does it do anything for the code?

 

(Also found this thread: Bug: Cpp Example - Global Object with new/malloc in Construct ; it seems C++ support hasn't moved on it since 2013?)

Outcomes