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 <dcb...@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