]> spindle.queued.net Git - midori/commitdiff
Disable loop warnings and include warnings, clang dislikes them
authorChristian Dywan <christian@twotoasts.de>
Fri, 18 Sep 2009 17:36:09 +0000 (19:36 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 18 Sep 2009 17:37:27 +0000 (19:37 +0200)
wscript

diff --git a/wscript b/wscript
index c243cb8db5c1e80263b3b72a61064d0f7856e926..4f55d88e954f08aea10553eb3270a0beacb231bb 100644 (file)
--- a/wscript
+++ b/wscript
@@ -267,16 +267,15 @@ def configure (conf):
         elif debug_level == 'full':
             # -Wdeclaration-after-statement
             # -Wmissing-declarations -Wmissing-prototypes
-            # -Wwrite-strings
+            # -Wwrite-strings -Wunsafe-loop-optimizations -Wmissing-include-dirs
             conf.env.append_value ('CCFLAGS',
                 '-Wall -Wextra -O1 -g '
                 '-Waggregate-return -Wno-unused-parameter '
                 '-Wno-missing-field-initializers '
-                '-Wunsafe-loop-optimizations '
                 '-Wredundant-decls -Wmissing-noreturn '
                 '-Wshadow -Wpointer-arith -Wcast-align '
                 '-Winline -Wformat-security '
-                '-Winit-self -Wmissing-include-dirs -Wundef '
+                '-Winit-self -Wundef '
                 '-Wmissing-format-attribute -Wnested-externs '
                 '-DG_ENABLE_DEBUG'.split ())
     elif debug_level != 'none':