Compile for C Vs C++?

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

Compile for C Vs C++?

678 次查看
howarddelfava
Contributor I

Code Warrior for MCU Version 10.6.4 Build ID 150416 for windows.

Just changed from code warrior professional Eval version to purchased CW standard. I'm re-building my files and getting a "C++ is not supported by the current set of licenses" error. None of my code is written in C++, only C. How can I fix the project?

Thanks

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

598 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hello Howard

C++ is only supported in Professional Edition.  For details, please refer to:

http://www.freescale.com/files/soft_dev_tools/doc/fact_sheet/950-00437.pdf

And could you please check whether you enabled C++ feature in the project?  Please disable the C++ settings of the project, see the attached screenshot for MPC56xx. It is similar for other project.

disable_cpp_compiler.png

Hope it helps! If not, could you please attach an example project to help us reproduce the problem?

Best Regards

Fiona Kuang

TIC - Technical Information Center

0 项奖励
回复

598 次查看
howarddelfava
Contributor I

Hi Fiona.

Thanks for the reply.

Yes, I’m aware of the lack of C++ support for the standard version. All of my code is written in C, I do not require C++.

I suspect something got set in my project that I originally built under the Pro version that implies C++, which I don’t need.

I’ve attached a (scrubbed) version of my code.

I also checked the settings per the screen shot you sent. The settings are a little different, but I think they are OK.

See below:

Thanks!

0 项奖励
回复