[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

Kevin Mooney report at bugs.python.org
Mon May 18 12:14:35 EDT 2020


Kevin Mooney <knjmooney at gmail.com> added the comment:

Ok, I think I see. Is there a concern that removing the cpython/ prefix might lead to the wrong initconfig.h being included?

So your proposal is all includes in the root will do 

    #include "cpython/cpython_foo.h"

And any includes done in the cpython dir will be

    #include "cpython_foo.h"

Currently there's only one file in the cpython dir that includes another, which would explain why this has never come up before.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39026>
_______________________________________


More information about the Python-bugs-list mailing list