This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/branch 2/2] Disable -Werror by default.


From: gdbadmin <gdbadmin@sourceware.org>

This is SOP after the branch has been created, to make it easier for
non-developers to build GDB, even if there are compilation warnings
during the build.

---
 gdb/ChangeLog    |    5 +++++
 gdb/configure    |    5 -----
 gdb/configure.ac |    5 -----
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c607a61..be90e37 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 2010-07-07  Joel Brobecker  <brobecker@adacore.com>
 
+	* configure.ac: Disable -Werror by default.
+	* configure: Regenerate.
+
+2010-07-07  Joel Brobecker  <brobecker@adacore.com>
+
 	GDB 7.2 branch created (branch timestamp: 2010-07-07 17:00 UTC)
 	* version.in: Bump version to 7.1.90.20100707-cvs.
 
diff --git a/gdb/configure b/gdb/configure
index 174c186..94eb9b9 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -14741,11 +14741,6 @@ if test "${enable_werror+set}" = set; then :
 fi
 
 
-# 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"
diff --git a/gdb/configure.ac b/gdb/configure.ac
index bfe1803..9300544 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1711,11 +1711,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"
-- 
1.7.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]