Opened 9 years ago
Last modified 9 years ago
#8818 new Bugs
Python compilation errors with mingw w64/gcc4.8.1
Reported by: | Owned by: | Ralf W. Grosse-Kunstleve | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
wrap_python is suppose to undef the evil hypot def by Python, but it doesn't work for mingw w64. Here's a patch which undefs hypot if it's defined at all.
This unfortunately does not fix all boost python compilation errors with Mingw w64/gcc4.8.1 (targetting x64 Windows).
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | wrap_python.hpp.patch added |
---|
comment:1 by , 9 years ago
Looking through the other errors, I actually think my problem is due to my system having the "official" Python Windows release, which IIRC is built with Visual Studio, thus meaning the library won't link properly. I'm guessing in theory compiling python with Mingw w64 and then compiling Boost Python off of that might work, though I can't say for sure.
patch to undef hypot for mingw w64 (caused by python)