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.
-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