[issue14387] Include\accu.h incompatible with Windows.h
Jeff Robbins
report at bugs.python.org
Thu Mar 22 21:29:22 CET 2012
Jeff Robbins <jeffr at livedata.com> added the comment:
Stefan asked
'Did you include Python.h before or after Windows.h? Extensions
are supposed to include Python.h before anything else. '
I downloaded http://code.google.com/p/apsw/ to test it out on the latest sqlite release. I followed the build instructions on its website and discovered this problem.
While the code isn't mine, inspecting apsw.c, the main source file, I can see that the sqlite "amalgamation" is included BEFORE Python.h. It is this "amalgamation" that, in turn, includes Windows.h.
Should I contact the extension's author(s)/maintainer(s) and tell them about this ordering requirement?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14387>
_______________________________________
More information about the Python-bugs-list
mailing list