[issue46303] _Py_stat and _Py_wstat using incorrect type for status argument

STINNER Victor report at bugs.python.org
Tue Jan 11 06:14:40 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

> While attempting to embed the full cpython source in my application, I found that during compilation on Windows, there was a compilation issue due to struct stat not being defined.

Do you get the error when building Python? Or on #include <Python.h> when using the Python C API?

How do you build Python? What is your C compiler?

Can you test if my proposed PR 30528 fix your issue?

----------

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


More information about the Python-bugs-list mailing list