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 <rep...@bugs.python.org> <http://bugs.python.org/issue17391> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com