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 _ctypes/callproc.c - SEH not supported by MinGW
Type: compile error Stage: resolved
Components: Build, ctypes 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: vmurashev
Priority: normal Keywords: patch

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

Files
File name Uploaded Description Edit
callproc.c.3.5.mingw.patch vmurashev, 2016-09-25 12:37
callproc.c.2.7.mingw.patch vmurashev, 2016-09-25 12:38
Messages (1)
msg277370 - (view) Author: Vitaly Murashev (vmurashev) * Date: 2016-09-25 12:37
Structured exception handling not supported by MinGW,
and as a result file 'Modules/_ctypes/callproc.c' is not compilable by MinGW without patching

As I know the patch was initially introduced in Google's repo,
and fixed file 'callproc.c' now can be found here
https://android.googlesource.com/platform/external/python/+/upstream-2.7/Modules/_ctypes/callproc.c

Since I am sure that it is waste of time to wait while Googe suggest the patch in cpython upstream, I'm just injected Google's patch to the recent python version.

So suggested patch (for 3.5.2 and 2.7.12) is just an adoption of Google's patch to the recent cpython versions.
History
Date User Action Args
2022-04-11 14:58:37adminsetgithub: 72458
2021-10-21 10:04:10iritkatrielsetresolution: duplicate -> wont fix
2021-10-20 12:55:41iritkatrielsetstatus: open -> closed
resolution: duplicate
superseder: MinGW is unsupported - close all open issues and list them here.
stage: resolved
2016-09-25 12:38:08vmurashevsetfiles: + callproc.c.2.7.mingw.patch
2016-09-25 12:37:44vmurashevcreate