[New-bugs-announce] [issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

Batuhan Taskaya report at bugs.python.org
Sat Feb 29 13:48:54 EST 2020


New submission from Batuhan Taskaya <batuhanosmantaskaya at gmail.com>:

Python can't build curses on Solaris because of extensions aren't activated

/export/home/isidentical/cpython/Modules/_cursesmodule.c: In function ‘_curses_get_escdelay_impl’:
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3272:28: error: ‘ESCDELAY’ undeclared (first use in this function)
     return PyLong_FromLong(ESCDELAY);
                            ^
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3272:28: note: each undeclared identifier is reported only once for each function it appears in
/export/home/isidentical/cpython/Modules/_cursesmodule.c: In function ‘_curses_set_escdelay_impl’:
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3296:29: error: implicit declaration of function ‘set_escdelay’ [-Werror=implicit-function-declaration]
     return PyCursesCheckERR(set_escdelay(ms), "set_escdelay");
                             ^
/export/home/isidentical/cpython/Modules/_cursesmodule.c: In function ‘_curses_set_tabsize_impl’:
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3335:29: error: implicit declaration of function ‘set_tabsize’ [-Werror=implicit-function-declaration]
     return PyCursesCheckERR(set_tabsize(size), "set_tabsize");

----------
components: Build
messages: 363005
nosy: BTaskaya
priority: normal
severity: normal
status: open
title: Ensure {get,set}_escdelay and {get,set}_tabsize only implemented when the extensions are activated
type: compile error

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


More information about the New-bugs-announce mailing list