On 2008/07/09 09:28, Kevin Lo wrote:
> Stuart Henderson wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: [EMAIL PROTECTED]       2008/07/08 17:04:43
> > 
> > Modified files:
> >     archivers/p5-Compress-Raw-Zlib: Makefile distinfo 
> > 
> > Log message:
> > update to 2.0.11
> > - fix comment(!)
> > 
> > from Giovanni Bechis
> 
> Shouldn't thoese warnings be fixed on amd64?

They're common to a bunch of XS modules, coming from the Move macro
defined in src/gnu/usr.bin/perl/handy.h:659

620 #define MEM_WRAP_CHECK(n,t) MEM_WRAP_CHECK_1(n,t,PL_memory_wrap)
621 #define MEM_WRAP_CHECK_1(n,t,a) \
622     (void)(sizeof(t) > 1 && (n) > ((MEM_SIZE)~0)/sizeof(t) && 
(Perl_croak_nocontext(a),0))
623 #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),

...

659 #define Move(s,d,n,t)   (MEM_WRAP_CHECK_(n,t) 
(void)memmove((char*)(d),(const char*)(s), (n) * sizeof(t)))

p5-Class-Data-Inheritable-0.08.log:src/libnet_checksum.c:200: warning: 
comparison is always false due to limited range of data typecc -O2 -pipe   
-DHAVE_CONFIG_H -c src/libnet_version.c -o src/libnet_version.o
p5-Compress-Raw-Zlib-2.008.log:Zlib.xs:1384: warning: comparison is always 
false due to limited range of data type
p5-Compress-Raw-Zlib-2.008.log:Zlib.xs:1446: warning: comparison is always 
false due to limited range of data type
p5-Compress-Raw-Zlib-2.008.log:Zlib.xs:1690: warning: comparison is always 
false due to limited range of data type
p5-DBD-mysql-4.005.log:mysql.xs:315: warning: comparison is always false due to 
limited range of data type
p5-DBD-mysql-4.005.log:mysql.xs:316: warning: comparison is always false due to 
limited range of data type
p5-Digest-MD2-2.03.log:MD2.xs:192: warning: comparison is always false due to 
limited range of data type
p5-JSON-XS-2.21.log:XS.xs:1209: warning: comparison is always false due to 
limited range of data type
p5-Unicode-Map8-0.12.log:Map8.xs:201: warning: comparison is always false due 
to limited range of data type
p5-XML-Parser-2.34p0.log:Expat.xs:501: warning: comparison is always false due 
to limited range of data type
p5-XML-Parser-2.34p0.log:Expat.xs:2043: warning: comparison is always false due 
to limited range of data type
p5-XML-Parser-2.34p0.log:Expat.xs:2044: warning: comparison is always false due 
to limited range of data type
p5-XML-SAX-ExpatXS-1.20p0.log:ExpatXS.xs:2060: warning: comparison is always 
false due to limited range of data type
p5-XML-SAX-ExpatXS-1.20p0.log:ExpatXS.xs:2061: warning: comparison is always 
false due to limited range of data type

So I think, if they should be silenced, they need to be silenced
in Perl rather than the individual ports ..

Reply via email to