[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

Václav Šmilauer report at bugs.python.org
Tue Oct 30 11:19:42 CET 2012


Václav Šmilauer added the comment:

Just for the record: a workaround (mentioned at http://boost.2283326.n4.nabble.com/Boost-Python-Compile-Error-s-GCC-via-MinGW-w64-td3165793.html#a3166760) is to always include <cmath> before <Python.h>.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11566>
_______________________________________


More information about the Python-bugs-list mailing list