URL: <https://savannah.gnu.org/bugs/?65263>
Summary: FTBFS with GCC 14 Group: GNU Networking Utilities Submitter: xry111 Submitted: Tue 06 Feb 2024 08:13:04 AM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Tue 06 Feb 2024 08:13:04 AM UTC By: Xi Ruoyao <xry111> With ncurses-6.4-20230520, a "compatibility" symlink /usr/lib/libcurses.so -> libncurses.so, and GCC 14, telnet FTBFS with: telnet.c: In function 'init_term': telnet.c:767:9: error: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 767 | err = tgetent (termbuf, tname); | ^~~~~~~ | getenv The problem is ncurses curse.h does not have a prototype for tgetent, but our configuration system does not try term.h or termcap.h after finding tgetent in -lcurses. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65263> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/