This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rdb
Recipients rdb
Date 2017-01-11.18:11:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484158307.25.0.0951457804811.issue29244@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.6 now requires inttypes.h on all platforms.  However, this is not provided by MSVC 2010 and 2012, which is still used by some people who build extension modules for Python.

MSVC 2010 does provide stdint.h, and replacing the inttypes.h include with an include to stdint.h seems to work fine.

I would suggest a fix along the lines of this:

#if defined(_MSC_VER) && _MSC_VER < 1800
#include <stdint.h>
#else
#include <inttypes.h>
#endif

Alternatively, the HAVE_INTTYPES_H definition could be used to fall back to stdint.h, and it could be undefined for the MSVC build.
History
Date User Action Args
2017-01-11 18:11:47rdbsetrecipients: + rdb
2017-01-11 18:11:47rdbsetmessageid: <1484158307.25.0.0951457804811.issue29244@psf.upfronthosting.co.za>
2017-01-11 18:11:47rdblinkissue29244 messages
2017-01-11 18:11:47rdbcreate