Disable maybe-uninitialized warnings to shut gcc up about _t in optional.
authorCarl Hetherington <cth@carlh.net>
Wed, 27 Mar 2019 14:42:23 +0000 (14:42 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 27 Mar 2019 14:42:23 +0000 (14:42 +0000)
wscript

diff --git a/wscript b/wscript
index ac1b203f5d3ebc6b4c259abb61b5a69f97938de2..6720cad9f1f8ff5b9446b27598b1de8030ed84b9 100644 (file)
--- a/wscript
+++ b/wscript
@@ -100,6 +100,8 @@ def configure(conf):
                                        '-Wno-deprecated-declarations',
                                        '-Wno-ignored-qualifiers',
                                        '-Wno-parentheses',
+                                       # Avoid the endless warnings about _t uninitialized in optional<>
+                                       '-Wno-maybe-uninitialized',
                                        '-D_FILE_OFFSET_BITS=64'])
 
     if conf.options.force_cpp11: