This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]