home bbs files messages ]

Just a sample of the Echomail archive

COMPLANC:

<< oldest | < older | list | newer > | newest >> ]

 Message 242,494 of 243,097 
 Keith Thompson to Thiago Adams 
 Re: type of decimal constants in msvc 
 19 Dec 25 12:26:45 
 
From: Keith.S.Thompson+u@gmail.com

Thiago Adams  writes:
> Em 19/12/2025 09:15, Keith Thompson escreveu:
[...]
>> gcc's warning for 18408377700990114895 (which is slightly smaller
>> than 2**64) is "integer constant is so large that it is unsigned".
>> This is *incorrect* (and I think it's been reported as a bug), but
>> the incorrect wording of the warning is not a conformance issue.
>
> I am not understating why do you think this is a bug?
> Because it should not compile?

No, because the message is factually incorrect.  The integer constant
18408377700990114895 is not of any unsigned type.

Diagnosing it is correct (since 18408377700990114895 > LLONG_MAX),
but the message is incorrect.

The bug report is .

[...]

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

--- SoupGate-Win32 v1.05
 * Origin: you cannot sedate... all the things you hate (1:229/2)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca