N. Coesel wrote:
At 16:36 03-08-07 +0200, you wrote:
Hello,

I am working with the Msp430 compiler for cygwin
mspgcc-20070216.exe
gcc version 3.2.3

Does the sprintf support long longs. In mine test program it doesn't seem to work.
Am i doing something wrong ?

I've noticed similar behaviour on other platform. Consider long long
support in gcc 3.x as not working. Using long long may result in odd
behaviour (wrong result) and/or compiler crashes.

Nico Coesel
I use long long int (well, I actually use int64_t) quite a bit withmspgcc, and I haven't had any trouble. I've never used printf with mspgcc, so I don't know about that part, but 64 bit arithmetic seems OK.

Steve



Reply via email to