From: Benoit Daloze Date: 2010-05-30T05:05:29+09:00 Subject: [ruby-core:30499] Re: [Bug #1296][Feedback] [trunk/22981] 64-bit issues on trunk in ext/zlib Hi, On 29 May 2010 20:06, Yusuke Endoh wrote: > Hi, > > Is this still reproduced? > I can't confirm as I don't have os x. �Could anyone confirm? > > -- > Yusuke Endoh If I understand well this 'bug', it is about the C warnings: 'warning: implicit conversion shortens 64-bit value into a 32-bit value' in 64-bit. Well, actually there are hundreds of them: $ cat make.log | grep 'warning: implicit conversion shortens 64-bit value into a 32-bit value' | wc -l #=> 375 Here is by file: $ cat make.log | grep 'warning: implicit conversion shortens 64-bit value into a 32-bit value' | ruby -e 'ARGF.read.lines.with_object(Hash.new(0)) {|l,h| h[l.split(":")[0]] += 1 }.each {|f,w| puts f+": #{w}"}' regcomp.c: 18 regexec.c: 19 regparse.c: 19 ./enc/emacs_mule.c: 1 ./enc/euc_jp.c: 2 ./enc/shift_jis.c: 1 ./enc/utf_16le.c: 1 ./enc/utf_32be.c: 1 ./enc/utf_32le.c: 1 dbm.c: 1 cfunc.c: 1 cptr.c: 2 generator.c: 28 nkf-utf8/nkf.c: 1 ossl.c: 2 ossl_asn1.c: 25 ossl_bio.c: 1 ossl_bn.c: 4 ossl_cipher.c: 3 ossl_hmac.c: 3 ossl_ns_spki.c: 4 ossl_ocsp.c: 8 ossl_pkcs12.c: 2 ossl_pkcs5.c: 2 ossl_pkcs7.c: 2 ossl_pkey.c: 1 ossl_pkey_dh.c: 4 ossl_pkey_dsa.c: 5 ossl_pkey_ec.c: 4 ossl_pkey_rsa.c: 8 ossl_rand.c: 3 ossl_ssl.c: 6 ossl_x509attr.c: 4 ossl_x509cert.c: 2 ossl_x509ext.c: 3 ossl_x509name.c: 4 ossl_x509req.c: 2 ossl_x509store.c: 4 _sdbm.c: 4 init.c: 9 strscan.c: 3 bytecode.re: 2 emitter.c: 2 implicit.re: 5 syck.c: 1 token.re: 15 tcltklib.c: 85 tkutil.c: 15 zlib.c: 32 It would indeed be nice to not have these warnings, but I suppose it is not so easy to solve. Regards, B.D.