Hi Folks !
Please Can someone help me find out how to activate or use c++ with mqx in codewarrior ? i read a lot of thread on this forum but still do not have a solution for that, i also ran the c++ example available in the mqx examples directory without result, when i compile that example it trigger a lot of errors, i m wasting time with this months ago please need help
Configuration:
MXQ 3.8
CW 10.2
LICENCE: Professional
board K53
thx in advance
Wilson
Hello Garil,
what are the errors? I have currently MQX 3.8.1 installed and none build errors.
Regards,
MartinK
Hi kojto thx for replying
i have the following error when i implement in cplusplus
"undefined identifier 'class' "
i cannot also include iostream therefore cannot use "cout"
thx
br
MATT
By default CW10 assume *.h files must be compiled with C compiler.
If you want to use C++ compiler, you can force C++ compiling or use a C++ header extension like *.hh or *.hpp