summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-08 00:36:52 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-08 00:36:52 +0100
commitff0c13d73eedb1294b110313f0081c88c832bff9 (patch)
treec98c41a11332cd28d77e6f75fb0af2c7983d234f /wscript
parent06eebda835e00582e70890890aad08beaf63db05 (diff)
Fix erroneously-moved warning removal (needed for Windows).
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files 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'])