From 32dcd32b2c87766a1248bb078826ce9b83efacc4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 4 Feb 2024 12:51:17 +0100 Subject: Suppress some warnings when building with Xcode 15. --- wscript | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index b0bc02270..8313a1f70 100644 --- a/wscript +++ b/wscript @@ -110,7 +110,14 @@ def configure(conf): '-Wall', '-Wextra', '-Wwrite-strings', + # These next 5 are for Xcode 15.0.1 with the v2.16.x-era + # dependencies; maybe they aren't necessary when building + # v2.1{7,8}.x '-Wno-error=deprecated', + '-Wno-deprecated-builtins', + '-Wno-deprecated-declarations', + '-Wno-enum-constexpr-conversion', + '-Wno-deprecated-copy', # I tried and failed to ignore these with _Pragma '-Wno-ignored-qualifiers', '-D_FILE_OFFSET_BITS=64', -- cgit v1.2.3