Compile for C Vs C++?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compile for C Vs C++?

539 Views
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

Labels (1)
0 Kudos
2 Replies

459 Views
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 Kudos

459 Views
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 Kudos