Re: ggc 3.3.2 on aix 5.2 long long type?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux