🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #65

Re: Warning when Building in OpenBSD 8.0

#65
From: Lawrence D’Oliveiro
Date: Fri, 06 Nov 2026 00:40
16 lines
1884 bytes
On Thu, 5 Nov 2026 16:16:57 +0000, Roderick wrote:

> /usr/opt/Emacs-31.1/emacs-31.1/src/fileio.c:3960:31: warning: implicit
>        conversion from 'off_t' (aka 'long long') to 'double' changes value
> from
>        9223372036854775807 to 9223372036854775808
>        [-Wimplicit-const-int-float-conversion]
>   3960 |       if (0 <= v && v < 1.0 + TYPE_MAXIMUM (off_t))
>        |                             ~ ^~~~~~~~~~~~~~~~~~~~
> [etc]

One the one hand, you could argue that this kind of arithmetic trickery
is sailing a bit close to the wind.

But on the other hand, once you hit that precision limit, the addition
of 1.0 doesn’t make any difference anyway ...
Technical Details
Message-ID: <11cj7m9$244p7$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <d466f0a1-43c2-c6f7-4587-db3f6747ce0c@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.emacs
Subject: Re: Warning when Building in OpenBSD 8.0
Date: Fri, 6 Nov 2026 00:40:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <11cj7m9$244p7$1@dont-email.me>
References: <d466f0a1-43c2-c6f7-4587-db3f6747ce0c@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 06 Nov 2026 00:40:42 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2233127"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18v6ZBTgmghYF/dn+C0Msxq"; posting-host="805450eec5e4df4938c911987d9875f0"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:T/RpGu/WQv1JjjLDsmbjAwp5QwI= sha256:bvAe1KBCA+wdxSYdY9lvuvKXkaOQcxyuVOPN+GgHUzQ=
	sha1:P4XT2hEpWV8LpX681gqtxXtkpQc= sha256:tB1IrbcCPhcqw9y3zswb+Y9QzENe6e8SqjDmFYkppS4=