[issue34593] Missing inttypes.h

2018-09-05 Thread Benjamin Peterson


Benjamin Peterson  added the comment:

Python 3.6 requires a C compiler that supports C99. So, not MSVC 2012.

--
nosy: +benjamin.peterson
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34593] Missing inttypes.h

2018-09-05 Thread Gary Simpson


New submission from Gary Simpson :

I started with Anaconda3 (python3.64). When I add #include "python.h" to my C++ 
code, I get the visual studio 2012 compile error:
anaconda3\include\pyport.h(6): fatal error C1083: Cannot open include file: 
'inttypes.h': No such file or directory

I then installed python 3.7, and put that include directory into my project. 
But I get the same error when I try to compile. 
python.h calls pyport.h, which tries to call inttypes.h, which it can't find. I 
searched and cannot find inttypes.h anywhere on my computer.

--
messages: 324656
nosy: garyrsimpson
priority: normal
severity: normal
status: open
title: Missing inttypes.h
type: compile error
versions: Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com