develooper Front page | perl.perl5.porters | Postings from June 2015

Re: Coverity finding: shift by negative

Thread Previous | Thread Next
From:
Abigail
Date:
June 23, 2015 13:21
Subject:
Re: Coverity finding: shift by negative
Message ID:
20150623132127.GD4011@almanda.fritz.box
On Tue, Jun 23, 2015 at 08:55:05AM -0400, Ricardo Signes wrote:
> 
> How big is big enough to warn?  Either 32, because your program would be
> affected if run on a 32-bit perl (even though you aren't) or maxbits, because
> it is affected in this runtime.


I'd really hate it if a program starts warning for something that
has a theoretical chance of happening, when you know very well in
reality it will never.

Warn me if I actually run with a 32-bit perl, not because I may want
to drag out and compile 5.004 (or whatever version it was that wasn't
able to deal with 64 bit integers) and run my program on.


Abigail

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About