I think there might be better places to discuss compiler warnings than
the gmp-bugs list.
I think most of us agree that compiler warnings for valid C code are
sometimes useful. For example, valid warnings about unitialised
variables seem pretty uncontroversial.
But please continue the
> On 10 Feb 2021, at 23:55, Stephan Pleines wrote:
>
> Can you please elaborate why it is a compiler bug?
It is a legal C feature, so there should not be issued a warning.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
Can you please elaborate why it is a compiler bug?
On Wed, Feb 10, 2021 at 2:00 PM Hans Åberg wrote:
> You do not say which compiler it is, but it looks like a clang bug.
>
>
> > On 10 Feb 2021, at 17:26, Stephan Pleines
> wrote:
> >
> > Hi,
> >
> > This is a tiny patch to suppress a warning
You do not say which compiler it is, but it looks like a clang bug.
> On 10 Feb 2021, at 17:26, Stephan Pleines wrote:
>
> Hi,
>
> This is a tiny patch to suppress a warning about operator precedence.
>
> Thank you,
> Stephan
>
> diff -r 925753a1f950 mpz/pprime_p.c
> --- a/mpz/pprime_p.c