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 | 6 ++++++ build-aux/gcc-warning.spec | 2 ++ 2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog index 0cabe96623..6084329d2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2025-08-11 Paul Eggert <[email protected]> + 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. diff --git a/build-aux/gcc-warning.spec b/build-aux/gcc-warning.spec index 926895883a..6563a62926 100644 --- a/build-aux/gcc-warning.spec +++ b/build-aux/gcc-warning.spec @@ -238,6 +238,7 @@ -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 @@ -256,6 +257,7 @@ -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 -- 2.50.1
