Errors when programming in C++

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

Errors when programming in C++

1,022 Views
cremonezi
Contributor I

Hi,

 

I'm trying to create a program in C++ in Code Warrior for MC9S08SE8.

 

This software has already been created and tested for other uc (and another IDE).

 

However, when I create it in Code Warrior, several errors have been appeared.

 

Examples:

 

1) C1007: Type specifier mismatch

2) C5002: Illegal type

3) C1432: No valid classname specified

4) C1815: getInstance not declared

 

If anyone can help me, I can send the project with the files created (for more details). :smileyhappy:

 

Thank you, in advance.

Raphael

Labels (1)
0 Kudos
2 Replies

334 Views
CrasyCat
Specialist III

Hello

 

Which edition of CodeWarrior are you using? Special edition= Standard Edition? Professional edition?

 

In order to be able to use C++ you need a professional edition.

 

Also keep in mind that you have limited RAM and ROM resources available on a HC08 microcontroller. Full C++ support is not available on this architecture.

 

What is supported here is more embedded C++ than full C++.

Some feature of C++ are not supported in embedded C++.

 

In order to allow us to investigate what is going on here, I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.

 

CrasyCat

0 Kudos

334 Views
cremonezi
Contributor I

Hello,

 

In the installation CD box, there is: "CodeWarrior Development Studio for Microcontrollers Special Edition and HCS12(X) Special Edition". Then, no Professional edition, isn't?

 

Anyway, I will submit a service request with the project in order to you know the errors...

 

Thank you for your help.

Cremonezi

0 Kudos