GNU bug report logs - #78659
[PATCH] Pacify Clang's -Wformat-signedness.

Previous Next

Package: emacs;

Reported by: Collin Funk <collin.funk1 <at> gmail.com>

Date: Sun, 1 Jun 2025 05:17:05 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Full log


View this message in rfc822 format

From: Collin Funk <collin.funk1 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 78659 <at> debbugs.gnu.org
Subject: bug#78659: [PATCH] Pacify Clang's -Wformat-signedness.
Date: Sun, 01 Jun 2025 18:04:32 -0700
[Message part 1 (text/plain, inline)]
Hi Eli and Paul,

Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Sat, 31 May 2025 23:47:15 -0700
>> Cc: 78659 <at> debbugs.gnu.org
>> From: Paul Eggert <eggert <at> cs.ucla.edu>
>> 
>> On 2025-05-31 23:24, Eli Zaretskii wrote:
>> > Paul, any comments or suggestions?
>> 
>> As a general rule of thumb, I wouldn't bother pacifying anything but the 
>> latest GCC, especially to work around false alarms (which these are). 
>> Since this is isn't the latest GCC and these are false alarms, I suggest 
>> ignoring the false alarms, or silencing them by using ./configure 
>> --disable-gcc-warnings.
>
> Agreed.

How about just disabling this warning if Clang is being used like we do
for many others?

Simple 1 line patch attached.

Collin

[v2-0001-Pacify-Clang-s-Wformat-signedness.patch (text/x-patch, attachment)]

This bug report was last modified 11 days ago.

Previous Next


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