[commit/branch] Disable -Werror by default

Joel Brobecker brobecker@adacore.com
Sun Dec 17 15:42:00 GMT 2006


Hello,

I committed the following patch on our gdb-6.6 branch. I am about
to prepare the first release off this branch (either tonight, or
tomorrow).

2006-12-17  Joel Brobecker  <brobecker@adacore.com>

        * configure.ac: Disable -Werror by default.
        * configure: Regenerate.

-- 
Joel
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.34.2.2
diff -u -p -r1.34.2.2 configure.ac
--- configure.ac	24 Nov 2006 20:11:07 -0000	1.34.2.2
+++ configure.ac	17 Dec 2006 15:37:22 -0000
@@ -1101,11 +1101,6 @@ AC_ARG_ENABLE(werror,
      *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;;
    esac])
 
-# Enable -Werror by default when using gcc
-if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
-    ERROR_ON_WARNING=yes
-fi
-
 WERROR_CFLAGS=""
 if test "${ERROR_ON_WARNING}" = yes ; then
     WERROR_CFLAGS="-Werror"


More information about the Gdb-patches mailing list