This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Enable by default -Werror just for bootstrap-debug.mk.
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Martin Liška <mliska at suse dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 19 May 2017 13:24:49 +0200
- Subject: Re: [PATCH] Enable by default -Werror just for bootstrap-debug.mk.
- Authentication-results: sourceware.org; auth=none
- References: <566a1311-c7ee-daef-a7fa-b39590013406@suse.cz>
On Wed, May 17, 2017 at 10:45 AM, Martin Liška <mliska@suse.cz> wrote:
> Hi.
>
> As discussed on IRC some time ago, there are configurations that produce -Werror=maybe-uninitialized
> and other warnings that break bootstrap. So that, the patch makes -Werror just for default (boostrap-debug)
> configuration.
>
> Ready for trunk?
Hmm, this enables werror on release branches. I think we also want to
enable Werror for
--without-build-config (or =yes and =no), thus regular bootstrap
without bootstrap-debug.
Richard.
> Martin