Question about difference between integer literal handling in gcc 3.2.3 and 3.4.3

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

 



This number: 3862586112 would result in 
'decimal constant is so large that it is unsigned' warning in both 3.2.3 and
3.4.3.

This number: 5055248896 would result in
3.4.3: 'integer constant is too large for "long" type' error.
3.2.3: neither warning nor error in 3.2.3.

My question is how does gcc 3.2.3 handle this second integer literal which
seems to be too big even for unsigned long.

Paul.

[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