manywarnings: port to GCC 8.0
commit36999acc31d168d32a0f992f4fd11027d24de594
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Apr 2018 05:29:48 +0000 (27 22:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Apr 2018 20:53:30 +0000 (28 13:53 -0700)
tree00863339e2a65ec5b17ed08df799c991c6d74115
parent37efd1c53621f26d935e5fb6d8e49dbe9a4cd8df
manywarnings: port to GCC 8.0

* build-aux/gcc-warning.spec: Add -Wcatch-value,
-Wclass-memaccess, -Wdo-subscript, -Wextra-semi.  Adjust to the
fact that the GCC help message now mentions operands for
-Warray-bounds, -Wformat, -Wformat-overflow, -Wformat-truncation,
-Wimplicit-fallthrough, -Wplacement-new, -Wshift-overflow,
-Wstrict-aliasing, -Wstrict-overflow, -Wstringop-overflow,
and -Wunused-const-variable.
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add -Wattribute-alias,
-Wcast-align=strict, -Wcast-function-type, -Wif-not-aligned,
-Wmissing-attributes, -Wmultistatement-macros,
-Wpacked-not-aligned, -Wsizeof-pointer-div, -Wstringop-truncation,
-Wsuggest-attribute=cold, -Wsuggest-attribute=malloc.
ChangeLog
build-aux/gcc-warning.spec
m4/manywarnings.m4