C++ STL HCS12X problem. Can't include vector.h

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

C++ STL HCS12X problem. Can't include vector.h

Jump to solution
1,038 Views
juanoxoby
Contributor I

I'm using CodeWarrior IDE v5.9.0 with C++ to program a HC12X MCU.

However, I can't use the STL such as vector.h.

 

When I try to compile:

 

#include <vector.h>

 

i get an error, saying that it doesn't exist. (i also searched for the file and I couldn't find it neither).

 

Does this compiler have support for C++ libraries?

 

http://cache.freescale.com/files/soft_dev_tools/doc/ref_manual/EWL_CPLUSPLUS_RM.pdf?fpsp=1&WT_TYPE=R...

Labels (1)
0 Kudos
Reply
1 Solution
820 Views
CrasyCat
Specialist III

Hello

  Did you check the Compiler_HC12.pdf manual?

  There is a section named Known C++ Issues in the HC(S)12 Compilers in the Appendices.

  Table E.1 Unimplemented Header Files lists all the C++ header files that are not available and vector is listed there.

CrasyCat

View solution in original post

0 Kudos
Reply
2 Replies
820 Views
juanoxoby
Contributor I

Thanks a lot.

0 Kudos
Reply
821 Views
CrasyCat
Specialist III

Hello

  Did you check the Compiler_HC12.pdf manual?

  There is a section named Known C++ Issues in the HC(S)12 Compilers in the Appendices.

  Table E.1 Unimplemented Header Files lists all the C++ header files that are not available and vector is listed there.

CrasyCat

0 Kudos
Reply