[gimp] configure.ac: add -Wlogical-op and -Wtype-limits



commit 10e07292ec70db75007e5f0022ab56ad54c2edc7
Author: Michael Natterer <mitch gimp org>
Date:   Sat Oct 17 20:16:18 2015 +0200

    configure.ac: add -Wlogical-op and -Wtype-limits

 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 61dce6e..55a779b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -428,6 +428,12 @@ CFLAGS="$CFLAGS $extra_warnings"
 GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-security')
 CFLAGS="$CFLAGS $extra_warnings"
 
+GIMP_DETECT_CFLAGS(extra_warnings, '-Wlogical-op')
+CFLAGS="$CFLAGS $extra_warnings"
+
+GIMP_DETECT_CFLAGS(extra_warnings, '-Wtype-limits')
+CFLAGS="$CFLAGS $extra_warnings"
+
 GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common')
 CFLAGS="$CFLAGS $extra_warnings"
 


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