Title: [MinGW] Can't compile _ctypes/callproc.c - SEH not supported by MinGW
Type: compile error Stage:
Components: Build, ctypes Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: vmurashev
Priority: normal Keywords: patch

Created on 2016-09-25 12:37 by vmurashev, last changed 2016-09-25 12:38 by vmurashev.

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

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.
Date User Action Args
2016-09-25 12:38:08vmurashevsetfiles: + callproc.c.2.7.mingw.patch
2016-09-25 12:37:44vmurashevcreate