-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Building with GCC 13.2 fails due to -Werror=implicit-function-declaration triggering stuff like the following. Removing this from the makefile lets th build go through and the resulting python interpreter seems to work ok.
./Modules/_cursesmodule.c: In function _curses_window_addch_impl:
./Modules/_cursesmodule.c:763:9: error: implicit declaration of function setcchar; did you mean getwchar ? [-Werror=implicit-function-declaration]
763 | setcchar(&wcval, wstr, attr, PAIR_NUMBER(attr), NULL);
| ^~~~~~~~
| getwchar
./Modules/_cursesmodule.c:765:19: error: implicit declaration of function mvwadd_wch; did you mean mvwad dch? [-Werror=implicit-function-declaration]
765 | rtn = mvwadd_wch(self->win,y,x, &wcval);
| ^~~~~~~~~~
| mvwaddch
./Modules/_cursesmodule.c:767:19: error: implicit declaration of function wadd_wch; did you mean waddch? [-Werror=implicit-function-declaration]
767 | rtn = wadd_wch(self->win, &wcval);
| ^~~~~~~~
| waddch
./Modules/_cursesmodule.c: In function _curses_window_addstr_impl:
1394 ./Modules/_cursesmodule.c:847:19: error: implicit declaration of function mvwaddwstr; did you mean mvwad dstr? [-Werror=implicit-function-declaration]
847 | rtn = mvwaddwstr(self->win,y,x,wstr);
| ^~~~~~~~~~
| mvwaddstr
4 ./Modules/_cursesmodule.c:849:19: error: implicit declaration of function waddwstr; did you mean waddstr ? [-Werror=implicit-function-declaration]
849 | rtn = waddwstr(self->win,wstr);
| ^~~~~~~~
| waddstr
./Modules/_cursesmodule.c: In function _curses_window_addnstr_impl:
./Modules/_cursesmodule.c:930:19: error: implicit declaration of function mvwaddnwstr; did you mean mvwa ddnstr? [-Werror=implicit-function-declaration]
930 | rtn = mvwaddnwstr(self->win,y,x,wstr,n);
| ^~~~~~~~~~~
| mvwaddnstr
./Modules/_cursesmodule.c:932:19: error: implicit declaration of function waddnwstr; did you mean waddns tr? [-Werror=implicit-function-declaration]
932 | rtn = waddnwstr(self->win,wstr,n);
| ^~~~~~~~~
| waddnstr
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error