[gimp/blend-tool-fun: 34/163] configure: comment out -Wsystem-headers for now...



commit 168215049d48ac9731013b039ee9d3e326682a51
Author: Jehan <jehan girinstud io>
Date:   Wed Sep 9 03:21:49 2015 +0200

    configure: comment out -Wsystem-headers for now...
    
    It outputs far too many warnings on some systems (like OSX apparently).

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3ed4e05..cbb3654 100644
--- a/configure.ac
+++ b/configure.ac
@@ -440,8 +440,10 @@ CFLAGS="$CFLAGS $extra_warnings"
 # -Wreturn-type warns on forgotten return on non-void functions,
 # but not of g_return_if_fail() on non-void functions.
 # -Wsystem-headers is needed for that.
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wsystem-headers')
-CFLAGS="$CFLAGS $extra_warnings"
+# Unfortunately it pulls tons of warnings on some systems.
+# So we comment out for now.
+# GIMP_DETECT_CFLAGS(extra_warnings, '-Wsystem-headers')
+# CFLAGS="$CFLAGS $extra_warnings"
 
 # Extra optimization flags for super performance
 GIMP_DETECT_CFLAGS(extra_warnings, '--omg-optimized')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]