Suppress some warnings when building with Xcode 15.
authorCarl Hetherington <cth@carlh.net>
Sun, 4 Feb 2024 11:51:17 +0000 (12:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 4 Feb 2024 11:51:17 +0000 (12:51 +0100)
wscript

diff --git a/wscript b/wscript
index b0bc022704cbda0eecdbb8bc658621df2119e37d..8313a1f705999e2515a0dd8c876dfe7519f02036 100644 (file)
--- 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',