bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58966: [Trunk] Xcode 14.1+ (and macOS 13.0+) deprecate sprintf()


From: Paul Eggert
Subject: bug#58966: [Trunk] Xcode 14.1+ (and macOS 13.0+) deprecate sprintf()
Date: Thu, 3 Nov 2022 11:30:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3

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....

Attachment: 0001-Improve-suppression-of-bogus-macOS-warnings.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]