http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52661

--- Comment #8 from Jim Michaels <jmichae3 at yahoo dot com> 2012-03-22 
07:06:31 UTC ---
I think if I understand you correctly, you are saying that the integer and the 


earlier code I tried did NOT use the L suffix.  I didn't get an warning then. 
which is as it should be.

but when I specified L or LL (which is the only thing you CAN do for really
long numbers like 64-bit integers, either of those suffixes with what should be
a valid signed integer value gives a warning as you say.

maxint64-bug2.cpp:6:5: warning: this decimal constant is unsigned only in ISO
C90 [enabled by default]
maxint64-bug2.cpp:7:19: warning: integer constant is so large that it is
unsigned [enabled by default]
maxint64-bug2.cpp:7:5: warning: this decimal constant is unsigned only in ISO
C90 [enabled by default]

the last 2 warnings are for the 64-bit integer using LL and the first one is
for the 32-bit one using L.

granted,it's not very often a person should want to use values like these, but
when someone wants to use them, but when they want to use them, they should be
available.

did someone mess up on the specification?

Reply via email to