* build-aux/gcc-warning.spec: Mention -Wuseless-cast as a special case.
---
 ChangeLog                  | 5 +++++
 build-aux/gcc-warning.spec | 1 +
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 83c053b734..76659f6a60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-10  Paul Eggert  <[email protected]>
+
+       manywarnings: fix -Wuseless-cast cataloging
+       * build-aux/gcc-warning.spec: Mention -Wuseless-cast as a special case.
+
 2026-05-10  Paul Eggert  <[email protected]>
 
        manywarnings: add -Wstringop-overflow=4
diff --git a/build-aux/gcc-warning.spec b/build-aux/gcc-warning.spec
index 07b0f3e1e3..f0843acc49 100644
--- a/build-aux/gcc-warning.spec
+++ b/build-aux/gcc-warning.spec
@@ -291,6 +291,7 @@
 -Wunused-variable                      enabled by -Wunused
 -Wuse-after-free                       handled specially by gl_MANYWARN_ALL_GCC
 -Wuse-after-free=<0,3>                 handled specially by gl_MANYWARN_ALL_GCC
+-Wuseless-cast                         handled specially by gl_MANYWARN_ALL_GCC
 -Wvarargs                              default
 -Wvla-larger-than=<number>             handled specially by gl_MANYWARN_ALL_GCC
 -Wvla-parameter                                enabled by -Wall
-- 
2.54.0


Reply via email to