AnsweredAssumed Answered

ColdeWarrior Coldfire 64-bit data types

Question asked by Ron Ferrari on Apr 4, 2014
Latest reply on Apr 15, 2014 by Ron Ferrari

Hi,

I am using CodeWarrior 7.1 and MCF52235.

I am trying to define a 64-bit variable in C.


The documentation online suggests:

#pragma longlong on     //Turn on 64-bit support (long long)

long long Test;

Test += 1;

 

This gives link error:

Link Error   : Undefined : "__rt_add64"

 

What include file has this definition?

Is this the correct way to define a 64-bit data type?

Also if someone could point me to the correct compiler reference manual that would be great.

 

Thanks.

Outcomes