=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/hanterm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hanterm-3.1.6nb6 --- main.o --- --- input.o --- --- main.o --- rm -f main.o --- input.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DALLOWLOGFILEONOFF -I/opt/pkg/include -c input.c --- main.o --- clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DALLOWLOGFILEONOFF -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=27 -DOSMINORVERSION=0 -DENV_HANGUL_KEYBOARD_TYPE main.c --- input.o --- input.c:57:15: warning: passing arguments to 'WindowScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | WindowScroll(screen, 0); | ^ input.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | AdjustAfterInput (screen) | ^ input.c:75:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | static Boolean IsEditFunctionKey(keysym) | ^ input.c:160:6: warning: call to undeclared function 'chat_mode_input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | chat_mode_input(keysym, event, string, nbytes); | ^ input.c:163:6: warning: call to undeclared function 'hanja_mode_input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | hanja_mode_input(keysym, event, string, nbytes); | ^ input.c:187:39: warning: passing arguments to 'sunfuncvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | reply.a_param[0] = sunfuncvalue (keysym); | ^ input.c:190:36: warning: passing arguments to 'funcvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | reply.a_param[0] = funcvalue (keysym); | ^ input.c:97:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | void Input (keyboard, screen, event, eightbit) | ^ input.c:220:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | void StringInput (screen, string, nbytes) | ^ input.c:232:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | static int funcvalue (keycode) | ^ input.c:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int funcvalue(), sunfuncvalue(); | ^ input.c:279:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | static int sunfuncvalue (keycode) | ^ input.c:45:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int funcvalue(), sunfuncvalue(); | ^ 13 warnings generated. --- charproc.o --- rm -f charproc.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DALLOWLOGFILEONOFF -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=27 -DOSMINORVERSION=0 -DENV_HANGUL_KEYBOARD_TYPE charproc.c --- main.o --- main.c:819:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | static int abbrev (tst, cmp) | ^ main.c:826:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | static void Syntax (badOption) | ^ main.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | ConvertConsoleSelection(w, selection, target, type, value, length, format) | ^ main.c:945:14: warning: passing arguments to 'do_hangup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | do_hangup(w); | ^ main.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | DeleteWindow(w, event, params, num_params) | ^ main.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | KeyboardMapping(w, event, params, num_params) | ^ main.c:964:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 964 | "DeleteWindow", DeleteWindow, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } main.c:965:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 965 | "KeyboardMapping", KeyboardMapping, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } main.c:1239:30: warning: passing arguments to 'parse_tty_modes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | int n = parse_tty_modes (resource.tty_modes, ttymodelist); | ^ main.c:1283:25: warning: '/*' within block comment [-Wcomment] 1283 | /* break; /* by ysyun */ | ^ main.c:1426:34: warning: passing arguments to 'base_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | resource.title = base_name (command_to_exec[0]); | ^ main.c:1498:11: warning: passing arguments to 'StartLog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | StartLog(screen); | ^ main.c:1535:49: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1535 | if (ioctl (pty, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO); | ^ main.c:1558:6: warning: call to undeclared function 'VTRun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1558 | VTRun(); | ^ main.c:976:15: warning: unused variable 'i' [-Wunused-variable] 976 | register int i, pty; | ^ main.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | main (argc, argv) | ^ main.c:1562:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | char *base_name(name) | ^ main.c:1676:9: warning: call to undeclared function 'pty_search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1676 | return pty_search(pty); | ^ main.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | get_pty (pty) | ^ main.c:1690:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | int pty_search(pty) | ^ main.c:1751:38: warning: passing arguments to 'make_colored_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | screen->arrow = make_colored_cursor (XC_left_ptr, | ^ main.c:1776:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | SIGNAL_T hungtty(i) | ^ main.c:1820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | HsSysError(pf, error) | ^ main.c:1943:16: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 1943 | struct utmp utmp; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:2017:8: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2017 | SysError(ERROR_OPDEVTTY); | ^ main.c:2089:2: warning: call to undeclared function 'VTInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2089 | VTInit(); /* realize now so know window size for tty driver */ | ^ main.c:2125:10: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2125 | if (tgetent (ptr, resource.term_name) == 1) { | ^ main.c:2151:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2151 | if(tgetent(ptr, *envnew) == 1) { | ^ main.c:2161:8: warning: passing arguments to 'Exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | Exit (1); | ^ main.c:2185:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2185 | SysError (ERROR_FORK); | ^ main.c:2346:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2346 | if (ptr = ttyname(tty)) | ~~~~^~~~~~~~~~~~~~ main.c:2346:11: note: place parentheses around the assignment to silence this warning 2346 | if (ptr = ttyname(tty)) | ^ | ( ) main.c:2346:11: note: use '==' to turn this assignment into an equality comparison 2346 | if (ptr = ttyname(tty)) | ^ | == main.c:2636:10: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2636 | Setenv ("TERM=", TermName); | ^ main.c:2646:10: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2646 | Setenv ("WINDOWID=", buf); | ^ main.c:2648:10: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | Setenv ("DISPLAY=", XDisplayString (screen->display)); | ^ main.c:2689:11: error: too many arguments to function call, expected 0, have 2 2689 | setpgrp(0,0); | ~~~~~~~ ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:592:8: note: 'setpgrp' declared here 592 | pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); | ^ main.c:2691:12: error: too many arguments to function call, expected 0, have 2 2691 | setpgrp (0, pgrp); | ~~~~~~~ ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:592:8: note: 'setpgrp' declared here 592 | pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); | ^ main.c:2697:14: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2697 | Setenv ("LOGNAME=", pw->pw_name); /* for POSIX */ | ^ main.c:2793:47: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 2793 | memset((char *)&utmp, '\0', sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:2805:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 2805 | lseek(i, (long)(tslot * sizeof(struct utmp)), 0); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:2806:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 2806 | write(i, (char *)&utmp, sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:2943:10: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2943 | Setenv ("TERMCAP=", newtc); | ^ main.c:2982:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2982 | if(shname = rindex(ptr, '/')) | ~~~~~~~^~~~~~~~~~~~~~~~~~ main.c:2982:13: note: place parentheses around the assignment to silence this warning 2982 | if(shname = rindex(ptr, '/')) | ^ | ( ) main.c:2982:13: note: use '==' to turn this assignment into an equality comparison 2982 | if(shname = rindex(ptr, '/')) | ^ | == main.c:2990:11: warning: call to undeclared function 'XStrCmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2990 | ldisc = XStrCmp("csh", shname + strlen(shname) - 3) == 0 ? | ^ main.c:3204:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3204 | struct utmp utmp; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3208:45: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3208 | memset((char *)&utmp, '\0', sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3209:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3209 | lseek(wfd, (long)(tslot * sizeof(struct utmp)), 0); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3210:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3210 | write(wfd, (char *)&utmp, sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3228:11: warning: passing arguments to 'CloseLog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3228 | CloseLog(screen); | ^ main.c:3203:15: warning: unused variable 'i' [-Wunused-variable] 3203 | register int i; | ^ main.c:3140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3140 | Exit(n) | ^ main.c:353:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 353 | SIGNAL_T Exit(); | ^ main.c:3258:23: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3258 | if ((ptr1 = strindex (oldtc, "co#")) == NULL){ | ^ main.c:3260:19: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3260 | ptr1 = strindex (oldtc, "co#"); | ^ main.c:3262:23: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3262 | if ((ptr2 = strindex (oldtc, "li#")) == NULL){ | ^ main.c:3264:19: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3264 | ptr2 = strindex (oldtc, "li#"); | ^ main.c:3309:22: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] 3309 | pid = wait3 (&status, WNOHANG, (struct rusage *)NULL); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/wait.h:252:20: note: passing argument to parameter here 252 | pid_t wait3(int *, int, struct rusage *); | ^ main.c:3333:13: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3333 | Cleanup (0); | ^ main.c:3317:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3317 | static SIGNAL_T reapchild (n) | ^ main.c:401:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 401 | static SIGNAL_T reapchild (); | ^ main.c:3356:27: warning: passing arguments to 'SysErrorMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3356 | strcat(buf, SysErrorMsg (oerrno)); | ^ main.c:3375:25: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3375 | strinbuf = strindex (buf, str); | ^ main.c:3399:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3399 | static int parse_tty_modes (s, modelist) | ^ main.c:484:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 484 | static int parse_tty_modes (); | ^ main.c:3435:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | int GetBytesAvailable (fd) | ^ In file included from main.c:52: ./ptyx.h:537:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 537 | extern int GetBytesAvailable(); | ^ main.c:3455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3455 | kill_process_group(pid, sig) | ^ In file included from main.c:52: ./ptyx.h:539:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 539 | extern int kill_process_group(); | ^ 65 warnings and 2 errors generated. *** [main.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/x11/hanterm/work/hanterm-3.1.6 --- charproc.o --- charproc.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 86 | extern void exit(); | ^ charproc.c:778:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | static int NumBit(color) | ^ charproc.c:791:21: warning: unused variable 'screen' [-Wunused-variable] 791 | register TScreen *screen = &term->screen; | ^~~~~~ charproc.c:805:21: warning: unused variable 'screen' [-Wunused-variable] 805 | register TScreen *screen = &term->screen; | ^~~~~~ charproc.c:841:33: warning: call to undeclared function 'in_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 841 | switch (parsestate[c = doinput()]) { | ^ charproc.c:283:44: note: expanded from macro 'doinput' 283 | #define doinput() (bcnt-- > 0 ? *bptr++ : in_put()) | ^ charproc.c:851:48: warning: array subscript is of type 'char' [-Wchar-subscripts] 851 | charset_sg = screen->curss ? (screen->gsets[screen->curss] == '0') | ^~~~~~~~~~~~~~ charproc.c:852:27: warning: array subscript is of type 'char' [-Wchar-subscripts] 852 | : (screen->gsets[screen->curgl] == '0'); | ^~~~~~~~~~~~~~ charproc.c:874:3: warning: call to undeclared function 'CursorBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 874 | CursorBack(screen, 1); | ^ charproc.c:890:3: warning: call to undeclared function 'CursorBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 890 | CursorBack(screen, 1); | ^ charproc.c:908:3: warning: call to undeclared function 'CursorBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 908 | CursorBack(screen, 1); | ^ charproc.c:856:8: warning: unused variable 'col' [-Wunused-variable] 856 | Char *col = screen->buf[4*screen->cur_row] + screen->cur_col; | ^~~ charproc.c:857:8: warning: unused variable 'attrs' [-Wunused-variable] 857 | Char *attrs = screen->buf[4*screen->cur_row+1] + screen->cur_col; | ^~~~~ charproc.c:973:13: warning: call to undeclared function 'convert_johab_to_ks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 973 | int ret = convert_johab_to_ks(col - 1, temp_buf, 2); | ^ charproc.c:982:3: warning: call to undeclared function 'CursorForward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 982 | CursorForward(screen, 1); | ^ charproc.c:1031:16: warning: call to undeclared function 'adjust_hangul_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1031 | last_hangul = adjust_hangul_string(bptr, cp - bptr, screen->code); | ^ charproc.c:1045:23: warning: array subscript is of type 'char' [-Wchar-subscripts] 1045 | screen->gsets[screen->curss], bptr, | ^~~~~~~~~~~~~~ charproc.c:1042:9: warning: passing arguments to 'dotext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | dotext(screen, term->flags, | ^ charproc.c:1064:19: warning: array subscript is of type 'char' [-Wchar-subscripts] 1064 | screen->gsets[screen->curgl], bptr, | ^~~~~~~~~~~~~~ charproc.c:1061:12: warning: passing arguments to 'dotext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | dotext(screen, term->flags, | ^ charproc.c:1132:6: warning: call to undeclared function 'CursorForward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1132 | CursorForward(screen, 1); | ^ charproc.c:1177:8: warning: call to undeclared function 'CursorBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1177 | CursorBack(screen, 1); | ^ charproc.c:1192:4: warning: call to undeclared function 'CursorBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1192 | CursorBack(screen, 1); | ^ charproc.c:1201:4: warning: call to undeclared function 'CarriageReturn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1201 | CarriageReturn(screen); | ^ charproc.c:1214:9: warning: passing arguments to 'Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | Index(screen, 1); | ^ charproc.c:1218:26: warning: passing arguments to 'GetBytesAvailable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | GetBytesAvailable (ConnectionNumber(screen->display)) > 0) | ^ charproc.c:1225:22: warning: call to undeclared function 'TabNext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1225 | screen->cur_col = TabNext(term->tabs, screen->cur_col); | ^ charproc.c:1293:14: warning: passing arguments to 'InsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | InsertChar(screen, row); | ^ charproc.c:1301:4: warning: call to undeclared function 'CursorUp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1301 | CursorUp(screen, row); | ^ charproc.c:1309:4: warning: call to undeclared function 'CursorDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1309 | CursorDown(screen, row); | ^ charproc.c:1317:4: warning: call to undeclared function 'CursorForward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1317 | CursorForward(screen, row); | ^ charproc.c:1335:4: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1335 | CursorSet(screen, row-1, col-1, term->flags); | ^ charproc.c:1355:15: warning: passing arguments to 'ClearBelow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | ClearBelow(screen); | ^ charproc.c:1359:15: warning: passing arguments to 'ClearAbove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | ClearAbove(screen); | ^ charproc.c:1363:16: warning: passing arguments to 'ClearScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | ClearScreen(screen); | ^ charproc.c:1374:15: warning: passing arguments to 'ClearRight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | ClearRight(screen); | ^ charproc.c:1377:14: warning: passing arguments to 'ClearLeft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | ClearLeft(screen); | ^ charproc.c:1380:14: warning: passing arguments to 'ClearLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | ClearLine(screen); | ^ charproc.c:1390:14: warning: passing arguments to 'InsertLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | InsertLine(screen, row); | ^ charproc.c:1398:14: warning: passing arguments to 'DeleteLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | DeleteLine(screen, row); | ^ charproc.c:1406:14: warning: passing arguments to 'DeleteChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | DeleteChar(screen, row); | ^ charproc.c:1413:14: warning: passing arguments to 'TrackMouse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | TrackMouse(param[0], param[2]-1, param[1]-1, | ^ charproc.c:1438:5: warning: call to undeclared function 'TabClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1438 | TabClear(term->tabs, screen->cur_col); | ^ charproc.c:1440:5: warning: call to undeclared function 'TabZonk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1440 | TabZonk(term->tabs); | ^ charproc.c:1446:21: warning: incompatible function pointer types passing 'void ()' to parameter of type 'int (*)()' [-Wincompatible-function-pointer-types] 1446 | ansi_modes(term, bitset); | ^~~~~~ charproc.c:130:43: note: passing argument to parameter here 130 | static void ansi_modes(XtermWidget, int (*)()); | ^ charproc.c:1452:21: warning: incompatible function pointer types passing 'void ()' to parameter of type 'int (*)()' [-Wincompatible-function-pointer-types] 1452 | ansi_modes(term, bitclr); | ^~~~~~ charproc.c:130:43: note: passing argument to parameter here 130 | static void ansi_modes(XtermWidget, int (*)()); | ^ charproc.c:1576:17: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | FlushScroll(screen); | ^ charproc.c:1628:4: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1628 | ScrnRefresh(screen, 0, 0, screen->max_row + 1, | ^ charproc.c:1640:4: warning: call to undeclared function 'CursorSave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1640 | CursorSave(term, &screen->sc); | ^ charproc.c:1646:4: warning: call to undeclared function 'CursorRestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1646 | CursorRestore(term, &screen->sc); | ^ charproc.c:1666:9: warning: passing arguments to 'Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | Index(screen, 1); | ^ charproc.c:1668:26: warning: passing arguments to 'GetBytesAvailable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | GetBytesAvailable (ConnectionNumber(screen->display)) > 0) | ^ charproc.c:1675:9: warning: passing arguments to 'Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | Index(screen, 1); | ^ charproc.c:1679:26: warning: passing arguments to 'GetBytesAvailable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | GetBytesAvailable (ConnectionNumber(screen->display)) > 0) | ^ charproc.c:1686:4: warning: call to undeclared function 'TabSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1686 | TabSet(term->tabs, screen->cur_col); | ^ charproc.c:1692:12: warning: passing arguments to 'RevIndex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | RevIndex(screen, 1); | ^ charproc.c:1717:4: warning: call to undeclared function 'do_osc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1717 | do_osc(finput); | ^ charproc.c:1723:11: warning: passing arguments to 'VTReset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | VTReset(TRUE); | ^ charproc.c:1775:9: warning: call to undeclared function 'in_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1775 | return(doinput()); | ^ charproc.c:283:44: note: expanded from macro 'doinput' 283 | #define doinput() (bcnt-- > 0 ? *bptr++ : in_put()) | ^ charproc.c:1791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1791 | v_write(f, d, len) | ^ charproc.c:1961:3: warning: call to undeclared function 'FlushLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1961 | FlushLog(screen); | ^ charproc.c:1990:7: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1990 | Cleanup (0); | ^ charproc.c:1992:7: warning: call to undeclared function 'Panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1992 | Panic( | ^ charproc.c:1996:3: warning: call to undeclared function 'Panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1996 | Panic("input: read returned zero\n", 0); | ^ charproc.c:2009:19: warning: passing arguments to 'WindowScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2009 | WindowScroll(screen, 0); /* Scroll to bottom */ | ^ charproc.c:2026:17: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | FlushScroll(screen); | ^ charproc.c:2079:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2079 | SysError(ERROR_SELECT); | ^ charproc.c:2175:25: warning: passing arguments to 'ScrnSetAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | ScrnSetAttributes(screen, screen->cur_row, 0, | ^ charproc.c:2177:13: warning: passing arguments to 'Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2177 | Index(screen, 1); | ^ charproc.c:2186:38: warning: passing arguments to 'get_hangul_coding_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2186 | len_code = get_hangul_coding_length(ptr, len, n, screen->code); | ^ charproc.c:2187:16: warning: call to undeclared function 'adjust_hangul_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2187 | incomplete = adjust_hangul_string(ptr, len_code, screen->code); | ^ charproc.c:2189:31: warning: passing arguments to 'get_hangul_screen_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2189 | n = get_hangul_screen_length(ptr, len_code, screen->code); | ^ charproc.c:2191:12: warning: passing arguments to 'WriteText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2191 | WriteText(screen, ptr, len_code, flags, fg, bg); | ^ charproc.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | dotext(screen, flags, fg, bg, charset, buf, ptr) | ^ charproc.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | static void dotext(); | ^ charproc.c:2246:8: warning: call to undeclared function 'convert_ks_to_johab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2246 | len = convert_ks_to_johab(str, johab_buf, len); | ^ charproc.c:2249:8: warning: call to undeclared function 'convert_utf8_to_johab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2249 | len = convert_utf8_to_johab(str, johab_buf, len); | ^ charproc.c:2296:16: warning: passing arguments to 'InsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | InsertChar(screen, len); | ^ charproc.c:2297:8: warning: call to undeclared function 'AddToRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2297 | if (!(AddToRefresh(screen))) { | ^ charproc.c:2299:14: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2299 | FlushScroll(screen); | ^ charproc.c:2302:6: warning: call to undeclared function 'HDrawImageString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2302 | HDrawImageString(screen->display, TextWindow(screen), currentGC, | ^ charproc.c:2308:7: warning: call to undeclared function 'HDrawString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2308 | HDrawString(screen->display, TextWindow(screen), | ^ charproc.c:2325:16: warning: passing arguments to 'ScreenWrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | ScreenWrite(screen, johab_buf, flags, fg, bg, len); | ^ charproc.c:2326:5: warning: call to undeclared function 'CursorForward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2326 | CursorForward(screen, len); | ^ charproc.c:2229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | WriteText(screen, str, len, flags, fg, bg) | ^ charproc.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | static void WriteText(); | ^ charproc.c:2341:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2341 | (*func)(&termw->flags, INSERT); | ^ charproc.c:2345:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2345 | (*func)(&termw->flags, LINEFEED); | ^ charproc.c:2364:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2364 | (*func)(&termw->keyboard.flags, CURSOR_APL); | ^ charproc.c:2379:16: warning: passing arguments to 'ClearScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2379 | ClearScreen(screen); | ^ charproc.c:2380:5: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2380 | CursorSet(screen, 0, 0, termw->flags); | ^ charproc.c:2400:10: warning: call to undeclared function 'ScreenResize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2400 | ScreenResize (&termw->screen, | ^ charproc.c:2406:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | (*func)(&termw->flags, IN132COLUMNS); | ^ charproc.c:2413:17: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | FlushScroll(screen); | ^ charproc.c:2416:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2416 | (*func)(&termw->flags, SMOOTHSCROLL); | ^ charproc.c:2421:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2421 | (*func)(&termw->flags, REVERSE_VIDEO); | ^ charproc.c:2423:17: warning: passing arguments to 'ReverseVideo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | ReverseVideo(termw); | ^ charproc.c:2428:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2428 | (*func)(&termw->flags, ORIGIN); | ^ charproc.c:2429:4: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2429 | CursorSet(screen, 0, 0, termw->flags); | ^ charproc.c:2433:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2433 | (*func)(&termw->flags, WRAPAROUND); | ^ charproc.c:2462:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2462 | (*func)(&termw->flags, REVERSEWRAP); | ^ charproc.c:2472:13: warning: passing arguments to 'StartLog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2472 | StartLog(screen); | ^ charproc.c:2474:13: warning: passing arguments to 'CloseLog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2474 | CloseLog(screen); | ^ charproc.c:2483:16: warning: passing arguments to 'ToAlternate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | ToAlternate(screen); | ^ charproc.c:2485:18: warning: passing arguments to 'FromAlternate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | FromAlternate(screen); | ^ charproc.c:2589:16: warning: passing arguments to 'ClearScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2589 | ClearScreen(screen); | ^ charproc.c:2590:5: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2590 | CursorSet(screen, 0, 0, termw->flags); | ^ charproc.c:2609:10: warning: call to undeclared function 'ScreenResize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2609 | ScreenResize (&termw->screen, | ^ charproc.c:2624:17: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2624 | FlushScroll(screen); | ^ charproc.c:2635:17: warning: passing arguments to 'ReverseVideo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2635 | ReverseVideo(termw); | ^ charproc.c:2642:4: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2642 | CursorSet(screen, 0, 0, termw->flags); | ^ charproc.c:2677:13: warning: passing arguments to 'StartLog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2677 | StartLog(screen); | ^ charproc.c:2679:13: warning: passing arguments to 'CloseLog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2679 | CloseLog(screen); | ^ charproc.c:2686:16: warning: passing arguments to 'ToAlternate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2686 | ToAlternate(screen); | ^ charproc.c:2688:18: warning: passing arguments to 'FromAlternate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2688 | FromAlternate(screen); | ^ charproc.c:2703:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | static void bitset(p, mask) | ^ charproc.c:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | static void bitset(), bitclr(); | ^ charproc.c:2713:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2713 | static void bitclr(p, mask) | ^ charproc.c:143:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | static void bitset(), bitclr(); | ^ charproc.c:2764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2764 | unparseputc(c, fd) | ^ charproc.c:2769:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2769 | register i = 1; | ~~~~~~~~ ^ | int charproc.c:2772:6: warning: call to undeclared function 'hangul_automata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2772 | i = hangul_automata(c, buf); | ^ charproc.c:2783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2783 | unparsefputs (s, fd) | ^ charproc.c:2803:28: warning: passing arguments to 'Allocate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2803 | screen->altbuf = Allocate(screen->max_row + 1, screen->max_col | ^ charproc.c:2805:12: warning: passing arguments to 'SwitchBufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2805 | SwitchBufs(screen); | ^ charproc.c:2795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2795 | ToAlternate(screen) | ^ charproc.c:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | static void ToAlternate(); | ^ charproc.c:2817:12: warning: passing arguments to 'SwitchBufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2817 | SwitchBufs(screen); | ^ charproc.c:2811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2811 | FromAlternate(screen) | ^ charproc.c:140:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | static void FromAlternate(); | ^ charproc.c:2830:2: warning: call to undeclared function 'SwitchBufPtrs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2830 | SwitchBufPtrs(screen); | ^ charproc.c:2831:11: warning: passing arguments to 'TrackText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2831 | TrackText(0, 0, 0, 0); /* remove any highlighting */ | ^ charproc.c:2834:15: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2834 | FlushScroll(screen); | ^ charproc.c:2845:2: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2845 | ScrnRefresh(screen, 0, 0, rows, screen->max_col + 1, False); | ^ charproc.c:2822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2822 | SwitchBufs(screen) | ^ charproc.c:2792:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2792 | static void SwitchBufs(); | ^ charproc.c:2850:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2850 | SwitchBufPtrs(screen) | ^ | int charproc.c:2850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] charproc.c:2860:1: warning: non-void function does not return a value [-Wreturn-type] 2860 | } | ^ charproc.c:2862:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2862 | VTRun() | ^ | int charproc.c:2867:2: warning: call to undeclared function 'set_vt_visibility'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2867 | set_vt_visibility (TRUE); | ^ charproc.c:2865:15: warning: unused variable 'i' [-Wunused-variable] 2865 | register int i; | ^ charproc.c:2879:1: warning: non-void function does not return a value [-Wreturn-type] 2879 | } | ^ charproc.c:2894:3: warning: call to undeclared function 'HandleExposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2894 | HandleExposure (screen, event); | ^ charproc.c:2882:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2882 | static void VTExpose(w, event, region) | ^ charproc.c:721:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 721 | static void VTExpose(); | ^ charproc.c:2907:8: warning: call to undeclared function 'HandleExposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2907 | if (HandleExposure (screen, event)) | ^ charproc.c:2897:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2897 | static void VTGraphicsOrNoExpose (event) | ^ charproc.c:2920:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2920 | static void VTNonMaskableEvent (w, closure, event, cont) | ^ charproc.c:2941:7: warning: call to undeclared function 'ScreenResize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2941 | ScreenResize (&term->screen, term->core.width, term->core.height, | ^ charproc.c:2937:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2937 | static void VTResize(w) | ^ charproc.c:722:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 722 | static void VTResize(); | ^ charproc.c:2975:31: warning: passing arguments to 'Allocate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2975 | screen->allbuf = Allocate (nrows, screen->max_col + 1, | ^ charproc.c:3133:4: warning: call to undeclared function 'set_character_class'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3133 | set_character_class (new->screen.charClass); | ^ charproc.c:3136:16: warning: passing arguments to 'ScrollBarOn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3136 | ScrollBarOn (new, TRUE, FALSE); | ^ charproc.c:3000:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3000 | static void VTInitialize (wrequest, wnew, args, num_args) | ^ charproc.c:719:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 719 | static void VTInitialize(); | ^ charproc.c:3154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3154 | static void VTDestroy (w) | ^ charproc.c:723:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 723 | static void VTDestroy(); | ^ charproc.c:3172:2: warning: call to undeclared function 'TabReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3172 | TabReset (term->tabs); | ^ charproc.c:3188:7: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3188 | if (!LoadNewFont(screen, term->misc.f_n, term->misc.f_b, | ^ charproc.c:3192:6: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3192 | Exit (1); | ^ charproc.c:3197:48: warning: passing arguments to 'make_colored_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3197 | screen->pointer_cursor = make_colored_cursor(XC_xterm, | ^ charproc.c:3201:19: warning: passing arguments to 'recolor_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3201 | recolor_cursor (screen->pointer_cursor, | ^ charproc.c:3214:19: warning: passing arguments to 'update_font_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3214 | update_font_info (&term->screen, False); | ^ charproc.c:3291:2: warning: call to undeclared function 'set_cursor_gcs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3291 | set_cursor_gcs (screen); | ^ charproc.c:3321:2: warning: call to undeclared function 'set_vt_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3321 | set_vt_box (screen); | ^ charproc.c:3327:15: warning: passing arguments to 'ScrollBarOn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3327 | ScrollBarOn (term, FALSE, TRUE); | ^ charproc.c:3329:2: warning: call to undeclared function 'CursorSave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3329 | CursorSave (term, &screen->sc); | ^ charproc.c:3161:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3161 | static void VTRealize (w, valuemask, values) | ^ charproc.c:720:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 720 | static void VTRealize(); | ^ charproc.c:3350:6: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3350 | if (LoadNewFont(&newvt->screen, | ^ charproc.c:3364:2: warning: call to undeclared function 'set_cursor_gcs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3364 | set_cursor_gcs(&newvt->screen); | ^ charproc.c:3369:14: warning: passing arguments to 'ReverseVideo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3369 | ReverseVideo(newvt); | ^ charproc.c:3375:17: warning: passing arguments to 'recolor_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3375 | recolor_cursor (newvt->screen.pointer_cursor, | ^ charproc.c:3382:18: warning: passing arguments to 'ScrollBarOn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3382 | ScrollBarOn (newvt, FALSE, FALSE); | ^ charproc.c:3384:19: warning: passing arguments to 'ScrollBarOff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3384 | ScrollBarOff (&newvt->screen); | ^ charproc.c:3333:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3333 | static Boolean VTSetValues (cur, request, new, args, num_args) | ^ charproc.c:724:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 724 | static Boolean VTSetValues(); | ^ charproc.c:3409:2: warning: call to undeclared function 'chat_show_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3409 | chat_show_cursor(); | ^ charproc.c:3419:7: warning: call to undeclared function 'adjust_hangul_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3419 | || adjust_hangul_string(screen->buf[y+1], x, 0 /*C_JOHAB*/))) { | ^ charproc.c:3448:23: warning: passing arguments to 'ScrnSetAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3448 | ScrnSetAttributes(screen, screen->cur_row, 0, | ^ charproc.c:3450:11: warning: passing arguments to 'Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3450 | Index(screen, 1); | ^ charproc.c:3451:17: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3451 | FlushScroll(screen); | ^ charproc.c:3513:2: warning: call to undeclared function 'HDrawImageString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3513 | HDrawImageString(screen->display, TextWindow(screen), currentGC, | ^ charproc.c:3517:3: warning: call to undeclared function 'HDrawString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3517 | HDrawString(screen->display, TextWindow(screen), currentGC, | ^ charproc.c:3570:6: warning: call to undeclared function 'chat_hide_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3570 | chat_hide_cursor(); | ^ charproc.c:3580:7: warning: call to undeclared function 'adjust_hangul_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3580 | || adjust_hangul_string(screen->buf[y+1], x, 0 /*C_JOHAB*/))) | ^ charproc.c:3656:2: warning: call to undeclared function 'HDrawImageString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3656 | HDrawImageString(screen->display, TextWindow(screen), currentGC, | ^ charproc.c:3659:3: warning: call to undeclared function 'HDrawString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3659 | HDrawString(screen->display, TextWindow(screen), currentGC, | ^ charproc.c:3677:3: warning: call to undeclared function 'TabReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3677 | TabReset (term->tabs); | ^ charproc.c:3689:14: warning: passing arguments to 'ClearScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3689 | ClearScreen(screen); | ^ charproc.c:3692:16: warning: passing arguments to 'ReverseVideo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3692 | ReverseVideo(term); | ^ charproc.c:3715:3: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3715 | CursorSet(screen, 0, 0, term->flags); | ^ charproc.c:3667:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3667 | void VTReset(full) | ^ charproc.c:773:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 773 | void VTReset(); | ^ charproc.c:3794:17: warning: call to undeclared function 'SetCharacterClassRange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3794 | } else if (SetCharacterClassRange (low, high, acc) != 0) { | ^ charproc.c:3819:16: warning: call to undeclared function 'SetCharacterClassRange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3819 | } else if (SetCharacterClassRange (low, high, acc) != 0) { | ^ charproc.c:3730:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3730 | int set_character_class (s) | ^ charproc.c:3827:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | static void HandleKeymapChange(w, event, params, param_count) | ^ charproc.c:311:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 311 | static void HandleKeymapChange(); | ^ charproc.c:3860:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3860 | static void HandleBell(w, event, params, param_count) | ^ charproc.c:317:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | static void HandleBell(); | ^ charproc.c:3873:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3873 | static void HandleVisualBell(w, event, params, param_count) | ^ charproc.c:318:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 318 | static void HandleVisualBell(); | ^ charproc.c:3891:29: warning: passing arguments to 'SendMousePosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3891 | (void) SendMousePosition(w, event); | ^ charproc.c:3884:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3884 | static void HandleIgnore(w, event, params, param_count) | ^ charproc.c:319:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 319 | static void HandleIgnore(); | ^ charproc.c:3920:7: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3920 | if (!LoadNewFont (&term->screen, val, NULL, term->misc.f_h, True, | ^ charproc.c:3897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3897 | DoSetSelectedFont(w, client_data, selection, type, value, length, format) | ^ charproc.c:3926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3926 | void FindFontSelection (atom_name, justprobe) | ^ charproc.c:4012:15: warning: passing arguments to 'SetVTFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4012 | SetVTFont (fontnum, True, name1, name2); | ^ charproc.c:3961:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3961 | void HandleSetFont(w, event, params, param_count) | ^ charproc.c:324:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 324 | extern void HandleSetFont(); | ^ charproc.c:4032:10: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4032 | if (!LoadNewFont(screen, name1, name2, term->misc.f_h, doresize, i)) { | ^ charproc.c:4016:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4016 | void SetVTFont (i, doresize, name1, name2) | ^ charproc.c:330:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 330 | extern void SetVTFont(); | ^ charproc.c:4123:2: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4123 | Exit(1); | ^ charproc.c:4132:20: warning: passing arguments to 'xstrcasecmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4132 | if(!xstrcasecmp(hFontEncoding, "ksc5601.1987-0")) font_ks_mode = 0; | ^ charproc.c:4133:25: warning: passing arguments to 'xstrcasecmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4133 | else if(!xstrcasecmp(hFontEncoding, "ksx1001.1997-0")) font_ks_mode = 0; | ^ charproc.c:4134:25: warning: passing arguments to 'xstrcasecmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4134 | else if(!xstrcasecmp(hFontEncoding, "ksc5601.1987-1")) font_ks_mode = 't'; | ^ charproc.c:4135:25: warning: passing arguments to 'xstrcasecmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4135 | else if(!xstrcasecmp(hFontEncoding, "johab844-1")) font_jo_mode = TRUE; | ^ charproc.c:4136:25: warning: passing arguments to 'xstrncasecmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4136 | else if(xstrncasecmp(hFontEncoding, "johab", 5)) { | ^ charproc.c:4281:5: warning: call to undeclared function 'set_cursor_gcs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4281 | set_cursor_gcs (screen); | ^ charproc.c:4282:22: warning: passing arguments to 'update_font_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4282 | update_font_info (screen, doresize); | ^ charproc.c:4039:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4039 | int LoadNewFont (screen, nfontname, bfontname, hfontname, doresize, fontnum) | ^ charproc.c:4114:34: warning: variable 'hfont_fullname' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] 4114 | for (i=0, pp = hfs->properties; i < hfs->n_properties; i++, pp++) | ^~~~~~~~~~~~~~~~~~~~~ charproc.c:4120:8: note: uninitialized use occurs here 4120 | if(hfont_fullname == NULL) { | ^~~~~~~~~~~~~~ charproc.c:4114:34: note: remove the condition if it is always true 4114 | for (i=0, pp = hfs->properties; i < hfs->n_properties; i++, pp++) | ^~~~~~~~~~~~~~~~~~~~~ charproc.c:4057:25: note: initialize the variable 'hfont_fullname' to silence this warning 4057 | char* hfont_fullname; | ^ | = NULL charproc.c:4334:2: warning: call to undeclared function 'DoResizeScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4334 | DoResizeScreen (term); /* set to the new natural size */ | ^ charproc.c:4336:20: warning: passing arguments to 'ResizeScrollBar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4336 | ResizeScrollBar (screen->scrollWidget, -1, -1, | ^ charproc.c:4340:5: warning: call to undeclared function 'set_vt_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4340 | set_vt_box (screen); | ^ charproc.c:4342:20: warning: passing arguments to 'set_vt_graphics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4342 | set_vt_graphics(screen); | ^ charproc.c:4307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4307 | update_font_info (screen, doresize) | ^ charproc.c:141:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static void update_font_info(); | ^ charproc.c:4346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4346 | set_vt_box (screen) | ^ | int charproc.c:4346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] charproc.c:4365:1: warning: non-void function does not return a value [-Wreturn-type] 4365 | } | ^ charproc.c:4391:14: warning: array subscript is of type 'char' [-Wchar-subscripts] 4391 | gr_mapping[gr_valid_code[i]] = i + 1; | ^~~~~~~~~~~~~~~~~ charproc.c:4371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4371 | set_vt_graphics (screen) | ^ charproc.c:127:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | void set_vt_graphics (/*TScreen *screen*/); | ^ charproc.c:4500:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4500 | set_cursor_gcs (screen) | ^ | int charproc.c:4500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] charproc.c:4582:1: warning: non-void function does not return a value [-Wreturn-type] 4582 | } | ^ charproc.c:344:13: warning: unused variable 'defaultBorderWidth' [-Wunused-variable] 344 | static int defaultBorderWidth = DEFBORDERWIDTH; | ^~~~~~~~~~~~~~~~~~ charproc.c:778:12: warning: unused function 'NumBit' [-Wunused-function] 778 | static int NumBit(color) | ^~~~~~ 243 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/x11/hanterm/work/hanterm-3.1.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/hanterm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/hanterm