This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [MinGW] Can't compile Modules/posixmodule.c by MinGW - several macro are missed
Type: compile error Stage: resolved
Components: Build Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder: MinGW is unsupported - close all open issues and list them here.
View: 45538
Assigned To: Nosy List: martin.panter, vmurashev
Priority: normal Keywords: patch

Created on 2016-09-25 11:50 by vmurashev, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
posixmodule.c.3.5.mingw.patch vmurashev, 2016-09-25 11:50
posixmodule.c.2.7.mingw.patch vmurashev, 2016-09-25 11:50
Messages (3)
msg277367 - (view) Author: Vitaly Murashev (vmurashev) * Date: 2016-09-25 11:50
'posixmodule.c' is written pretty well, but some important MinGW realated macro are missed.
And as a result an attempt to complile Modules/posixmodule.c by MinGW fails.

So suggested patch (for 3.5.2 and 2.7.12)
just turns on missed MinGW related macro
msg277369 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-09-25 12:27
This competes with the patch at Issue 17598.

How are you building Python? I presume you are not using the configure script. It would be good to come up with a patch that addresses for both cases.
msg277372 - (view) Author: Vitaly Murashev (vmurashev) * Date: 2016-09-25 12:43
We (crystax.net) are building Python for Windows completely by cmake and MinGW using PC/pyconfig.h without any configure scripts
History
Date User Action Args
2022-04-11 14:58:37adminsetgithub: 72457
2021-10-21 10:04:16iritkatrielsetresolution: duplicate -> wont fix
2021-10-20 12:55:51iritkatrielsetstatus: open -> closed
resolution: duplicate
superseder: MinGW is unsupported - close all open issues and list them here.
stage: resolved
2016-09-25 12:43:45vmurashevsetmessages: + msg277372
2016-09-25 12:27:37martin.pantersetnosy: + martin.panter
messages: + msg277369
2016-09-25 11:50:55vmurashevsetfiles: + posixmodule.c.2.7.mingw.patch
2016-09-25 11:50:21vmurashevcreate