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.h tml?id=55336 (non-logged-in) or https://rt.cpan.org/Ticket/Display.h tml?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.
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.h
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.