develooper Front page | perl.perl5.porters | Postings from May 2007

Re: Change 31309: Silence a couple of VC++ compiler warnings

Thread Previous | Thread Next
From:
Steve Hay
Date:
May 30, 2007 01:57
Subject:
Re: Change 31309: Silence a couple of VC++ compiler warnings
Message ID:
465D3C91.1020600@uk.radan.com
Rafael Garcia-Suarez wrote:
> Steve Hay wrote in perl.perl5.changes :
>> Change 31309 by steveh@mugwump on 2007/05/30 07:38:30
>>
>> 	Silence a couple of VC++ compiler warnings
> 
> Failed Test                               Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> ../ext/Math/BigInt/FastCalc/t/bigintfc.t     2   512   359  718  1-359
> ../ext/Math/BigInt/FastCalc/t/bootstrap.t    2   512     1    2  1
> ../ext/Math/BigInt/FastCalc/t/leak.t       255 65280    22   44  1-22
> 
> I don't know why. Maybe this should be a signed integer after all?
> What are the warnings you're getting?

Sorry about that. These tests definitely pass on my system with the 
patch applied, though.

The warnings were:

FastCalc.xs(80) : warning C4244: '=' : conversion from 'double' to 
'int', possible loss of data
FastCalc.xs(81) : warning C4018: '>' : signed/unsigned mismatch

-- 

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