https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255478
Bug ID: 255478
Summary: buildworld failure 12.2 stable with installed ncurses
from ports. error: implicit declaration of function
'setcchar' is invalid in C99
Product: Base System
Version: 12.2-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
[root:/usr/src/usr.bin/talk]# make
clang -O2 -pipe -fno-common -g -MD -MF.depend.display.o -MTdisplay.o
-std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign
-Wmissing-variable-declarations -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c
/usr/src/usr.bin/talk/display.c -o display.o
/usr/src/usr.bin/talk/display.c:80:6: error: implicit declaration of function
'setcchar' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (setcchar(&cc, wc, A_NORMAL, 0, NULL) != OK)
^
/usr/src/usr.bin/talk/display.c:80:6: note: did you mean 'getchar'?
/usr/include/stdio.h:271:6: note: 'getchar' declared here
int getchar(void);
^
/usr/src/usr.bin/talk/display.c:108:3: error: implicit declaration of function
'wadd_wch' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
wadd_wch(win->x_win, makecchar(L'\n'));
^
/usr/src/usr.bin/talk/display.c:108:3: note: did you mean 'waddch'?
/usr/include/curses.h:780:28: note: 'waddch' declared here
extern NCURSES_EXPORT(int) waddch (WINDOW *, const chtype); /*
implemented */
^
/usr/src/usr.bin/talk/display.c:190:3: error: implicit declaration of function
'wadd_wch' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
wadd_wch(win->x_win, makecchar(*wc));
^
3 errors generated.
*** Error code 1
Stop.
make: stopped in /usr/src/usr.bin/talk
Installed latest ncurses from ports:
[root:/usr/src/usr.bin/talk]# pkg info |grep ncurses
adacurses-20180127 Ada95 bindings for ncurses
ncurses-6.2.20210313_1 Library for terminal-independent, full-screen
output
[root:/usr/src/usr.bin/talk]#
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"