develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128647] Windows MinGW-w64 pointer-integer size mismatch inextensions

Dan Collins
July 17, 2016 02:54
[perl #128647] Windows MinGW-w64 pointer-integer size mismatch inextensions
Message ID:
# New Ticket Created by  Dan Collins 
# Please include the string:  [perl #128647]
# in the subject line of all future correspondence about this issue. 
# <URL: >

There seems to be some issue with getting information from building core to building extensions in the build process. When building with the x86_64 version of GCC 4.9.3, I get a wide variety of compiler warnings, including:

Storable.xs:534:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

These are confined to POSIX.c, POSIX.xs, Socket.xs, and Storable.xs. Notably, there are no warnings like this in core, meaning that core agrees that PTRSIZE == IVSIZE == sizeof(IV*) == sizeof(IV) == 8. 

I've attached the relevant as well as a full log of dmake. Amazingly the tests do all pass, but these warnings in particular are concerning.

Dan Collins Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About