bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk-5.1.1 bug report


From: arnold
Subject: Re: gawk-5.1.1 bug report
Date: Tue, 05 Apr 2022 23:18:29 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Hi.

Thanks for the report.  I am cc'ing the GNULIB guys, as they
are the upstream for dfa.c.  In the meantime, I will make this
change in gawk.

Thanks!

Arnold

David Binderman <dcb314@hotmail.com> wrote:

> Hello there,
>
> I just tried to compile gawk-5.1.1 with new clang-14. It said
>
>  dfa.c:1093:27: warning: use of bitwise '&' with boolean operands 
> [-Wbitwise-instead-of-logical]
>
> Source code is
>
>               || (isasciidigit (c) & isasciidigit (c2)))
>
> Maybe better code is
>
>               || (isasciidigit (c) && isasciidigit (c2)))
>
> Regards
>
> David Binderman
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]