preprocessor/8139: Bad new INT64_C macro
Fri Oct 4 02:26:00 GMT 2002
>Synopsis: Bad new INT64_C macro
>Arrival-Date: Fri Oct 04 02:26:01 PDT 2002
Old INT64_C macro definition was value ## LL.
New definition is probably better but then the compiler has to be modified accordingly.
Note that all values are valid 64 bit numbers.
The bug occured in the range -2^32+1 .. -2^31.
v = INT64_C(-2147483648);
v = INT64_C(-3000000000);
v = INT64_C(-4000000000);
v = INT64_C(-5000000000);
$ gcc t.c
t.c: In function `main':
t.c:6: warning: decimal constant is so large that it is unsigned
t.c:7: warning: decimal constant is so large that it is unsigned
t.c:8: warning: decimal constant is so large that it is unsigned
More information about the Gcc-bugs