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

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

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

跳至解决方案
1,601 次查看
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...

标签 (1)
0 项奖励
回复
1 解答
1,383 次查看
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 项奖励
回复
2 回复数
1,383 次查看
juanoxoby
Contributor I

Thanks a lot.

0 项奖励
回复
1,384 次查看
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 项奖励
回复