develooper Front page | perl.perl5.porters | Postings from March 2020

Re: chained comparisons

Thread Previous | Thread Next
Zefram via perl5-porters
March 27, 2020 20:01
Re: chained comparisons
Message ID:
James E Keenan wrote:

Looks like that depends on the number of opcodes, not on any details of
the opcodes.  Specifically the number of opcodes mod 8, which by chance
with the chained comparison patch has become zero.  The value zero for the
resulting constant, reported by the warning, is in fact the desired value.
In general the code is correct (given the -fwrapv option).  The warning
should be silenced by adding some explicit casting.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About