* [RFA/6.5 branch] make -Werror no longer the default
@ 2006-05-25 17:22 Joel Brobecker
2006-06-02 19:14 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2006-05-25 17:22 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
Hello,
As discussed previously, the attached patch removes the section
of the configure script that makes -Werror the default. This is for
the GDB 6.5 branch only; and the intent is to avoid causing a build
failure for users who might build the release on systems where all
warnings haven't been eliminated yet.
2006-05-25 Joel Brobecker <brobecker@adacore.com>
* configure.ac: -Werror is no longer enabled by default.
* configure: Regenerate.
Tested on x86-linux by configure+build a first time before change,
noticing -Werror in the compilation commands, then modifying configure,
and seeing the absence of -Werror during the re-build.
OK to apply?
Thanks,
--
Joel
[-- Attachment #2: werror.diff --]
[-- Type: text/plain, Size: 632 bytes --]
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.31
diff -u -p -r1.31 configure.ac
--- configure.ac 29 Mar 2006 22:58:54 -0000 1.31
+++ configure.ac 25 May 2006 16:22:31 -0000
@@ -1122,11 +1122,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"
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [RFA/6.5 branch] make -Werror no longer the default
2006-05-25 17:22 [RFA/6.5 branch] make -Werror no longer the default Joel Brobecker
@ 2006-06-02 19:14 ` Joel Brobecker
2006-06-02 19:16 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2006-06-02 19:14 UTC (permalink / raw)
To: gdb-patches
Hello maintainers,
I was wondering if this patch could be reviewed in the near future,
because I'm waiting for this to be approved before creating the first
pre-release snapshot...
Thanks!
On Thu, May 25, 2006 at 09:27:35AM -0700, Joel Brobecker wrote:
> Hello,
>
> As discussed previously, the attached patch removes the section
> of the configure script that makes -Werror the default. This is for
> the GDB 6.5 branch only; and the intent is to avoid causing a build
> failure for users who might build the release on systems where all
> warnings haven't been eliminated yet.
>
> 2006-05-25 Joel Brobecker <brobecker@adacore.com>
>
> * configure.ac: -Werror is no longer enabled by default.
> * configure: Regenerate.
>
> Tested on x86-linux by configure+build a first time before change,
> noticing -Werror in the compilation commands, then modifying configure,
> and seeing the absence of -Werror during the re-build.
>
> OK to apply?
>
> Thanks,
> --
> Joel
> Index: configure.ac
> ===================================================================
> RCS file: /cvs/src/src/gdb/configure.ac,v
> retrieving revision 1.31
> diff -u -p -r1.31 configure.ac
> --- configure.ac 29 Mar 2006 22:58:54 -0000 1.31
> +++ configure.ac 25 May 2006 16:22:31 -0000
> @@ -1122,11 +1122,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"
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [RFA/6.5 branch] make -Werror no longer the default
2006-06-02 19:14 ` Joel Brobecker
@ 2006-06-02 19:16 ` Daniel Jacobowitz
2006-06-02 19:39 ` Jim Blandy
2006-06-02 21:13 ` Joel Brobecker
0 siblings, 2 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2006-06-02 19:16 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Fri, Jun 02, 2006 at 12:14:32PM -0700, Joel Brobecker wrote:
> Hello maintainers,
>
> I was wondering if this patch could be reviewed in the near future,
> because I'm waiting for this to be approved before creating the first
> pre-release snapshot...
It's OK. Sorry, I didn't realize you were waiting. You're the release
manager; as far as I'm concerned, you have carte blanche on the release
branch.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFA/6.5 branch] make -Werror no longer the default
2006-06-02 19:16 ` Daniel Jacobowitz
@ 2006-06-02 19:39 ` Jim Blandy
2006-06-02 21:13 ` Joel Brobecker
1 sibling, 0 replies; 5+ messages in thread
From: Jim Blandy @ 2006-06-02 19:39 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
Daniel Jacobowitz <drow@false.org> writes:
> On Fri, Jun 02, 2006 at 12:14:32PM -0700, Joel Brobecker wrote:
>> Hello maintainers,
>>
>> I was wondering if this patch could be reviewed in the near future,
>> because I'm waiting for this to be approved before creating the first
>> pre-release snapshot...
>
> It's OK. Sorry, I didn't realize you were waiting. You're the release
> manager; as far as I'm concerned, you have carte blanche on the release
> branch.
That was my understanding as well.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFA/6.5 branch] make -Werror no longer the default
2006-06-02 19:16 ` Daniel Jacobowitz
2006-06-02 19:39 ` Jim Blandy
@ 2006-06-02 21:13 ` Joel Brobecker
1 sibling, 0 replies; 5+ messages in thread
From: Joel Brobecker @ 2006-06-02 21:13 UTC (permalink / raw)
To: gdb-patches
> It's OK.
Thank you for jumping in. This change is now in.
> Sorry, I didn't realize you were waiting. You're the release manager;
> as far as I'm concerned, you have carte blanche on the release branch.
Understood, thanks!
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-02 21:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-25 17:22 [RFA/6.5 branch] make -Werror no longer the default Joel Brobecker
2006-06-02 19:14 ` Joel Brobecker
2006-06-02 19:16 ` Daniel Jacobowitz
2006-06-02 19:39 ` Jim Blandy
2006-06-02 21:13 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox