[New-bugs-announce] [issue36965] use of STATUS_CONTROL_C_EXIT in Modules/main.c breaks compilation with non MSC compilers

Erik Janssens report at bugs.python.org
Sun May 19 09:02:26 EDT 2019


New submission from Erik Janssens <erik.janssens at conceptive.be>:

in Modules/main.c STATUS_CONTROL_C_EXIT is included conditionally if compiling when _MSC_VER is defined.  Later on STATUS_CONTROL_C_EXIT is used if MS_WINDOWS is defined.

This breaks compilation of main.c with any non MSC compiler while compiling for MS Windows.

This appears to have been introduced in GH-12123 for bpo-36142

----------
components: Windows
messages: 342845
nosy: erikjanss, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: use of STATUS_CONTROL_C_EXIT in Modules/main.c breaks compilation with non MSC compilers
type: compile error
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36965>
_______________________________________


More information about the New-bugs-announce mailing list