Opened 7 years ago
#11326 new Bugs
Suggested patch for boost 1.58.0 and Python 3 < 3.4 breaks build for 3.4
Reported by: | Owned by: | Ralf W. Grosse-Kunstleve | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.58.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Both the suggested patch: http://www.boost.org/patches/1_58_0/0001-Fix-exec_file-for-Python-3-3.4.patch
and the fix in git: https://github.com/boostorg/python/commit/3e405b6fd5db5615bbef241763de070118222ca7
break the build for Python 3.4.
The reason is that the check for Python >= 3.4 is wrong.
It is:
#if PY_VERSION_HEX >= 0x03400000
but it should be:
#if PY_VERSION_HEX >= 0x03040000
Note:
See TracTickets
for help on using tickets.