]> Savannah Git Hosting - gnulib.git/commit
manywarnings: improve port to GCC 10.1
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jul 2020 00:00:51 +0000 (17:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jul 2020 00:02:20 +0000 (17:02 -0700)
commit3831e2e9f355c557b0c0ed9712548b62feaf694f
tree2a38806efe9b05f11f7bded34d04c584ced45fe6
parent59eb037fc92e23bd6c6034b2a3343ac81f1bd318
manywarnings: improve port to GCC 10.1

* build-aux/gcc-warning.spec: Also list warnings that are default
or are enabled by already-given flags.  This lets us speed up
checking for attributes, and makes the generated compilation
commands shorter.  Add -Wanalyzer-too-complex (too much noise).
* m4/manywarnings.m4 (gl_MANYWARN_COMPLEMENT)
(gl_MANYWARN_ALL_GCC): Use gl_AS_VAR_APPEND to append
to shell variables that may have long values.
(gl_MANYWARN_ALL_GCC): Omit flags that are default or are
consequences of other flags, to speed up checking and
shorten commands.
ChangeLog
build-aux/gcc-warning.spec
m4/manywarnings.m4