static_cast not declared

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

static_cast not declared

1,571 次查看
Lars
Contributor I
Hi,
 
I am using a CodeWarrior HC(S)12 and are having problems compiling when using static_cast.
Does anyone know what I can do?
 
 
 
标签 (1)
0 项奖励
回复
1 回复

497 次查看
stanish
NXP Employee
NXP Employee
Unfortunatelly, following C++ cast keywords are not supported by CodeWarrior for HC12 (v4.7):

– static_cast
– const_cast
– reinterpret_cast
– dynamic_cast

 I'd suggest you to use C-style casting instead.
0 项奖励
回复