Tweak warnings and add some more.
authorCarl Hetherington <cth@carlh.net>
Tue, 27 Feb 2018 14:26:34 +0000 (14:26 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 27 Feb 2018 14:26:34 +0000 (14:26 +0000)
wscript

diff --git a/wscript b/wscript
index 19ee66ee53b69dfc566d0854578f7337d5cb78c4..ab86865b25cac7c4b5279fccfa2b5b0ab9eb8c00 100644 (file)
--- a/wscript
+++ b/wscript
@@ -78,8 +78,11 @@ def configure(conf):
                                        '-msse',
                                        '-fno-strict-aliasing',
                                        '-Wall',
-                                       '-Wno-attributes',
+                                       '-Wcast-align',
                                        '-Wextra',
+                                       '-Wwrite-strings',
+                                       '-Wunsafe-loop-optimizations',
+                                       '-Wlogical-op',
                                        # Remove auto_ptr warnings from libxml++-2.6
                                        '-Wno-deprecated-declarations',
                                        '-D_FILE_OFFSET_BITS=64'])