GNU bug report logs - #51484
[PATCH] Move runtime check for recent giflib to compile time

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 29 Oct 2021 14:44:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51484 <at> debbugs.gnu.org
Subject: bug#51484: [PATCH] Move runtime check for recent giflib to compile time
Date: Fri, 29 Oct 2021 09:30:40 -0700
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> (What patch?)

Oops, let's try that again.

> The compiler converts that into a run-time constant anyway.  The
> reason for using such "run-time" testing is usually to have a more
> readable code, since #ifdef's make the code harder to read.  There are
> no downsides, since the test is compiled away.

Right, hence my asking what you all think of the patch.  Which is now
hopefully also attached.
[0001-Move-runtime-check-for-recent-giflib-to-compile-time.patch (text/x-diff, attachment)]

This bug report was last modified 3 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.