You CANNOT assume that sizeof(void*) and sizeof(long int) are equal and expect your module to compile in a Win32 environment with 64-bit (x64/amd64/Intel64, etc...) compilers - at least if gcc is the compiler that's being used with Perl.

The reason is that it isn't! sizeof(void*) == 8, sizeof(long int) == 4 in this case.

We have a tracking bug in Perl-Dist-Strawberry that we call "the bitness of the why" that tracks modules that we'd like to see fixed with regard to this and other 64-bit issues. It's at http://rt.cpan.org/Public/Bug/Display.html?id=55336 (non-logged-in) or https://rt.cpan.org/Ticket/Display.html?id=55336 (logged-in) if you want to look at it.

If you have a module that you expect to work on 64-bit Strawberry Perl, you should be able to install the 64-bit 5.12.0-RC0 beta, and try to install your module there. Some may already be - that means that they compile, and probably pass their tests. you++!

kmx is doing a lot of the work in this regard, and I thank him for it.

Profile

csjewell

June 2011

S M T W T F S
   1234
567891011
12131415161718
192021 22232425
2627282930  

Style Credit

Syndicate

RSS Atom
Page generated Aug. 20th, 2014 02:35 pm
Powered by Dreamwidth Studios

Expand Cut Tags

No cut tags

Most Popular Tags