Fix erroneously-moved warning removal (needed for Windows).
authorCarl Hetherington <cth@carlh.net>
Wed, 7 Feb 2024 23:36:52 +0000 (00:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 7 Feb 2024 23:36:52 +0000 (00:36 +0100)
wscript

diff --git a/wscript b/wscript
index a06d96e8935a5e8df57e388f05ae08dd6a906c1b..4c40e34b110799177e499fce0d51246fc5f85171 100644 (file)
--- 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'])