On 2015-03-12 04:33:39, JHI wrote:
Show quoted text> Compilation noise from 1.9726 in OS X, with bleadperl:
>
> HiRes.xs:1250:18: warning: comparison of integers of different signs:
> 'clock_t' (aka 'unsigned long') and 'int'
> [-Wsign-compare]
> RETVAL = clocks == -1 ? -1 : (NV)clocks / (NV)CLOCKS_PER_SEC;
> ~~~~~~ ^
>
> This is because clock_t is unsigned in OS X. Casting the -1 (both of
> them) to (clocks_t) makes the warning go away.
I don't see this under 5.21.10 (OSX 10.10.2):
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.82 ... Yes (1.001014)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.05_19)
Checking if you have Config 0 ... Yes (5.021010)
Checking if you have Exporter 0 ... Yes (5.72)
Checking if you have strict 0 ... Yes (1.09)
Checking if you have DynaLoader 0 ... Yes (1.32)
Checking if you have Carp 0 ... Yes (1.36)
Building and testing Time-HiRes-1.9726 ... Running Mkbootstrap for HiRes ()
chmod 644 "HiRes.bs"
"/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.10/bin/perl5.21.10" -MExtUtils::Command::MM -e 'cp_nonempty' -- HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs 644
"/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.10/bin/perl5.21.10" "/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.10/lib/5.21.10/ExtUtils/xsubpp" -typemap '/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.10/lib/5.21.10/ExtUtils/typemap' -typemap '/Volumes/amaretto/Users/ether/.cpanm/work/1427488302.31648/Time-HiRes-1.9726/typemap' HiRes.xs > HiRes.xsc
mv HiRes.xsc HiRes.c
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3 -DVERSION=\"1.9726\" -DXS_VERSION=\"1.9726\" "-I/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.10/lib/5.21.10/darwin-2level/CORE" -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK -DTIME_HIRES_STAT=1 -DATLEASTFIVEOHOHFIVE HiRes.c -o HiRes.o
rm -f blib/arch/auto/Time/HiRes/HiRes.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/opt/local/lib -fstack-protector -o blib/arch/auto/Time/HiRes/HiRes.bundle HiRes.o \
\
chmod 755 blib/arch/auto/Time/HiRes/HiRes.bundle