=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hanterm-3.1.6nb6 --- main.o --- --- input.o --- --- charproc.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 --- 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=22 -DOSMINORVERSION=4 -DENV_HANGUL_KEYBOARD_TYPE charproc.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=22 -DOSMINORVERSION=4 -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 C2x [-Wdeprecated-non-prototype] WindowScroll(screen, 0); ^ input.c:53:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustAfterInput (screen) ^ input.c:75:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] reply.a_param[0] = funcvalue (keysym); ^ input.c:97:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Input (keyboard, screen, event, eightbit) ^ --- charproc.o --- charproc.c:778:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NumBit(color) ^ charproc.c:791:21: warning: unused variable 'screen' [-Wunused-variable] register TScreen *screen = &term->screen; ^ charproc.c:805:21: warning: unused variable 'screen' [-Wunused-variable] 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] switch (parsestate[c = doinput()]) { ^ charproc.c:283:44: note: expanded from macro 'doinput' #define doinput() (bcnt-- > 0 ? *bptr++ : in_put()) ^ charproc.c:851:48: warning: array subscript is of type 'char' [-Wchar-subscripts] charset_sg = screen->curss ? (screen->gsets[screen->curss] == '0') ^~~~~~~~~~~~~~ charproc.c:852:27: warning: array subscript is of type 'char' [-Wchar-subscripts] : (screen->gsets[screen->curgl] == '0'); ^~~~~~~~~~~~~~ --- main.o --- main.c:819:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int abbrev (tst, cmp) ^ --- charproc.o --- charproc.c:874:3: warning: call to undeclared function 'CursorBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] CursorBack(screen, 1); ^ charproc.c:856:8: warning: unused variable 'col' [-Wunused-variable] Char *col = screen->buf[4*screen->cur_row] + screen->cur_col; ^ charproc.c:857:8: warning: unused variable 'attrs' [-Wunused-variable] 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] 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] 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] last_hangul = adjust_hangul_string(bptr, cp - bptr, screen->code); ^ charproc.c:1045:23: warning: array subscript is of type 'char' [-Wchar-subscripts] 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 C2x [-Wdeprecated-non-prototype] dotext(screen, term->flags, ^ charproc.c:1064:19: warning: array subscript is of type 'char' [-Wchar-subscripts] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] TabZonk(term->tabs); ^ --- input.o --- input.c:220:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void StringInput (screen, string, nbytes) ^ input.c:232:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int funcvalue (keycode) ^ input.c:279:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sunfuncvalue (keycode) ^ --- main.o --- main.c:826:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Syntax (badOption) ^ main.c:884:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertConsoleSelection(w, selection, target, type, value, length, format) ^ --- charproc.o --- charproc.c:1446:21: warning: incompatible function pointer types passing 'void ()' to parameter of type 'int (*)()' [-Wincompatible-function-pointer-types] ansi_modes(term, bitset); ^~~~~~ charproc.c:130:43: note: passing argument to parameter here 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] ansi_modes(term, bitclr); ^~~~~~ charproc.c:130:43: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] FlushScroll(screen); ^ --- main.o --- 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 C2x [-Wdeprecated-non-prototype] do_hangup(w); ^ main.c:939:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteWindow(w, event, params, num_params) ^ --- charproc.o --- charproc.c:1628:4: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] CursorRestore(term, &screen->sc); ^ --- main.o --- main.c:950:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KeyboardMapping(w, event, params, num_params) ^ --- charproc.o --- charproc.c:1666:9: warning: passing arguments to 'Index' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] VTReset(TRUE); ^ --- main.o --- main.c:964:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "DeleteWindow", DeleteWindow, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } main.c:965:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "KeyboardMapping", KeyboardMapping, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } --- charproc.o --- charproc.c:1775:9: warning: call to undeclared function 'in_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(doinput()); ^ charproc.c:283:44: note: expanded from macro 'doinput' #define doinput() (bcnt-- > 0 ? *bptr++ : in_put()) ^ --- main.o --- 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 C2x [-Wdeprecated-non-prototype] int n = parse_tty_modes (resource.tty_modes, ttymodelist); ^ --- charproc.o --- charproc.c:1791:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v_write(f, d, len) ^ --- main.o --- main.c:1283:25: warning: '/*' within block comment [-Wcomment] /* 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] VTRun(); ^ main.c:976:15: warning: unused variable 'i' [-Wunused-variable] register int i, pty; ^ main.c:971:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main (argc, argv) ^ --- charproc.o --- charproc.c:1961:3: warning: call to undeclared function 'FlushLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] Panic( ^ charproc.c:1996:3: warning: call to undeclared function 'Panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] SysError(ERROR_SELECT); ^ --- main.o --- main.c:1562:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *base_name(name) ^ --- charproc.o --- charproc.c:2175:25: warning: passing arguments to 'ScrnSetAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] --- main.o --- main.c:1676:9: warning: call to undeclared function 'pty_search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return pty_search(pty); ^ --- charproc.o --- 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 C2x [-Wdeprecated-non-prototype] --- main.o --- main.c:1579:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_pty (pty) ^ --- charproc.o --- 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 C2x [-Wdeprecated-non-prototype] WriteText(screen, ptr, len_code, flags, fg, bg); ^ charproc.c:2112:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dotext(screen, flags, fg, bg, charset, buf, ptr) ^ --- main.o --- main.c:1690:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] screen->arrow = make_colored_cursor (XC_left_ptr, ^ main.c:1776:10: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SIGNAL_T hungtty(i) ^ --- charproc.o --- 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] 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] len = convert_utf8_to_johab(str, johab_buf, len); ^ --- main.o --- main.c:1820:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HsSysError(pf, error) ^ --- charproc.o --- charproc.c:2296:16: warning: passing arguments to 'InsertChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] HDrawImageString(screen->display, TextWindow(screen), currentGC, ^ --- main.o --- main.c:1943:16: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp utmp; ^ --- charproc.o --- charproc.c:2308:7: warning: call to undeclared function 'HDrawString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] 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] CursorForward(screen, len); ^ charproc.c:2229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- main.o --- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ --- charproc.o --- WriteText(screen, str, len, flags, fg, bg) ^ --- main.o --- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- charproc.o --- 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*func)(&termw->flags, LINEFEED); ^ --- main.o --- main.c:2017:8: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError(ERROR_OPDEVTTY); ^ --- charproc.o --- 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] (*func)(&termw->flags, IN132COLUMNS); ^ --- main.o --- main.c:2089:2: warning: call to undeclared function 'VTInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- charproc.o --- charproc.c:2413:17: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FlushScroll(screen); ^ --- main.o --- VTInit(); /* realize now so know window size for tty driver */ ^ --- charproc.o --- 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 C2x [-Wdeprecated-non-prototype] (*func)(&termw->flags, SMOOTHSCROLL); ^ --- main.o --- main.c:2125:10: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- charproc.o --- 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 C2x [-Wdeprecated-non-prototype] (*func)(&termw->flags, REVERSE_VIDEO); ^ --- main.o --- if (tgetent (ptr, resource.term_name) == 1) { ^ --- charproc.o --- charproc.c:2423:17: warning: passing arguments to 'ReverseVideo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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] CursorSet(screen, 0, 0, termw->flags); --- main.o --- main.c:2151:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] Exit (1); ^ --- charproc.o --- ^ 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 C2x [-Wdeprecated-non-prototype] (*func)(&termw->flags, WRAPAROUND); ^ --- main.o --- main.c:2185:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError (ERROR_FORK); ^ --- charproc.o --- 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- main.o --- main.c:2346:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- charproc.o --- ToAlternate(screen); ^ --- main.o --- if (ptr = ttyname(tty)) ~~~~^~~~~~~~~~~~~~ --- charproc.o --- charproc.c:2485:18: warning: passing arguments to 'FromAlternate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FromAlternate(screen); ^ --- main.o --- main.c:2346:11: note: place parentheses around the assignment to silence this warning if (ptr = ttyname(tty)) ^ ( ) main.c:2346:11: note: use '==' to turn this assignment into an equality comparison if (ptr = ttyname(tty)) ^ == --- charproc.o --- charproc.c:2589:16: warning: passing arguments to 'ClearScreen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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] ScreenResize (&termw->screen, ^ --- main.o --- main.c:2636:10: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Setenv ("TERM=", TermName); ^ --- charproc.o --- charproc.c:2624:17: warning: passing arguments to 'FlushScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FlushScroll(screen); ^ --- main.o --- main.c:2646:10: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Setenv ("DISPLAY=", XDisplayString (screen->display)); ^ --- charproc.o --- charproc.c:2635:17: warning: passing arguments to 'ReverseVideo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] FromAlternate(screen); ^ charproc.c:2703:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bitset(p, mask) ^ charproc.c:2713:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bitclr(p, mask) ^ charproc.c:2764:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unparseputc(c, fd) ^ charproc.c:2769:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i = 1; ~~~~~~~~ ^ charproc.c:2772:6: warning: call to undeclared function 'hangul_automata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] i = hangul_automata(c, buf); ^ charproc.c:2783:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SwitchBufs(screen); ^ charproc.c:2795:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToAlternate(screen) ^ charproc.c:2817:12: warning: passing arguments to 'SwitchBufs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SwitchBufs(screen); ^ charproc.c:2811:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FromAlternate(screen) ^ charproc.c:2830:2: warning: call to undeclared function 'SwitchBufPtrs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] ScrnRefresh(screen, 0, 0, rows, screen->max_col + 1, False); ^ charproc.c:2822:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SwitchBufs(screen) ^ charproc.c:2850:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SwitchBufPtrs(screen) ^ charproc.c:2850:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:2860:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2862:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] VTRun() ^ 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] set_vt_visibility (TRUE); ^ charproc.c:2865:15: warning: unused variable 'i' [-Wunused-variable] register int i; ^ charproc.c:2879:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2894:3: warning: call to undeclared function 'HandleExposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleExposure (screen, event); ^ charproc.c:2882:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTExpose(w, event, region) ^ charproc.c:2907:8: warning: call to undeclared function 'HandleExposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (HandleExposure (screen, event)) ^ charproc.c:2897:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTGraphicsOrNoExpose (event) ^ charproc.c:2920:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] ScreenResize (&term->screen, term->core.width, term->core.height, ^ charproc.c:2937:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTResize(w) ^ --- main.o --- main.c:2689:11: error: too many arguments to function call, expected 0, have 2 setpgrp(0,0); ~~~~~~~ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:588:8: note: 'setpgrp' declared here pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); ^ --- charproc.o --- charproc.c:2975:31: warning: passing arguments to 'Allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] ScrollBarOn (new, TRUE, FALSE); ^ charproc.c:3000:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTInitialize (wrequest, wnew, args, num_args) ^ --- main.o --- main.c:2691:12: error: too many arguments to function call, expected 0, have 2 setpgrp (0, pgrp); ~~~~~~~ ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:588:8: note: 'setpgrp' declared here pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); ^ --- charproc.o --- charproc.c:3154:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTDestroy (w) ^ charproc.c:3172:2: warning: call to undeclared function 'TabReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] set_cursor_gcs (screen); ^ --- main.o --- main.c:2697:14: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Setenv ("LOGNAME=", pw->pw_name); /* for POSIX */ ^ --- charproc.o --- 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] 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 C2x [-Wdeprecated-non-prototype] 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] CursorSave (term, &screen->sc); ^ charproc.c:3161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTRealize (w, valuemask, values) ^ charproc.c:3350:6: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ScrollBarOff (&newvt->screen); ^ charproc.c:3333:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean VTSetValues (cur, request, new, args, num_args) ^ --- main.o --- main.c:2793:47: warning: 'utmp' is deprecated [-Wdeprecated-declarations] memset((char *)&utmp, '\0', sizeof(struct utmp)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- charproc.o --- 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] 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] || 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] FlushScroll(screen); ^ --- main.o --- main.c:2805:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] lseek(i, (long)(tslot * sizeof(struct utmp)), 0); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ main.c:2806:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] write(i, (char *)&utmp, sizeof(struct utmp)); ^ --- charproc.o --- charproc.c:3513:2: warning: call to undeclared function 'HDrawImageString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] HDrawString(screen->display, TextWindow(screen), currentGC, ^ --- main.o --- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- charproc.o --- 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] 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] || adjust_hangul_string(screen->buf[y+1], x, 0 /*C_JOHAB*/))) ^ --- main.o --- main.c:2943:10: warning: passing arguments to 'Setenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Setenv ("TERMCAP=", newtc); ^ main.c:2982:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shname = rindex(ptr, '/')) ~~~~~~~^~~~~~~~~~~~~~~~~~ --- charproc.o --- charproc.c:3656:2: warning: call to undeclared function 'HDrawImageString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] HDrawString(screen->display, TextWindow(screen), currentGC, ^ --- main.o --- main.c:2982:13: note: place parentheses around the assignment to silence this warning if(shname = rindex(ptr, '/')) ^ ( ) main.c:2982:13: note: use '==' to turn this assignment into an equality comparison 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] ldisc = XStrCmp("csh", shname + strlen(shname) - 3) == 0 ? ^ --- charproc.o --- charproc.c:3677:3: warning: call to undeclared function 'TabReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] CursorSet(screen, 0, 0, term->flags); ^ charproc.c:773:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void VTReset(); ^ void charproc.c:3667:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void VTReset(full) ^ charproc.c:3794:17: warning: call to undeclared function 'SetCharacterClassRange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] } 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] } else if (SetCharacterClassRange (low, high, acc) != 0) { ^ charproc.c:3730:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_character_class (s) ^ --- main.o --- main.c:3204:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp utmp; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ main.c:3208:45: warning: 'utmp' is deprecated [-Wdeprecated-declarations] memset((char *)&utmp, '\0', sizeof(struct utmp)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ main.c:3209:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] lseek(wfd, (long)(tslot * sizeof(struct utmp)), 0); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ main.c:3210:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] write(wfd, (char *)&utmp, sizeof(struct utmp)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #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 C2x [-Wdeprecated-non-prototype] CloseLog(screen); ^ main.c:3203:15: warning: unused variable 'i' [-Wunused-variable] register int i; ^ main.c:353:10: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SIGNAL_T Exit(); ^ void main.c:3140:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Exit(n) ^ main.c:3258:23: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ptr2 = strindex (oldtc, "li#"); ^ --- charproc.o --- charproc.c:3827:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleKeymapChange(w, event, params, param_count) ^ charproc.c:3860:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleBell(w, event, params, param_count) ^ charproc.c:3873:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleVisualBell(w, event, params, param_count) ^ charproc.c:3891:29: warning: passing arguments to 'SendMousePosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SendMousePosition(w, event); ^ charproc.c:3884:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleIgnore(w, event, params, param_count) ^ charproc.c:3920:7: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LoadNewFont (&term->screen, val, NULL, term->misc.f_h, True, ^ charproc.c:3897:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSetSelectedFont(w, client_data, selection, type, value, length, format) ^ charproc.c:3926:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FindFontSelection (atom_name, justprobe) ^ --- main.o --- main.c:3309:22: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] pid = wait3 (&status, WNOHANG, (struct rusage *)NULL); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/wait.h:254:20: note: passing argument to parameter here 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] Cleanup (0); ^ --- charproc.o --- charproc.c:4012:15: warning: passing arguments to 'SetVTFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetVTFont (fontnum, True, name1, name2); ^ --- main.o --- main.c:3317:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static SIGNAL_T reapchild (n) ^ --- charproc.o --- charproc.c:324:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void HandleSetFont(); ^ void charproc.c:3961:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSetFont(w, event, params, param_count) ^ charproc.c:4032:10: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LoadNewFont(screen, name1, name2, term->misc.f_h, doresize, i)) { ^ charproc.c:330:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void SetVTFont(); ^ void charproc.c:4016:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetVTFont (i, doresize, name1, name2) ^ --- main.o --- main.c:3356:27: warning: passing arguments to 'SysErrorMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] strinbuf = strindex (buf, str); ^ main.c:3399:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int parse_tty_modes (s, modelist) ^ 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 not supported in C2x [-Wdeprecated-non-prototype] extern int GetBytesAvailable(); ^ void main.c:3435:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int GetBytesAvailable (fd) ^ 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 not supported in C2x [-Wdeprecated-non-prototype] extern int kill_process_group(); ^ void main.c:3455:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kill_process_group(pid, sig) ^ --- charproc.o --- charproc.c:4123:2: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] update_font_info (screen, doresize); ^ charproc.c:4039:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int LoadNewFont (screen, nfontname, bfontname, hfontname, doresize, fontnum) ^ --- main.o --- 63 warnings and 2 errors generated. --- charproc.o --- charproc.c:4114:34: warning: variable 'hfont_fullname' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for (i=0, pp = hfs->properties; i < hfs->n_properties; i++, pp++) ^~~~~~~~~~~~~~~~~~~~~ charproc.c:4120:8: note: uninitialized use occurs here if(hfont_fullname == NULL) { ^~~~~~~~~~~~~~ charproc.c:4114:34: note: remove the condition if it is always true 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 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] set_vt_graphics(screen); ^ charproc.c:4307:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_font_info (screen, doresize) ^ charproc.c:4346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_vt_box (screen) ^ charproc.c:4346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:4365:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:4391:14: warning: array subscript is of type 'char' [-Wchar-subscripts] gr_mapping[gr_valid_code[i]] = i + 1; ^~~~~~~~~~~~~~~~~ charproc.c:127:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void set_vt_graphics (/*TScreen *screen*/); ^ void charproc.c:4371:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_vt_graphics (screen) ^ charproc.c:4500:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_cursor_gcs (screen) ^ charproc.c:4500:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:4582:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- main.o --- *** [main.o] Error code 1 bmake: stopped in /Users/pbulk/build/x11/hanterm/work/hanterm-3.1.6 --- charproc.o --- charproc.c:344:13: warning: unused variable 'defaultBorderWidth' [-Wunused-variable] static int defaultBorderWidth = DEFBORDERWIDTH; ^ charproc.c:778:12: warning: unused function 'NumBit' [-Wunused-function] static int NumBit(color) ^ --- input.o --- 11 warnings generated. --- charproc.o --- 224 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/x11/hanterm/work/hanterm-3.1.6 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/x11/hanterm *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/x11/hanterm