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


Message #11 received at 78659 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, Collin Funk <collin.funk1 <at> gmail.com>
Cc: 78659 <at> debbugs.gnu.org
Subject: Re: bug#78659: [PATCH] Pacify Clang's -Wformat-signedness.
Date: Sat, 31 May 2025 23:47:15 -0700
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.

Come to think of it, when building from Git maybe 'configure' should 
make --enable-gcc-warnings the default only when using recent GCC. 
Currently it also defaults to --enable-gcc-warnings with Clang or with 
older GCC, but that's probably more trouble than it's worth.




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.