long long conversion specifier
Sisyphus
kalinabears@iinet.net.au
Tue Sep 28 21:37:00 GMT 2004
aimen bouchhima wrote:
> On may 32-bit machine -gcc version 3.3.2-
> the following code
>
> #include <stdio.h>
> int main()
> {
> unsigned long long int x = 0x1000000000000001ULL;
> printf("size = %d , value = %llx \n ",sizeof(x),x);
> return 1;
> }
>
> results in :
> size = 8 , value = 1000000000000001
>
For me:
size = 8 , value = 1
gcc version 3.2.3 (mingw special 20030504-1)
Is that a MinGW bug or a gcc bug ?
Thanks aimen, m.
Cheers,
Rob
More information about the Gcc-help
mailing list