This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Realview: Long Long types

I am trying to port some code over to a LPC2378 ARM-7 MCU that makes use of "long long" variables. I have not been getting any compiler errors over variables being declared as "long long" but when I try to compare or perform arithmetic operations on these variables I get the following error:
"error: #41: expression must have arithmetic or pointer type"

Here is an example from my code:

int Compare(long long a, long long b)
{ if (a <= b) { return 1; } return 0;
}

Any ideas on what I can do?

Thanks,
Eric