This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ggc 3.3.2 on aix 5.2 long long type?
- From: John Love-Jensen <eljay at adobe dot com>
- To: sabreman <steve dot heck at am dot sony dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 10 Jan 2006 15:24:50 -0600
- Subject: Re: ggc 3.3.2 on aix 5.2 long long type?
Hi sabreman,
#include <stdio.h>
#include <inttypes.h>
int main()
{
uint64_t myVal64 = UINT64_C(18446744073709551615);
printf("%" PRId64 "\n", myVal64);
return 0;
}
Hmmm, worked for me.
Did you put the "ULL" suffix on your unsigned long long numeric constant?
Or use the UINT64_C macro provided by <inttypes.h> or <stdint.h>?
HTH,
--Eljay