]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool: Avoid known warnings that reflect Gnulib's coding style.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Jan 2022 17:21:55 +0000 (18:21 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 5 Jan 2022 17:21:55 +0000 (18:21 +0100)
commit0c8a563f65d44752b33aec42cceec25bd485f2d5
tree877836cb122dddee5be66059e3d12ff442045bd0
parent87e6634b28df65084321fed22f60d114a0931d21
gnulib-tool: Avoid known warnings that reflect Gnulib's coding style.

* m4/gnulib-common.m4 (gl_CC_GNULIB_WARNINGS): New macro.
* gnulib-tool (func_emit_lib_Makefile_am): Add the
GL_CFLAG_GNULIB_WARNINGS to the CFLAGS of all the compilation units of
the library.
(func_emit_tests_Makefile_am): Add the GL_CFLAG_GNULIB_WARNINGS to the
CFLAGS.
(func_import): Emit an invocation of gl_CC_GNULIB_WARNINGS.
ChangeLog
gnulib-tool
m4/gnulib-common.m4