[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 08/10] Fix up a bunch of "gcc -Werror=sign-compare" compla
From: |
Jim Meyering |
Subject: |
Re: [PATCH v2 08/10] Fix up a bunch of "gcc -Werror=sign-compare" complaints |
Date: |
Wed, 5 Jan 2022 14:40:26 -0800 |
On Wed, Jan 5, 2022 at 9:46 AM Bruno Haible <bruno@clisp.org> wrote:
...
> 2022-01-05 Bruno Haible <bruno@clisp.org>
>
> 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.
Thanks for the carefully-considered response/patch and for sharing
your decision process.