[gimp] configure: comment out -Wsystem-headers for now...
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] configure: comment out -Wsystem-headers for now...
- Date: Wed, 9 Sep 2015 01:22:52 +0000 (UTC)
commit 7160e053496876e541f3d8809e347d5c9f20b432
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]