[Xfce4-commits] <midori:master> Disable loop warnings and include warnings, clang dislikes them

Christian Dywan noreply at xfce.org
Fri Sep 18 19:38:02 CEST 2009


Updating branch refs/heads/master
         to a158ac458590e01aa352ad64aac7ad401f987ba4 (commit)
       from bf80501888a0216943d0b1aa214678277e14d37f (commit)

commit a158ac458590e01aa352ad64aac7ad401f987ba4
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Sep 18 19:36:09 2009 +0200

    Disable loop warnings and include warnings, clang dislikes them

 wscript |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/wscript b/wscript
index c243cb8..4f55d88 100644
--- 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':



More information about the Xfce4-commits mailing list