static_cast not declared

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

static_cast not declared

1,832 Views
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?
 
 
 
Labels (1)
0 Kudos
Reply
1 Reply

758 Views
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 Kudos
Reply