int64_t == long long
Yang Zhang
yanghatespam@gmail.com
Wed Jul 16 00:31:00 GMT 2008
John Love-Jensen wrote:
> Keep in mind the portability issues surrounding use of long long, LL, and
> ULL. You may want to use the <stdint.h> INT64_C and UINT64_C macros to
> construct your numeric literals.
>
> INT64_C(65)
> UINT64_C(65)
I'm using gcc 4.2.3 and this doesn't compile (INT64_C doesn't exist).
#include <stdint.h>
#include <stdio.h>
int
main()
{
printf("%lld\n", INT64_C(0));
return 0;
}
--
Yang Zhang
http://www.mit.edu/~y_z/
More information about the Gcc-help
mailing list