diff options
author | Sisyphus <sisyphus1@optusnet.com.au> | 2013-04-21 03:41:23 -0700 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2013-04-21 22:22:39 +0100 |
commit | 2ac1dd082a7da7efc20dfaf7b7d4fe145efce0b9 (patch) | |
tree | 6e8b6b602ecaec4c715006e084d455854bef74bd /hv_func.h | |
parent | de3d8d88951e2d9f415d60a16d0dad02a140f92a (diff) | |
download | perl-2ac1dd082a7da7efc20dfaf7b7d4fe145efce0b9.tar.gz |
perl-5.17.11 fails to build with x64 mingw64 (gcc-4.7.0)
# New Ticket Created by "Sisyphus"
# Please include the string: [perl #117687]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117687 >
This is a bug report for perl from sisyphus@OWNER-PC311012,
generated with the help of perlbug 1.39 running under perl 5.17.11.
-----------------------------------------------------------------
[Please describe your issue here]
This is essentially a repeat of a post sent to p5p on March 24 2013
titled "[Win32] perl-5.17.10 fails to build with x64 mingw64 (gcc-4.7.0)"
The issue still exists for 5.17.11 (for me).
The error I get is:
In file included from ../hv.h:570:0,
from ../perl.h:3480,
from perllib.c:10:
../hv_func.h: In function 'U32 S_perl_hash_murmur3(const unsigned char*,
const u
nsigned char*, STRLEN)':
../hv_func.h:395:20: error: cast from 'const unsigned char*' to 'long int'
loses
precision [-fpermissive]
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Diffstat (limited to 'hv_func.h')
-rw-r--r-- | hv_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -392,7 +392,7 @@ S_perl_hash_murmur3(const unsigned char * const seed, const unsigned char *ptr, /* This CPU does not handle unaligned word access */ /* Consume enough so that the next data byte is word aligned */ - int i = -(long)ptr & 3; + int i = -(IV)ptr & 3; if(i && (STRLEN)i <= len) { MURMUR_DOBYTES(i, h1, carry, bytes_in_carry, ptr, len); } |