Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows MinGW-w64 pointer-integer size mismatch in extensions #15456

Open
p5pRT opened this issue Jul 17, 2016 · 3 comments
Open

Windows MinGW-w64 pointer-integer size mismatch in extensions #15456

p5pRT opened this issue Jul 17, 2016 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 17, 2016

Migrated from rt.perl.org#128647 (status was 'new')

Searchable as RT128647$

@p5pRT
Copy link
Author

p5pRT commented Jul 17, 2016

From @dcollinsn

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 mingw-w64.org 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 makefile.mk as well as a full log of dmake. Amazingly the tests do all pass, but these warnings in particular are concerning.

--
Respectfully,
Dan Collins

@p5pRT
Copy link
Author

p5pRT commented Jul 17, 2016

From @dcollinsn

makefile.mk

@p5pRT
Copy link
Author

p5pRT commented Jul 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants