]> Savannah Git Hosting - gnulib.git/commit
manywarnings: update C warnings for GCC 12
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 May 2022 22:13:04 +0000 (15:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 May 2022 22:14:22 +0000 (15:14 -0700)
commitefa0065f1682f53fb15ad427555ddedec6ec51eb
treeefed320353a585a10ff6963a173faa02bfc0abc8
parent44092ee9761177660d57237d3334a645e1fab3c1
manywarnings: update C warnings for GCC 12

Adjust for C programs compiled by GCC 12.
(A C++ expert still needs to look at manywarnings-c++.m4.)
* build-aux/gcc-warning.spec: Add warnings introduced in GCC 12.
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add -Wbidi-chars=any,ucn
and -Wuse-after-free=3.  Although not enabled by -Wall or -Wextra
they seem suitable for Gnulib-using C code.
ChangeLog
build-aux/gcc-warning.spec
m4/manywarnings.m4