From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 1/2] [gdb/build] Put warnings one per line
Date: Wed, 28 Oct 2026 11:41:09 +0100 [thread overview]
Message-ID: <20261028104110.1700720-2-tdevries@suse.de> (raw)
In-Reply-To: <20261028104110.1700720-1-tdevries@suse.de>
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.
---
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 \
--
2.51.0
next prev parent reply other threads:[~2026-10-28 10:41 UTC|newest]
Thread overview: 3+ 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 ` 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=20261028104110.1700720-2-tdevries@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