[gimp] Show the compiler option that caused a warning



commit c4e44dc09805b14c0fd91c4fc1cc67534952bee3
Author: Mukund Sivaraman <muks banu com>
Date:   Mon May 2 07:43:48 2011 +0530

    Show the compiler option that caused a warning

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1435000..2706220 100644
--- a/configure.ac
+++ b/configure.ac
@@ -363,6 +363,9 @@ CFLAGS="$CFLAGS $extra_warnings"
 GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common')
 CFLAGS="$CFLAGS $extra_warnings"
 
+GIMP_DETECT_CFLAGS(extra_warnings, '-fdiagnostics-show-option')
+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]