]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
manywarnings: update C warnings for GCC 15.2
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 12 Aug 2025 03:11:51 +0000 (20:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 12 Aug 2025 03:13:08 +0000 (20:13 -0700)
This is merely changes to commentary; no changes to
the flags passed to GCC.
* build-aux/gcc-warning.spec: Add warnings introduced in GCC 15.2.

ChangeLog
build-aux/gcc-warning.spec

index 0cabe966237f88a8121cf131b16ec63b51903a33..6084329d2e261c842e172171f9facebf1e8e2761 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2025-08-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       manywarnings: update C warnings for GCC 15.2
+
+       This is merely changes to commentary; no changes to
+       the flags passed to GCC.
+       * build-aux/gcc-warning.spec: Add warnings introduced in GCC 15.2.
+
        Prefer readlink to lstat+S_ISLNK when easy
        To test for a symlink, use readlink, not lstat+S_ISLNK,
        when the lstat is used only for the symlink test.
index 926895883ab07617bb17f36721c1a2fc54e6a606..6563a62926b8e80df3064a285ea5734bff523139 100644 (file)
 -Wlong-long                            obsolescent
 -Wlto-type-mismatch                    c++ and objc++
 -Wmain                                 enabled by -Wall
+-Wmaybe-musttail-local-addr            enabled by -Wextra
 -Wmaybe-uninitialized                  enabled by -Wall or -Wextra
 -Wmemset-elt-size                      enabled by -Wall
 -Wmemset-transposed-args               enabled by -Wall
 -Wmissing-profile                      default
 -Wmissing-requires                     default, c++
 -Wmissing-template-keyword             default, c++
+-Wmusttail-local-addr                  default
 -Wmultichar                            default
 -Wmultiple-inheritance                 c++ and objc++
 -Wmultistatement-macros                        enabled by -Wall