STINNER Victor <vstin...@python.org> added the comment:

Having two header files with the same name in two directories which are part of 
the include directories is causing issues like this one :-(

For the internal C API, I solve the issue by adding "pycore_" prefix to 
filenames.

Maybe pystate.h should be renamed to cpython_pystate.h to avoid to fix the 
issue. It would include cpython_initconfig.h.

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40642>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to