Test: remove some more Wno flags.
authorCarl Hetherington <cth@carlh.net>
Mon, 27 Jul 2020 08:24:57 +0000 (10:24 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 27 Jul 2020 08:24:57 +0000 (10:24 +0200)
wscript

diff --git a/wscript b/wscript
index b1e2096..b9e7d6a 100644 (file)
--- a/wscript
+++ b/wscript
@@ -203,11 +203,8 @@ def configure(conf):
 
     # OSX
     if conf.env.TARGET_OSX:
-        conf.env.append_value('CXXFLAGS', ['-DDCPOMATIC_OSX', '-Wno-unused-function', '-Wno-unused-parameter', '-Wno-unused-local-typedef', '-Wno-potentially-evaluated-expression'])
+        conf.env.append_value('CXXFLAGS', ['-DDCPOMATIC_OSX'])
         conf.env.append_value('LINKFLAGS', '-headerpad_max_install_names')
-    else:
-        # Avoid the endless warnings about _t uninitialized in optional<>
-        conf.env.append_value('CXXFLAGS', '-Wno-maybe-uninitialized')
 
     #
     # Dependencies.