From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: Re: [PATCH 1/2] [gdb/build] Put warnings one per line
Date: Tue, 24 Nov 2026 15:14:59 +0100 [thread overview]
Message-ID: <7dffd177-849a-461d-813c-599ff2bcd8e3@suse.de> (raw)
In-Reply-To: <20261028104110.1700720-2-tdevries@suse.de>
On 10/28/26 11:41 AM, Tom de Vries wrote:
> Commit df3eb64a53c ("gdbsupport: re-format and sort warning flags") put each
> warning on its own line, except for one: -Wno-error=maybe-uninitialized.
>
> Fix this.
I've rebased and pushed this.
Thanks,
- Tom
> ---
> gdb/configure | 3 ++-
> gdbserver/configure | 3 ++-
> gdbsupport/configure | 3 ++-
> gdbsupport/warning.m4 | 3 ++-
> 4 files changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/gdb/configure b/gdb/configure
> index e747ffce49f..07bf6edf1d1 100755
> --- a/gdb/configure
> +++ b/gdb/configure
> @@ -31159,8 +31159,9 @@ build_warnings=" \
> -Wmissing-declarations \
> -Wno-char-subscripts \
> -Wno-error=deprecated-register \
> +-Wno-error=maybe-uninitialized \
> -Wno-mismatched-tags \
> --Wno-sign-compare -Wno-error=maybe-uninitialized \
> +-Wno-sign-compare \
> -Wno-switch \
> -Wno-unused \
> -Wpointer-arith \
> diff --git a/gdbserver/configure b/gdbserver/configure
> index e00e1e1c1c5..725c28e19ad 100755
> --- a/gdbserver/configure
> +++ b/gdbserver/configure
> @@ -12889,8 +12889,9 @@ build_warnings=" \
> -Wmissing-declarations \
> -Wno-char-subscripts \
> -Wno-error=deprecated-register \
> +-Wno-error=maybe-uninitialized \
> -Wno-mismatched-tags \
> --Wno-sign-compare -Wno-error=maybe-uninitialized \
> +-Wno-sign-compare \
> -Wno-switch \
> -Wno-unused \
> -Wpointer-arith \
> diff --git a/gdbsupport/configure b/gdbsupport/configure
> index 7ed4e259ffe..31e9732ed1a 100755
> --- a/gdbsupport/configure
> +++ b/gdbsupport/configure
> @@ -13892,8 +13892,9 @@ build_warnings=" \
> -Wmissing-declarations \
> -Wno-char-subscripts \
> -Wno-error=deprecated-register \
> +-Wno-error=maybe-uninitialized \
> -Wno-mismatched-tags \
> --Wno-sign-compare -Wno-error=maybe-uninitialized \
> +-Wno-sign-compare \
> -Wno-switch \
> -Wno-unused \
> -Wpointer-arith \
> diff --git a/gdbsupport/warning.m4 b/gdbsupport/warning.m4
> index 3148feb740a..7cae9996765 100644
> --- a/gdbsupport/warning.m4
> +++ b/gdbsupport/warning.m4
> @@ -47,8 +47,9 @@ build_warnings=" \
> -Wmissing-declarations \
> -Wno-char-subscripts \
> -Wno-error=deprecated-register \
> +-Wno-error=maybe-uninitialized \
> -Wno-mismatched-tags \
> --Wno-sign-compare -Wno-error=maybe-uninitialized \
> +-Wno-sign-compare \
> -Wno-switch \
> -Wno-unused \
> -Wpointer-arith \
next prev parent reply other threads:[~2026-11-24 14:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 10:41 [PATCH 0/2] [gdb/build] Two gdbsupport/warning.m4 updates Tom de Vries
2026-10-28 10:41 ` [PATCH 1/2] [gdb/build] Put warnings one per line Tom de Vries
2026-11-24 14:14 ` Tom de Vries [this message]
2026-10-28 10:41 ` [PATCH 2/2] [gdb/build] Rework warnings order Tom de Vries
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=7dffd177-849a-461d-813c-599ff2bcd8e3@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/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