[giggle] build: -Wno-unused-parameters has to be activated after



commit bbe63a797bbd76ce32d2625e9b0c46d9a72c2e8e
Author: Javier JardÃn <jjardon gnome org>
Date:   Tue Apr 3 01:15:39 2012 +0100

    build: -Wno-unused-parameters has to be activated after
    
    manywarnings activates -Wextra and unused-parameters

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f1c2b39..6bb2212 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,7 +211,6 @@ nw="$nw -Wpadded"               # Happy for compiler to add struct padding
 nw="$nw -Wconversion"           # These warnings usually don't point to mistakes.
 nw="$nw -Wsign-conversion"      # Likewise.
 nw="$nw -Wc++-compat"           # Don't care about C++ compiler compat
-nw="$nw -Wunused-parameter"     # Unused parameters are fine
 
 # Enable all GCC warnings not in this list.
 gl_MANYWARN_COMPLEMENT([warnings], [$warnings], [$nw])
@@ -219,6 +218,8 @@ for w in $warnings; do
   gl_WARN_ADD([$w])
 done
 
+gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
+
 dnl -----------------------------------------------------------
 
 



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