[empathy/gnome-3-12: 11/12] Stop using -Werror



commit 1040646704e72a5c2da994d9dbdf9d216146faac
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed Aug 16 13:12:33 2017 -0500

    Stop using -Werror
    
    It will never build if -Werror is passed by default, and nobody has
    fixed five years worth of compiler warnings.

 configure.ac |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6f51d8e..eaa24e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,12 +156,6 @@ EMPATHY_ARG_VALGRIND
 # Error flags
 # -----------------------------------------------------------
 AS_COMPILER_FLAG(-Wall, ERROR_CFLAGS="-Wall", ERROR_CFLAGS="")
-AS_COMPILER_FLAG(-Werror, werror=yes, werror=no)
-
-AC_ARG_ENABLE(Werror,
-  AS_HELP_STRING([--disable-Werror],
-                 [compile without -Werror (normally enabled in development builds)]),
-    werror=$enableval, :)
 
 AS_COMPILER_FLAG(-Wextra, wextra=yes, wextra=no)
 AS_COMPILER_FLAG(-Wno-missing-field-initializers,
@@ -173,9 +167,6 @@ AS_COMPILER_FLAG(-Wno-unused-parameter,
 
 ifelse(empathy_released, 1, [],
     [
-        if test x$werror = xyes; then
-            ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
-        fi
         if test x$wextra = xyes -a \
             x$wno_missing_field_initializers = xyes -a \
             x$wno_unused_parameter = xyes; then


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