From a158ac458590e01aa352ad64aac7ad401f987ba4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 18 Sep 2009 19:36:09 +0200 Subject: [PATCH] Disable loop warnings and include warnings, clang dislikes them --- wscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index c243cb8d..4f55d88e 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': -- 2.39.5