[New-bugs-announce] [issue28271] [MinGW] Can't compile _ctypes/callproc.c - SEH not supported by MinGW

Vitaly Murashev report at bugs.python.org
Sun Sep 25 08:37:44 EDT 2016


New submission from Vitaly Murashev:

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.

----------
components: Build, ctypes
files: callproc.c.3.5.mingw.patch
keywords: patch
messages: 277370
nosy: vmurashev
priority: normal
severity: normal
status: open
title: [MinGW] Can't compile _ctypes/callproc.c - SEH not supported by MinGW
type: compile error
Added file: http://bugs.python.org/file44813/callproc.c.3.5.mingw.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28271>
_______________________________________


More information about the New-bugs-announce mailing list