Why CodeWarrior v10.5 gives error for OOP c++ project?

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

Why CodeWarrior v10.5 gives error for OOP c++ project?

539 Views
embeddedenginee
Contributor I

I have codewarrior v10.5 free version I want to do object oriented c++ programming it gives errors for all class keywords as undefined what can be the cause of this error?

0 Kudos
2 Replies

378 Views
josephdobesh
Contributor I

I am seeing the same thing. I am using version 11.1 for the MCF52259. I created a Bareboard project and selected C++ in the wizard. It created a simple main file with a class called counterclass, but it doesn't recognize the class key word. There must be something in the settings, but it was not obvious to me.

0 Kudos

378 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

To solve your issue, please let us know:

1. chip part number

2  demo project

3. error screenshot.

Thanks.

Jennie Zhang

0 Kudos