How to support c++   in codewarrior?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to support c++   in codewarrior?

1,414 次查看
cencongsu
Contributor I


I am running MQX 4.0.2 and using Codewarrior 10.6.4 to compile the code.

 

Now I am going to write a module using c++, so I wonder is it possible to make my setup support c++?

 

I wrote a cpp file, but it seems it can't compile this cpp file at all.

标签 (1)
0 项奖励
回复
3 回复数

1,353 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

hi su,

what chip do you work with?
Have a great day,
Jennie Zhang

0 项奖励
回复

1,353 次查看
cencongsu
Contributor I

Hi,

I use K60FN1M0.

0 项奖励
回复

1,353 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi su,

I use MQX4.2, I can find cplus demo code under

C:\Freescale\Freescale_MQX_4_2\mqx\examples\cplus\build\cw10gcc

pastedImage_0.png


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复