GNU bug report logs - #58966
[Trunk] Xcode 14.1+ (and macOS 13.0+) deprecate sprintf()

Previous Next

Package: emacs;

Reported by: Jacob Faibussowitsch <jacob.fai <at> gmail.com>

Date: Wed, 2 Nov 2022 13:57:02 UTC

Severity: minor

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jacob Faibussowitsch <jacob.fai <at> gmail.com>
Cc: Gerd Möllmann <gerd.moellmann <at> gmail.com>,
 58966 <at> debbugs.gnu.org
Subject: re: [Trunk] Xcode 14.1+ (and macOS 13.0+) deprecate sprintf()
Date: Thu, 3 Nov 2022 11:30:50 -0700
[Message part 1 (text/plain, inline)]
It appears that Apple has gone on the warpath against sprintf even if 
you compile with plain 'gcc' with no options, which means 
--disable-gcc-warnings does not suppress the false alarms.

I installed the attached further patch to attempt to pacify Apple's 
compiler; please give it a try.

Perhaps Apple's compiler will start complaining about strcpy next....
[0001-Improve-suppression-of-bogus-macOS-warnings.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 220 days ago.

Previous Next


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