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

Paul Campbell: "The changes in the main branch gets me past this issue without 
having to make additional changes."

Ok, nice. I close the issue.

I consider that building Python with clang is a new feature. I prefer to not 
backport these changes to 3.9 and 3.10 to avoid any risk of regression.

I wrote GH-30528: simple fix for Python 3.10, but I don't know if it works. I 
don't know how to test my change. It seems like clang is not commonly used on 
Windows, so I close the issue.

If someone wants me to fix build issues with clang on Windows, please comment 
this issue or open a new issue with an error message and a detailed use case.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
title: _Py_stat and _Py_wstat using incorrect type for status argument -> 
Building Python with clang on Windows fails on _Py_stat(): struct stat is not 
defined

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

Reply via email to