[gimp] Revert "Add some extra compiler warnings to CFLAGS"



commit 10893e6bfab387854b03cf8c34dd683da1735ad8
Author: Michael Natterer <mitch gimp org>
Date:   Fri Mar 18 20:41:38 2011 +0100

    Revert "Add some extra compiler warnings to CFLAGS"
    
    This reverts commit f47645dc51d2b1b27afa32cfab54abb2e59570e8.
    Sorry, but the new warnings are not useful.

 configure.ac |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c59b9af..cf60fa8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,9 +338,6 @@ CFLAGS="$CFLAGS $extra_warnings"
 GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-declarations')
 CFLAGS="$CFLAGS $extra_warnings"
 
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wredundant-decls')
-CFLAGS="$CFLAGS $extra_warnings"
-
 GIMP_DETECT_CFLAGS(extra_warnings, '-Winit-self')
 CFLAGS="$CFLAGS $extra_warnings"
 
@@ -359,24 +356,6 @@ CFLAGS="$CFLAGS $extra_warnings"
 GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-non-literal')
 CFLAGS="$CFLAGS $extra_warnings"
 
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wundef')
-CFLAGS="$CFLAGS $extra_warnings"
-
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wshadow')
-CFLAGS="$CFLAGS $extra_warnings"
-
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wlogical-op')
-CFLAGS="$CFLAGS $extra_warnings"
-
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wendif-labels')
-CFLAGS="$CFLAGS $extra_warnings"
-
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wcast-align')
-CFLAGS="$CFLAGS $extra_warnings"
-
-GIMP_DETECT_CFLAGS(extra_warnings, '-Wwrite-strings')
-CFLAGS="$CFLAGS $extra_warnings"
-
 
 # Ensure MSVC-compatible struct packing convention is used when
 # compiling for Win32 with gcc.



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