Skip Menu |

This queue is for tickets about the File-Map CPAN distribution.

Report information
The Basics
Id: 74444
Status: resolved
Priority: 0/
Queue: File-Map

People
Owner: Nobody in particular
Requestors: AERO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.42
Fixed in: (no value)



Subject: File::Map 0.42 build fail on Windows
See http://www.cpantesters.org/cpan/report/9c6378b1-6bf3-1014-86c4-ea77e7cb7abd I've got the following error when building the module on Windows. lib\\File\\Map.xs:366: error: 'BITS32MASK' undeclared (first use in this function) At line Map.xs:355 #define BITS32_MASK 0xFFFFFFFF At line Map.xs:366 mapping = CreateFileMapping(file, NULL, winflags[prot].createflag, maxsize >> 32, maxsize & BITS32MASK, NULL); At line Map.xs:370 address = MapViewOfFile(mapping, viewflag, offset >> 32, offset & BITS32MASK, length); BITS32MASK should be changed to BITS32_MASK ??
On Fri Jan 27 08:05:25 2012, AERO wrote: Show quoted text
> See >
http://www.cpantesters.org/cpan/report/9c6378b1-6bf3-1014-86c4-ea77e7cb7abd Show quoted text
> > I've got the following error when building the module on Windows. > > lib\\File\\Map.xs:366: error: 'BITS32MASK' undeclared (first use in this > function) > > At line Map.xs:355 > #define BITS32_MASK 0xFFFFFFFF > > At line Map.xs:366 > mapping = CreateFileMapping(file, NULL, winflags[prot].createflag, > maxsize >> 32, maxsize & BITS32MASK, NULL); > > At line Map.xs:370 > address = MapViewOfFile(mapping, viewflag, offset >> 32, offset & > BITS32MASK, length); > > > > BITS32MASK should be changed to BITS32_MASK ??
Thank you for the clear bug report. Of course, it comes an hour after I released a new version. I blame Murphy! ;-) Yes, BITS32MASK should be changed to BITS32_MASK. I've just released version 0.44, which fixes this. Regards, Leon