From: Joel Brobecker <brobecker@adacore.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: ralf.corsepius@rtems.org, gdb-patches@sourceware.org,
jan.kratochvil@redhat.com, tromey@redhat.com
Subject: Re: GDB 6.8.92 available for testing
Date: Thu, 01 Oct 2009 19:40:00 -0000 [thread overview]
Message-ID: <20091001194034.GH6532@adacore.com> (raw)
In-Reply-To: <200910011836.n91IacEh027960@brahms.sibelius.xs4all.nl>
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
[switching to gcc-patches]
> Given that newer GCC versions get whinier and whinier and that we see
> false positives from time to time, I would be in favour of disabling
> -Werror for releases.
Makes sense to me. I've just committed the following patch on the branch,
after having re-built GDB on x86-linux, making sure that -Werror is no
longer used by default anymore. (this is the same patch than the one
I applied for GDB 6.6 by the way).
2009-10-01 Joel Brobecker <brobecker@adacore.com>
* configure.ac: Disable -Werror by default.
* configure: Regenerate.
I'll update my release procedure/scripts to do the same for future
releases.
--
Joel
[-- Attachment #2: werror.diff --]
[-- Type: text/x-diff, Size: 1200 bytes --]
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.106
diff -u -p -r1.106 configure.ac
--- configure.ac 10 Sep 2009 03:59:36 -0000 1.106
+++ configure.ac 1 Oct 2009 19:17:55 -0000
@@ -1510,11 +1510,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"
Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.288
diff -u -p -r1.288 configure
--- configure 10 Sep 2009 03:59:37 -0000 1.288
+++ configure 1 Oct 2009 19:17:59 -0000
@@ -13067,11 +13067,6 @@ if test "${enable_werror+set}" = set; th
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"
next parent reply other threads:[~2009-10-01 19:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090930204828.GB31446@adacore.com>
[not found] ` <4AC41F44.1040502@rtems.org>
[not found] ` <20091001170744.GC6532@adacore.com>
[not found] ` <4AC4E4F6.5080500@rtems.org>
[not found] ` <200910011733.n91HXDnX007084@brahms.sibelius.xs4all.nl>
[not found] ` <20091001182740.GG6532@adacore.com>
[not found] ` <200910011836.n91IacEh027960@brahms.sibelius.xs4all.nl>
2009-10-01 19:40 ` Joel Brobecker [this message]
[not found] ` <m3ljjva3tl.fsf@hase.home>
[not found] ` <002e01ca427a$5f1363b0$1d3a2b10$@u-strasbg.fr>
[not found] ` <m3bpkra1vk.fsf@hase.home>
[not found] ` <4AC49C67.9080502@rtems.org>
[not found] ` <20091001130909.GA30858@host0.dyn.jankratochvil.net>
[not found] ` <m3ske1st37.fsf@fleche.redhat.com>
2009-10-02 17:26 ` Jan Kratochvil
2009-10-02 17:38 ` Fix --with-system-readline vs. readline-6.0+ - gdb-7.0? [Re: GDB 6.8.92 available for testing] Jan Kratochvil
2009-10-02 17:49 ` Tom Tromey
2009-10-02 21:07 ` Joel Brobecker
[not found] ` <004701ca428e$fa377c50$eea674f0$@u-strasbg.fr>
[not found] ` <20091001172928.GE6532@adacore.com>
2009-10-01 21:22 ` [RFA] more fixes to testsuite (was RE: GDB 6.8.92 available for testing) Pierre Muller
2009-10-01 21:28 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091001194034.GH6532@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=mark.kettenis@xs4all.nl \
--cc=ralf.corsepius@rtems.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox