Message410306
I was trying to build python core (-DMS_WINDOWS -DPy_BUILD_CORE). I was using clang, which I think is unsupported looking at Windows doc. After looking at the issue though, it seemed that it was just some slight mistake which is why I filed the bug.
clang version 13.0.0
Target: x86_64-pc-windows-msvc
Thread model: posix
I can test to see if it fixes the immediate build problem, but I still find your fix not quite addressing the issue which I initially tried to create a patch for. Someone has already developed a shim here for Windows and it just was not used properly. `_Py_stat_struct` is a define which either evaluates to `stat` on non-Windows systems or a compatibility structure on Windows. Simply replacing the use of `struct stat` with `struct _Py_stat_struct` should solve the issue. |
|
Date |
User |
Action |
Args |
2022-01-11 15:08:26 | pacampbell | set | recipients:
+ pacampbell, paul.moore, vstinner, tim.golden, zach.ware, steve.dower |
2022-01-11 15:08:26 | pacampbell | set | messageid: <1641913706.62.0.648116792724.issue46303@roundup.psfhosted.org> |
2022-01-11 15:08:26 | pacampbell | link | issue46303 messages |
2022-01-11 15:08:26 | pacampbell | create | |
|