[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d16494cffb: Suppress deprecation warnings on macOS (bug#58966)
From: |
Gerd Moellmann |
Subject: |
master d16494cffb: Suppress deprecation warnings on macOS (bug#58966) |
Date: |
Thu, 3 Nov 2022 05:42:47 -0400 (EDT) |
branch: master
commit d16494cffbed79a916482558ae5ed1bdcc67c88d
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>
Suppress deprecation warnings on macOS (bug#58966)
* configure.ac (CHECK_LISP_OBJECT_TYPE): Add
-Wno-deprecated-declarations for darwin.
---
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/configure.ac b/configure.ac
index 63cb9c412e..c9d1eb5709 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1144,6 +1144,12 @@ AS_IF([test $gl_gcc_warnings = no],
gl_WARN_ADD([-Wno-int-in-bool-context])
fi
+ # Suppress deprecation warnings from using sprintf variants,
+ # starting with Xcode 14.1 on macOS 13.
+ if test $opsys = darwin; then
+ gl_WARN_ADD([-Wno-deprecated-declarations])
+ fi
+
# This causes too much noise in the MinGW build
if test $opsys = mingw32; then
gl_WARN_ADD([-Wno-pointer-sign])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d16494cffb: Suppress deprecation warnings on macOS (bug#58966),
Gerd Moellmann <=