From ff0c13d73eedb1294b110313f0081c88c832bff9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 8 Feb 2024 00:36:52 +0100 Subject: [PATCH] Fix erroneously-moved warning removal (needed for Windows). --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index a06d96e89..4c40e34b1 100644 --- a/wscript +++ b/wscript @@ -111,6 +111,7 @@ def configure(conf): '-Wall', '-Wextra', '-Wwrite-strings', + '-Wno-error=deprecated', # I tried and failed to ignore these with _Pragma '-Wno-ignored-qualifiers', '-D_FILE_OFFSET_BITS=64', @@ -120,8 +121,7 @@ def configure(conf): # These 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 - conf.env.append_value('CXXFLAGS', ['-Wno-error=deprecated', - '-Wno-deprecated-builtins', + conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-builtins', '-Wno-deprecated-declarations', '-Wno-enum-constexpr-conversion', '-Wno-deprecated-copy']) -- 2.30.2