[issue14387] Include\accu.h incompatible with Windows.h

Stefan Krah report at bugs.python.org
Thu Mar 22 21:14:57 CET 2012


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

To prevent further confusion. :)

db154e62ac03 -> OK
5fe7d19ec49a -> failure

5fe7d19ec49a with #undef patch -> OK


So I don't know if it is better to revert to db154e62ac03 or
to use the #undef patch.


Jeff, you originally said:

'An extension which includes both Windows.h and Python.h won't compile   due to the Windows.h definition of "small".'


Did you include Python.h before or after Windows.h? Extensions
are supposed to include Python.h before anything else.

----------

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


More information about the Python-bugs-list mailing list