Sébastien Gallou added the comment:
Thanks Steve for your quick answer.
It's now clear for me.
I will then apply this workaround :
#ifdef PYTHON_USE_SOURCES
#include <Python.h>
#else
#if defined WIN32 && defined _DEBUG
#undef _DEBUG // Undef _DEBUG to use only release version of Python.lib.
The debug version of Python.lib is not provided with the Windows installer
version (https://www.python.org/downloads/windows/)
#include <Python.h>
#define _DEBUG
#else
#include <Python.h>
#endif
#endif // PYTHON_USE_SOURCES
Sébastien Gallou
----------
resolution: -> not a bug
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23393>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com