[folks] configure: -Werror= make no sense for "no" and "extra"



commit a6de27c8f8b5dba0aeafa85ac6c2b5b979a9f77f
Author: Alban Browaeys <prahal yahoo com>
Date:   Wed Aug 1 14:43:21 2012 +0200

    configure: -Werror= make no sense for "no" and "extra"
    
    gcc error out when -Werror=extra -Werror=no-*
    are used. And it is the most sensible thing to do.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680976

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 294ddac..6394bde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -467,9 +467,9 @@ m4_if(folks_released, [1], [],
             -a x$winit_self = xyes -a x$wformat = xyes -a \
             x$wmissing_include_dirs = xyes -a x$waggregate_return = xyes -a \
             x$wdeclaration_after_statement = xyes; then
-            ERROR_CFLAGS="$ERROR_CFLAGS ${flag}extra \
-                ${flag}no-missing-field-initializers \
-                ${flag}no-unused-parameter ${flag}strict-prototypes \
+            ERROR_CFLAGS="$ERROR_CFLAGS -Wextra \
+                -Wno-missing-field-initializers \
+                -Wno-unused-parameter ${flag}strict-prototypes \
                 ${flag}missing-prototypes ${flag}implicit-function-declaration \
                 ${flag}pointer-arith ${flag}init-self ${flag}format=2 \
                 ${flag}missing-include-dirs ${flag}aggregate-return \



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