[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lib/malloca.c: warning about [-Wsign-compare]
From: |
Bruno Haible |
Subject: |
Re: lib/malloca.c: warning about [-Wsign-compare] |
Date: |
Thu, 22 Sep 2022 02:05:52 +0200 |
Bjarni Ingi Gislason wrote:
> > Please use the bug report template from
> > <https://lists.gnu.org/archive/html/bug-gnulib/2022-09/msg00111.html>.
> >
> Hi,
>
> you do not say for what you want (need) all this data.
I need all this data because
1) What appears to be a simple warning, to fix in malloca.c, is not like
this. We have code in place (in gnulib-tool and the *.m4 macros) whose
effect should be to neutralize -Wsign-compare options that you may have
in $CC, when compiling malloca.c. We will therefore NOT change malloca.c
to remove such a warning. Instead what needs to be done is to look why
the GL_CFLAG_GNULIB_WARNINGS mechanics does not work in your environment.
For this we need a "How to reproduce" of the whole package.
In summary: Don't assume that a question/report that looks simple to you
is simple to fix.
2) Several times already, you reported problems to us that were not repro-
ducible by me or Paul. I formulated the bug report template in such a
way that (hopefully) you will reproduce the problem in an directory that
was created and populated from scratch, before you report it to us.
> clang -I . -Wsign-compare -c lib/malloca.c
Invalid bug report. See above.
Bruno