long long constant
Vincent Torri
torri@math.u-strasbg.fr
Thu Jun 17 22:40:00 GMT 2004
Hello
i have experienced weird behavior with the initialization of a constant :
static long long const rounder = 0x0000400000004000;
on gcc 2.96, no error or warning
on gcc 3.3.1 or 3.3.2 or 3.3.4 there's a warning or an error
If i change the initialization above by
static long long const rounder = 0x0000400000004000LL;
it works
could someone explain me why ?
espacially, is there some known problems with initializing lonng constants
with gcc 3.3.x ?
Thank you
Vincent TORRI
More information about the Gcc-help
mailing list