[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

Bert JW Regeer report at bugs.python.org
Mon Jan 30 18:52:18 CET 2012


Bert JW Regeer <bertjw at regeer.org> added the comment:

In my first comment on this bug post I posted what project has issues with this, Botan with Boost.Python on FreeBSD and Mac OS X.

If required I will post how to reproduce this error using that project. If you would prefer a simplified test case, unfortunately I don't have the time to dig into that and find one.

One way to solve it is by including the Python header before any other file, however this is not an option for most 3rd party software that never sees this bug because those functions are not redefined for Linux...

----------

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


More information about the Python-bugs-list mailing list