Quell some warnings.
authorCarl Hetherington <cth@carlh.net>
Sun, 17 Nov 2019 11:20:33 +0000 (12:20 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Nov 2019 11:20:38 +0000 (12:20 +0100)
wscript

diff --git a/wscript b/wscript
index 1f9ac22736bc42f585e2ca5c72e440f87d74eaf7..04ba1c3a42c36f432cd39b6cd56c4692f076143d 100644 (file)
--- a/wscript
+++ b/wscript
@@ -108,6 +108,8 @@ def configure(conf):
                                        '-Wno-deprecated-declarations',
                                        '-Wno-ignored-qualifiers',
                                        '-Wno-parentheses',
                                        '-Wno-deprecated-declarations',
                                        '-Wno-ignored-qualifiers',
                                        '-Wno-parentheses',
+                                       # Remove lots of warnings from wxWidgets with newer gcc
+                                       '-Wno-deprecated-copy',
                                        '-D_FILE_OFFSET_BITS=64'])
 
     if conf.options.force_cpp11:
                                        '-D_FILE_OFFSET_BITS=64'])
 
     if conf.options.force_cpp11: