[New-bugs-announce] [issue17391] _cursesmodule Fails to Build on GCC 2.95 (static)

Jeffrey Armstrong report at bugs.python.org
Sun Mar 10 15:18:23 CET 2013


New submission from Jeffrey Armstrong:

When compiling Modules/_cursesmodule.c as a static module with GCC 2.95.3, an error is encountered on line 2260 in PyCurses_GetWin.  The error occurs because the PyCursesInitialised macro appears prior _Py_IDENTIFIER(read), which is actually a variable declaration.  Switching the order of the statements fixes the issue.

In all other functions within Modules/_cursesmodule.c, PyCursesInitialised always appears after all variable declarations.

This bug was encountered on the platform m68k-atari-mint using Python 3.3.0 and GCC 2.95.3.

----------
components: Build
files: curses.patch
keywords: patch
messages: 183877
nosy: Jeffrey.Armstrong
priority: normal
severity: normal
status: open
title: _cursesmodule Fails to Build on GCC 2.95 (static)
type: compile error
versions: Python 3.3
Added file: http://bugs.python.org/file29365/curses.patch

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


More information about the New-bugs-announce mailing list