Jeff Robbins <je...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14387>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to