On Tue, 16 Jan 2018, Jonathan de Boyne Pollard wrote: > This is a problem that I thought was confined to OpenBSD, and its > not-|const|-correct ncurses library. Certainly this has never been a problem > on Debian nor on FreeBSD, and M. Caravia did not report any lack of > |const|-correctness on Arch Linux. What does line 843 of your > |/usr/include/curses.h| actually say? Because that's not the location > of that function declaration in that header in either Dickey ncurses or Acton > pdcurses as far as I can see. So what curses are you actually using?
CentOS 7 is not an obscure distribution. bash-4.2$ sed -n 843p /usr/include/curses.h extern NCURSES_EXPORT(char *) tigetstr (NCURSES_CONST char *); /* implemented */ bash-4.2$ rpm -qf /usr/include/curses.h ncurses-devel-5.9-14.20130511.el7_4.x86_64 bash-4.2$