Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: type of decimal constants in msvc Date: Fri, 19 Dec 2025 12:26:45 -0800 Organization: None to speak of Lines: 24 Message-ID: <871pkqtdyy.fsf@example.invalid> References: <1097ivh$ntii$1@dont-email.me> <10i3dpt$14ajr$1@dont-email.me> <875xa2u0p9.fsf@example.invalid> <10i3hkn$15jea$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 19 Dec 2025 20:26:46 +0000 (UTC) Injection-Info: dont-email.me; posting-host="ecbd26759f62ea1c20779b1a07dca9be"; logging-data="1523447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UupqEoQS5P1Mc8snbY28E" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:+jOV+UQA2AvSMhkUOdoN7E7bRyE= sha1:m10KhawTHEwo3D4daPiyrTx9vOE= Xref: csiph.com comp.lang.c:395860 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 */