Tim Rentsch <[email protected]> writes:
Keith Thompson <[email protected]> writes:
Thiago Adams <[email protected]> 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.
No, it isn't. The message might be misleading but it isn't wrong.
The integer constant 18408377700990114895 is not of any unsigned type.
The message doesn't say the constant has an unsigned type. It says
only that the constant is unsigned.
What distinction are you making?
Keith Thompson <[email protected]> writes:
Tim Rentsch <[email protected]> writes:
Keith Thompson <[email protected]> writes:
Thiago Adams <[email protected]> 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.
No, it isn't. The message might be misleading but it isn't wrong.
The integer constant 18408377700990114895 is not of any unsigned type.
The message doesn't say the constant has an unsigned type. It says
only that the constant is unsigned.
What distinction are you making?
The distinction I'm making is between what the statement actually
says rather than how it might be interpreted.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,099 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492377:34:31 |
| Calls: | 14,106 |
| Calls today: | 2 |
| Files: | 187,124 |
| D/L today: |
2,238 files (1,009M bytes) |
| Messages: | 2,496,204 |