=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kterm-6.2.0nb24 --- button.o --- --- kfontlist.c --- --- cursor.o --- --- button.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c button.c --- kfontlist.c --- m4 kfontlist.m4 > kfontlist.c --- cursor.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cursor.c --- data.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c data.c --- cursor.o --- cursor.c:47:2: warning: call to undeclared function 'TrackText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TrackText(0, 0, 0, 0); ^ cursor.c:33: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 _CheckSelection(screen) ^ cursor.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorSet(screen, row, col, flags) ^ cursor.c:58:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:76:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- button.o --- button.c:152:15: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:160:18: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:169:15: warning: passing arguments to 'TrackDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TrackDown(event); ^ button.c:173:18: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:128:9: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Boolean SendMousePosition(w, event) ^ --- cursor.o --- cursor.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorBack(screen, n) ^ --- button.o --- button.c:199:18: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol (event->xmotion.y, event->xmotion.x, ^ button.c:201:17: warning: passing arguments to 'ExtendExtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendExtend (row, col); ^ button.c:186: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 HandleSelectExtend(w, event, params, num_params) ^ --- cursor.o --- cursor.c:81:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:105:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- button.o --- button.c:225:16: warning: passing arguments to 'EndExtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EndExtend(w, event, params, *num_params, use_cursor_loc); ^ button.c:211: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 do_select_end (w, event, params, num_params, use_cursor_loc) ^ button.c:231: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 HandleSelectEnd(w, event, params, num_params) ^ button.c:241: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 HandleKeyboardSelectEnd(w, event, params, num_params) ^ button.c:306:23: warning: passing arguments to 'SelectionReceived' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionReceived(w, NULL, &selection, &type, (XtPointer)line, ^ --- cursor.o --- cursor.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorForward(screen, n) ^ cursor.c:110:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:119:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorDown(screen, n) ^ cursor.c:125:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:139:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorUp(screen, n) ^ cursor.c:145:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:159:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- button.o --- button.c:276: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 _GetSelection(w, time, params, num_params) ^ --- cursor.o --- cursor.c:180:2: warning: call to undeclared function 'Scroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Scroll(screen, amount - j); ^ cursor.c:199:2: warning: call to undeclared function 'RevScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); ^ cursor.c:206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CarriageReturn(screen) ^ cursor.c:206:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:212:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorSave(term, sc) ^ --- button.o --- button.c:367:26: warning: passing arguments to 'paste_compound_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_compound_text(w, list->ctext, list->ctext_len); ^ button.c:390:6: warning: call to undeclared function 'check_ctext_kterm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (check_ctext_kterm((char*)value, *length)) { ^ --- cursor.o --- cursor.c:217:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:229:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- button.o --- button.c:391:25: warning: passing arguments to 'paste_compound_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_compound_text(w, (Char*)value, *length); ^ button.c:403:19: warning: passing arguments to 'paste_utf8_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_utf8_string(w, (Char*)value, *length, list); ^ button.c:405:14: warning: passing arguments to 'paste_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_string(w, (Char*)value, *length); ^ button.c:338: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 SelectionReceived(w, client_data, selection, type, ^ button.c:427:9: warning: call to undeclared function 'convCTtoCS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] n = convCTtoCS(ct, len, NULL); ^ button.c:433:13: warning: passing arguments to 'paste_cs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_cs(w, cs); ^ button.c:418:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_compound_text(w, ct, len) ^ button.c:452:12: warning: passing arguments to 'paste_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_text(w, ut, ut + len); ^ button.c:457:9: warning: call to undeclared function 'convUTF8toCS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] n = convUTF8toCS(ut, len, NULL); ^ button.c:463:13: warning: passing arguments to 'paste_cs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_cs(w, cs); ^ button.c:439:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_utf8_string(w, ut, len, list) ^ --- cursor.o --- cursor.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorRestore(term, sc) ^ cursor.c:234:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:247:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- button.o --- button.c:496:13: warning: passing arguments to 'paste_cs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_cs(w, cs); ^ button.c:469:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_string(w, str, len) ^ button.c:480:42: warning: variable 'n' is uninitialized when used here [-Wuninitialized] cs = (len > 256) ? (Ichr *)XtMalloc((n + 1) * sizeof(Ichr)) : cbuf; ^ button.c:475:10: note: initialize the variable 'n' to silence this warning int n; ^ = 0 button.c:534:16: 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] n = (*func)(cs, NULL); ^ button.c:536:18: 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] (void)(*func)(cs, line); ^ button.c:537:15: warning: passing arguments to 'paste_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_text(w, line, line + n); ^ button.c:502:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_cs(w, cs) ^ button.c:555:6: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, lag, cp - lag + 1); ^ button.c:559:2: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, lag, end - lag); ^ button.c:542:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_text(w, line, end) ^ button.c:564:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleInsertSelection(w, event, params, num_params) ^ button.c:576:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSelectUnit(buttonDownTime, defaultUnit) ^ button.c:603:13: warning: passing arguments to 'StartSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartSelect(startrow, startcol); ^ button.c:595: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 do_select_start (w, event, startrow, startcol) ^ button.c:619:15: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->xbutton.y, event->xbutton.x, &startrow, &startcol); ^ button.c:608:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleSelectStart(w, event, params, num_params) ^ button.c:626:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleKeyboardSelectStart(w, event, params, num_params) ^ button.c:646:16: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->y, event->x, &startrow, &startcol); ^ button.c:648:14: warning: passing arguments to 'StartSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartSelect(startrow, startcol); ^ button.c:651:15: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:639:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TrackDown(event) ^ button.c:678:13: warning: passing arguments to 'StartSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartSelect(startrow, startcol); ^ button.c:662:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TrackMouse(func, startrow, startcol, firstrow, lastrow) ^ button.c:688:6: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor (); ^ button.c:709:15: warning: passing arguments to 'ComputeSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startERow, startECol, endERow, endECol, False); ^ button.c:682:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartSelect(startrow, startcol) ^ button.c:729:19: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->xbutton.y, event->xbutton.x, &row, &col); ^ button.c:731:15: warning: passing arguments to 'ExtendExtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendExtend (row, col); ^ button.c:741:5: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(screen->respond, line, 5); ^ button.c:751:5: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(screen->respond, line, 9); ^ button.c:756:11: warning: passing arguments to 'SelectSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectSet(w, event, params, num_params); ^ button.c:714:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EndExtend(w, event, params, num_params, use_cursor_loc) ^ button.c:767:12: warning: passing arguments to 'SelectSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectSet (w, event, params, *num_params); ^ button.c:761:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleSelectSet(w, event, params, num_params) ^ button.c:782:15: warning: passing arguments to 'SaltTextAway' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaltTextAway(startSRow, startSCol, endSRow, endSCol, ^ button.c:785:3: warning: call to undeclared function 'DisownSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DisownSelection(term); ^ button.c:774:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectSet (w, event, params, num_params) ^ button.c:826:19: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->xbutton.y, event->xbutton.x, &row, &col); ^ button.c:843:15: warning: passing arguments to 'ComputeSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startERow, startECol, endERow, endECol, True); ^ button.c:791: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 do_start_extend (w, event, params, num_params, use_cursor_loc) ^ button.c:872:15: warning: passing arguments to 'ComputeSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startERow, startECol, endERow, endECol, False); ^ button.c:847:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendExtend (row, col) ^ button.c:876: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 HandleStartExtend(w, event, params, num_params) ^ button.c:885: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 HandleKeyboardStartExtend(w, event, params, num_params) ^ button.c:895:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ScrollSelection(screen, amount) ^ button.c:895:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button.c:926:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:930:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ResizeSelection (screen, rows, cols) ^ button.c:930:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button.c:948:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:960:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ button.c:960:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ button.c:951:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(y, x, r, c) ^ button.c:978:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LastTextCol(row) ^ button.c:1079: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 SetCharacterClassRange (low, high, value) ^ button.c:1151:28: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] class = mbcsCharClass (ptr); ^ button.c:1158:32: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && class == mbcsCharClass (ptr)); ^ button.c:1216:28: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] class = mbcsCharClass (ptr); ^ button.c:1223:32: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && class == mbcsCharClass (ptr)); ^ button.c:1097:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startRow, startCol, endRow, endCol, extend) ^ button.c:1335:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1335:18: note: place parentheses around the '&&' expression to silence this warning if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ^ ( ) button.c:1335:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1335:46: note: place parentheses around the '&&' expression to silence this warning if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ^ ( ) button.c:1347:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1347:18: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ^ ( ) button.c:1347:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1347:46: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ^ ( ) button.c:1351:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1351:18: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ^ ( ) button.c:1351:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1351:46: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ^ ( ) button.c:1359:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1359:46: note: place parentheses around the '&&' expression to silence this warning if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e ^ ( ) button.c:1360:18: warning: '&&' within '||' [-Wlogical-op-parentheses] || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ button.c:1360:18: note: place parentheses around the '&&' expression to silence this warning || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ ^ ( ) button.c:1362:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1362:46: note: place parentheses around the '&&' expression to silence this warning if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e ^ ( ) button.c:1363:18: warning: '&&' within '||' [-Wlogical-op-parentheses] || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ button.c:1363:18: note: place parentheses around the '&&' expression to silence this warning || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ ^ ( ) button.c:1313: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 mbcsCharClass (ptr) ^ button.c:1363:33: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1360:33: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1393:18: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(old_startrow, old_startcol, old_endrow, old_endcol); ^ button.c:1394:18: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(frow, fcol, trow, tcol); ^ button.c:1398:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(frow, fcol, old_startrow, old_startcol); ^ button.c:1401:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(old_startrow, old_startcol, frow, fcol); ^ button.c:1405:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(old_endrow, old_endcol, trow, tcol); ^ button.c:1408:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(trow, tcol, old_endrow, old_endcol); ^ button.c:1439:7: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, frow, fcol, 1, i, True); ^ button.c:1442:7: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, frow+1, 0,i, screen->max_col+1, True); ^ button.c:1445:7: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, trow, 0, 1, tcol, True); ^ button.c:1448:3: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, frow, fcol, 1, tcol - fcol, True); ^ button.c:1416:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(frow, fcol, trow, tcol) ^ button.c:1489:31: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( row == crow ) j = Length(screen, crow, ccol, col); ^ button.c:1491:14: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j += Length(screen, crow, ccol, screen->max_col) + 1; ^ button.c:1493:15: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j += Length(screen, i, 0, screen->max_col) + 1; ^ button.c:1495:15: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j += Length(screen, row, 0, col); ^ button.c:1503:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError(ERROR_BMALLOC2); ^ button.c:1522:34: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( row == crow ) lp = SaveText(screen, row, ccol, col, lp, &eol); ^ button.c:1524:16: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp = SaveText(screen, crow, ccol, screen->max_col, lp, &eol); ^ button.c:1535:17: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp = SaveText(screen, i, 0, screen->max_col, lp, &eol); ^ button.c:1547:17: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp = SaveText(screen, row, 0, col, lp, &eol); ^ button.c:1557:15: warning: passing arguments to '_OwnSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _OwnSelection(term, params, num_params); ^ button.c:1455:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaltTextAway(crow, ccol, row, col, params, num_params) ^ button.c:1603:16: warning: call to undeclared function 'pasteCStoUTF8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *length = pasteCStoUTF8(xterm->screen.selection, NULL); ^ button.c:1608:16: warning: call to undeclared function 'convCStoCT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *length = convCStoCT(xterm->screen.selection, NULL); ^ button.c:1613:16: warning: call to undeclared function 'convCStoLatin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *length = convCStoLatin1(xterm->screen.selection, NULL); ^ button.c:1645:23: warning: call to undeclared function 'convCStoCT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *(long*)*value = convCStoCT(xterm->screen.selection, NULL); ^ button.c:1560: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 ConvertSelection(w, selection, target, ^ button.c:1673: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 LoseSelection(w, selection) ^ button.c:1725: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 _OwnSelection(termw, selections, count) ^ button.c:1812:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DisownSelection(termw) ^ button.c:1812:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button.c:1839:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:1845:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Length(screen, row, scol, ecol) ^ button.c:1887:6: warning: call to undeclared function 'ScrnGetAttributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { ^ button.c:1901:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c < ' ' || c == 0x7f && !(g & CS96)) { ~~ ~~~~~~~~~~^~~~~~~~~~~~~~ button.c:1901:28: note: place parentheses around the '&&' expression to silence this warning if (c < ' ' || c == 0x7f && !(g & CS96)) { ^ ( ) button.c:1862:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaveText(screen, row, scol, ecol, lp, eol) ^ button.c:1951:2: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, line, 6); ^ button.c:1927:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event) ^ button.c:1997:22: warning: passing arguments to 'DoSecureKeyboard' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSecureKeyboard (time); ^ button.c:1983: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 HandleSecure(w, event, params, param_count) ^ --- input.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c input.c input.c:50:3: warning: call to undeclared function 'WindowScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WindowScroll(screen, 0); ^ input.c:56:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MarginBell,0); ^ input.c:46: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:90:15: warning: call to undeclared function 'XmuLookupKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] nbytes = XmuLookupKana (event, strbuf, STRBUFSIZE, ^ input.c:120:3: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:121:3: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc((char)(keysym-XK_KP_F1+'P'), pty); ^ input.c:127:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:128:4: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(cur[keysym-XK_Left], pty); ^ input.c:132:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:142: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:145: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:149:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:154:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:155:4: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(kypd_apl[keysym-XK_KP_Space], pty); ^ input.c:157:4: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(kypd_num[keysym-XK_KP_Space], pty); ^ input.c:173:9: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc (033, pty); /* escape */ ^ input.c:175:5: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*string, pty); ^ input.c:185:6: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*string++, pty); ^ input.c:195:16: 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] n = (*func)(string, NULL); ^ input.c:197:18: 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] (void)(*func)(string, obuf); ^ input.c:200:6: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*optr++, pty); ^ --- cursor.o --- 28 warnings generated. --- input.o --- input.c:231:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StringInput (screen, string, nbytes) ^ input.c:246:3: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*string++, pty); ^ input.c:231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringInput (screen, string, nbytes) ^ input.c:251:1: warning: non-void function does not return a value [-Wreturn-type] } ^ input.c:253: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:294: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 --- rm -f main.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=22 -DOSMINORVERSION=4 main.c --- input.o --- 27 warnings generated. --- menu.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c menu.c --- button.o --- 140 warnings generated. --- misc.o --- rm -f misc.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE misc.c --- main.o --- main.c:1002: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:1053: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) ^ main.c:1067:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printopt(s) ^ main.c:1159:16: 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:1142: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) ^ main.c:1164: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) ^ main.c:1178:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "DeleteWindow", DeleteWindow, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } main.c:1179:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] "KeyboardMapping", KeyboardMapping, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } main.c:1187:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ --- menu.o --- menu.c:209:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ menu.c:216:37: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->mainMenu = create_menu (term, toplevel, "mainMenu", ^ menu.c:237:35: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->vtMenu = create_menu (term, toplevel, "vtMenu", ^ menu.c:274:37: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- main.o --- main.c:1495: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); ^ --- menu.o --- screen->fontMenu = create_menu (term, toplevel, "fontMenu", ^ menu.c:290:20: warning: passing arguments to 'FindFontSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindFontSelection (NULL, True); ^ menu.c:316:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ menu.c:200: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 Bool domenu (w, event, params, param_count) ^ --- main.o --- main.c:1668: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:1729:2: warning: call to undeclared function 'get_terminal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_terminal (); ^ main.c:1730:2: warning: call to undeclared function 'spawn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] spawn (); ^ main.c:1752:3: warning: call to undeclared function 'StartLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StartLog(screen); ^ main.c:1789:61: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ioctl (screen->respond, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO); ^ --- menu.o --- menu.c:323: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 HandleCreateMenu (w, event, params, param_count) ^ menu.c:332: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 HandlePopupMenu (w, event, params, param_count) ^ --- main.o --- main.c:1814:4: warning: call to undeclared function 'VTRun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTRun(); ^ --- menu.o --- menu.c:353:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget create_menu (xtw, toplevelw, name, entries, nentries) ^ --- main.o --- main.c:1187: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) ^ --- menu.o --- menu.c:412:45: warning: passing arguments to 'kill_process_group' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (screen->pid > 1) kill_process_group (screen->pid, sig); ^ menu.c:406: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 handle_send_signal (gw, sig) ^ menu.c:424:18: warning: passing arguments to 'do_securekbd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_securekbd (term->screen.mainMenu, NULL, NULL); ^ In file included from menu.c:32: ./menu.h:78: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 DoSecureKeyboard(); ^ void menu.c:421: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 DoSecureKeyboard (time) ^ menu.c:436:2: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo (term); ^ menu.c:442:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 100); ^ menu.c:444:6: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo (term); ^ menu.c:427: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 do_securekbd (gw, closure, data) ^ menu.c:452: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 do_allowsends (gw, closure, data) ^ menu.c:462: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 do_visualbell (gw, closure, data) ^ menu.c:480:2: warning: call to undeclared function 'CloseLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CloseLog (screen); ^ menu.c:482:2: warning: call to undeclared function 'StartLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StartLog (screen); ^ menu.c:473: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 do_logging (gw, closure, data) ^ menu.c:492:5: warning: call to undeclared function 'Redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Redraw (); ^ menu.c:488: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 do_redraw (gw, closure, data) ^ menu.c:503: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 do_suspend (gw, closure, data) ^ menu.c:513: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 do_continue (gw, closure, data) ^ menu.c:523: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 do_interrupt (gw, closure, data) ^ menu.c:50: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 do_hangup(); ^ void menu.c:531: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 do_hangup (gw, closure, data) ^ menu.c:539: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 do_terminate (gw, closure, data) ^ menu.c:547: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 do_kill (gw, closure, data) ^ menu.c:558:5: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup (0); ^ menu.c:554: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 do_quit (gw, closure, data) ^ menu.c:574:2: warning: call to undeclared function 'ScrollBarOff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOff (screen); ^ menu.c:576:2: warning: call to undeclared function 'ScrollBarOn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOn (term, FALSE, FALSE); ^ menu.c:567: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 do_scrollbar (gw, closure, data) ^ menu.c:591:26: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (screen->scroll_amt) FlushScroll(screen); ^ menu.c:582: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 do_jumpscroll (gw, closure, data) ^ menu.c:604:5: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo (term); ^ menu.c:599: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 do_reversevideo (gw, closure, data) ^ --- main.o --- main.c:1818: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) ^ main.c:1834:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_pty (pty) ^ main.c:1935: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); ^ main.c:1834: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) ^ --- menu.o --- menu.c:609: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 do_autowrap (gw, closure, data) ^ --- main.o --- main.c:1948: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) ^ --- menu.o --- menu.c:618: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 do_reversewrap (gw, closure, data) ^ menu.c:627: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 do_autolinefeed (gw, closure, data) ^ menu.c:636: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 do_appcursor (gw, closure, data) ^ menu.c:645: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 do_appkeypad (gw, closure, data) ^ menu.c:654: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 do_scrollkey (gw, closure, data) ^ menu.c:665: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 do_scrollttyoutput (gw, closure, data) ^ menu.c:676: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 do_allow132 (gw, closure, data) ^ menu.c:687: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 do_cursesemul (gw, closure, data) ^ menu.c:698: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 do_marginbell (gw, closure, data) ^ menu.c:743: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 do_altscreen (gw, closure, data) ^ --- main.o --- main.c:2002:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_terminal () ^ --- menu.o --- menu.c:755:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTReset (FALSE); ^ menu.c:751:13: 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 --- main.c:2009: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, ^ --- menu.o --- static void do_softreset (gw, closure, data) ^ menu.c:763:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTReset (TRUE); ^ menu.c:759:13: 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 --- main.c:2012:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- menu.o --- static void do_hardreset (gw, closure, data) ^ menu.c:774:5: warning: call to undeclared function 'ScrollBarDrawThumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarDrawThumb(screen->scrollWidget); ^ menu.c:775:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTReset (TRUE); ^ --- main.o --- main.c:2062: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) ^ --- menu.o --- menu.c:767: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 do_clearsavedlines (gw, closure, data) ^ menu.c:806:2: warning: call to undeclared function 'HideStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideStatus(); ^ menu.c:808:2: warning: call to undeclared function 'ShowStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ShowStatus(); ^ --- main.o --- main.c:2106: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) ^ --- menu.o --- menu.c:799: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 do_statusline (gw, closure, data) ^ menu.c:823:5: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, screen->max_row+1, 0, 1, screen->max_col+1, False); ^ --- main.o --- main.c:2153:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] spawn () ^ --- menu.o --- menu.c:815: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 do_reversestatus (gw, closure, data) ^ --- main.o --- main.c:2222:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp utmp; ^ --- menu.o --- menu.c:828: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 do_jismode (gw, closure, data) ^ --- main.o --- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here --- menu.o --- menu.c:849: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 do_eucmode (gw, closure, data) ^ --- main.o --- } __deprecated; ^ --- menu.o --- menu.c:874: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 do_sjismode (gw, closure, data) ^ --- 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__)) ^ --- menu.o --- menu.c:919:2: warning: call to undeclared function 'make_unicode_map'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] make_unicode_map(); ^ menu.c:898: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 do_utf8mode (gw, closure, data) ^ menu.c:934:9: warning: passing arguments to 'CloseIM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseIM(screen); ^ menu.c:936:8: warning: passing arguments to 'OpenIM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OpenIM(screen); ^ menu.c:926: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 do_openim (gw, closure, data) ^ --- main.o --- main.c:2300:8: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError(ERROR_OPDEVTTY); ^ --- menu.o --- menu.c:956:6: warning: call to undeclared function 'SetVTFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetVTFont (i, True, NULL, NULL); ^ --- main.o --- main.c:2382:6: warning: call to undeclared function 'VTInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTInit(); /* realize now so know window size for tty driver */ ^ main.c:2416:10: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (tgetent (ptr, resource.term_name) == 1) { ^ --- menu.o --- menu.c:960:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ --- main.o --- main.c:2421:7: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resize (screen, TermName, termcap, newtc); ^ main.c:2429: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:2434:8: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resize(screen, TermName, termcap, newtc); ^ main.c:2442: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); ^ --- menu.o --- menu.c:947: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 do_vtfont (gw, closure, data) ^ menu.c:1104:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ menu.c:1108:10: 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] (*proc) (w, closure, data); ^ menu.c:1112:19: 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] if (var) (*proc) (w, closure, data); ^ menu.c:1117:20: 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] if (!var) (*proc) (w, closure, data); ^ menu.c:1081: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 handle_toggle (proc, var, params, nparams, w, closure, data) ^ --- main.o --- main.c:2485:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError (ERROR_FORK); ^ --- menu.o --- In file included from menu.c:32: ./menu.h:47: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 HandleAllowSends(); ^ void menu.c:1124: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 HandleAllowSends(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:48: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 HandleSetVisualBell(); ^ void menu.c:1134: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 HandleSetVisualBell(w, event, params, param_count) ^ --- main.o --- main.c:2663:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = ttyname(tty)) ~~~~^~~~~~~~~~~~~~ main.c:2663:11: note: place parentheses around the assignment to silence this warning if (ptr = ttyname(tty)) ^ ( ) main.c:2663:11: note: use '==' to turn this assignment into an equality comparison if (ptr = ttyname(tty)) ^ == --- menu.o --- In file included from menu.c:32: ./menu.h:50: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 HandleLogging(); ^ void menu.c:1145: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 HandleLogging(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:52: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 HandleRedraw(); ^ void menu.c:1157: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 HandleRedraw(w, event, params, param_count) ^ --- main.o --- main.c:2679:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ttygrp = getgrnam("tty")) { ~~~~~~~^~~~~~~~~~~~~~~~~ main.c:2679:14: note: place parentheses around the assignment to silence this warning if (ttygrp = getgrnam("tty")) { ^ ( ) main.c:2679:14: note: use '==' to turn this assignment into an equality comparison if (ttygrp = getgrnam("tty")) { ^ == --- menu.o --- menu.c:1206:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ In file included from menu.c:32: ./menu.h:53: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 HandleSendSignal(); ^ void menu.c:1167: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 HandleSendSignal(w, event, params, param_count) ^ --- main.o --- main.c:3014:3: warning: call to undeclared function 'Setenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Setenv ("TERM=", TermName); ^ --- menu.o --- In file included from menu.c:32: ./menu.h:54: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 HandleQuit(); ^ void menu.c:1210: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 HandleQuit(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:55: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 HandleScrollbar(); ^ void menu.c:1219: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 HandleScrollbar(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:56: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 HandleJumpscroll(); ^ void menu.c:1229: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 HandleJumpscroll(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:57: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 HandleReverseVideo(); ^ void menu.c:1239: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 HandleReverseVideo(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:58: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 HandleAutoWrap(); ^ void menu.c:1249: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 HandleAutoWrap(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:59: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 HandleReverseWrap(); ^ void menu.c:1259: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 HandleReverseWrap(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:60: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 HandleAutoLineFeed(); ^ void menu.c:1269: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 HandleAutoLineFeed(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:61: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 HandleAppCursor(); ^ void menu.c:1279: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 HandleAppCursor(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:62: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 HandleAppKeypad(); ^ void menu.c:1289: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 HandleAppKeypad(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:63: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 HandleScrollKey(); ^ void menu.c:1299: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 HandleScrollKey(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:64: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 HandleScrollTtyOutput(); ^ void menu.c:1309: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 HandleScrollTtyOutput(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:65: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 HandleAllow132(); ^ void menu.c:1319: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 HandleAllow132(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:66: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 HandleCursesEmul(); ^ void --- main.o --- main.c:3070:11: error: too many arguments to function call, expected 0, have 2 setpgrp(0,0); ~~~~~~~ ^~~ --- menu.o --- menu.c:1329: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 HandleCursesEmul(w, event, params, param_count) ^ --- main.o --- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:588:8: note: 'setpgrp' declared here pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); ^ --- menu.o --- In file included from menu.c:32: ./menu.h:67: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 HandleMarginBell(); ^ void menu.c:1339: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 HandleMarginBell(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:68: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 HandleAltScreen(); ^ void menu.c:1349: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 HandleAltScreen(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:69: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 HandleSoftReset(); ^ void menu.c:1361: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 HandleSoftReset(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:70: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 HandleHardReset(); ^ void menu.c:1371: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 HandleHardReset(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:71: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 HandleClearSavedLines(); ^ void menu.c:1381: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 HandleClearSavedLines(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:80: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 HandleStatusLine(); ^ void menu.c:1496: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 HandleStatusLine(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:81: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 HandleStatusReverse(); ^ void menu.c:1507: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 HandleStatusReverse(w, event, params, param_count) ^ menu.c:1544:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ menu.c:1547:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ In file included from menu.c:32: ./menu.h:84: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 HandleSetKanjiMode(); ^ void menu.c:1520: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 HandleSetKanjiMode(w, event, params, param_count) ^ --- main.o --- main.c:3076: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); ^ main.c:3194:40: warning: 'utmp' is deprecated [-Wdeprecated-declarations] bzero((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:3207: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:3208:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] write(i, (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:3331:7: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resize (screen, TermName, termcap, newtc); ^ main.c:3336:7: warning: call to undeclared function 'remove_termcap_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] remove_termcap_entry (newtc, ":ti="); ^ main.c:3342:7: warning: call to undeclared function 'remove_termcap_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] remove_termcap_entry (newtc, ":ic="); ^ main.c:3404:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shname = strrchr(ptr, '/')) ~~~~~~~^~~~~~~~~~~~~~~~~~~ main.c:3404:13: note: place parentheses around the assignment to silence this warning if(shname = strrchr(ptr, '/')) ^ ( ) main.c:3404:13: note: use '==' to turn this assignment into an equality comparison if(shname = strrchr(ptr, '/')) ^ == main.c:3636: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:3640:38: warning: 'utmp' is deprecated [-Wdeprecated-declarations] bzero((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:3641: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:3642: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:3660:3: warning: call to undeclared function 'CloseLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CloseLog(screen); ^ main.c:3635:15: warning: unused variable 'i' [-Wunused-variable] register int i; ^ main.c:383: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:3562: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:3681:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] resize(screen, TermName, oldtc, newtc) ^ main.c:3692: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:3694: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:3696: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:3698: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#"); ^ main.c:3681:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resize(screen, TermName, oldtc, newtc) ^ main.c:3769:6: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup (0); ^ main.c:3751: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) ^ main.c:3777:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3789: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:3777:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3803:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] remove_termcap_entry (buf, str) ^ main.c:3809: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:3803:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_termcap_entry (buf, str) ^ main.c:3832: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:71: ./ptyx.h:760: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:3867: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:71: ./ptyx.h:762: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:3891: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) ^ 74 warnings and 2 errors generated. *** [main.o] Error code 1 bmake: stopped in /Users/pbulk/build/x11/kterm/work/kterm-6.2.0 --- misc.o --- misc.c:78:3: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ misc.c:121:26: warning: passing arguments to 'DoSpecialEnterNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSpecialEnterNotify (&event.xcrossing); ^ misc.c:132:26: warning: passing arguments to 'DoSpecialLeaveNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSpecialLeaveNotify (&event.xcrossing); ^ misc.c:160:2: warning: call to undeclared function 'recolor_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] recolor_cursor (c, fg, bg); ^ In file included from misc.c:29: ./ptyx.h:759:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern Cursor make_colored_cursor(); ^ void misc.c:149:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cursor make_colored_cursor (cursorindex, fg, bg) ^ misc.c:176:2: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Input (&term->keyboard, screen, &event->xkey, False); ^ misc.c:165: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 HandleKeyPressed(w, event, params, nparams) ^ misc.c:194:2: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Input (&term->keyboard, screen, &event->xkey, True); ^ misc.c:179: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 HandleEightBitKeyPressed(w, event, params, nparams) ^ misc.c:229:6: warning: call to undeclared function 'StringInput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StringInput (screen, hexval, 1); ^ misc.c:232:2: warning: call to undeclared function 'StringInput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StringInput (screen, *params, strlen(*params)); ^ misc.c:198: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 HandleStringEvent(w, event, params, nparams) ^ misc.c:236: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 DoSpecialEnterNotify (ev) ^ misc.c:256: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 HandleEnterWindow(w, eventdata, event) ^ misc.c:265: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 DoSpecialLeaveNotify (ev) ^ misc.c:286: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 HandleLeaveWindow(w, eventdata, event) ^ misc.c:313:7: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo(term); ^ misc.c:296: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 HandleFocusChange(w, eventdata, event) ^ misc.c:340:7: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ misc.c:343:4: warning: call to undeclared function 'ShowCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ShowCursor(); ^ misc.c:367:8: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ misc.c:369:4: warning: call to undeclared function 'ShowCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ShowCursor(); ^ misc.c:396:21: 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) ^ misc.c:412:2: warning: call to undeclared function 'VisualBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VisualBell(); ^ misc.c:437:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] VisualBell() ^ misc.c:485:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:488: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 HandleBellPropertyChange(w, data, ev, more) ^ misc.c:501:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Redraw() ^ misc.c:530:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:553:9: warning: unused variable 'waited' [-Wunused-variable] int waited; ^ misc.c:546:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creat_as(uid, gid, pathname, mode) ^ misc.c:603:17: warning: unused variable 'cp' [-Wunused-variable] register char *cp; ^ misc.c:604:15: warning: unused variable 'i' [-Wunused-variable] register int i; ^ misc.c:714:2: warning: call to undeclared function 'FlushLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushLog(screen); ^ misc.c:720:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FlushLog(screen) ^ misc.c:720:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:738:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:755:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_osc(func) ^ misc.c:780:3: warning: call to undeclared function 'Changename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Changename(buf); ^ misc.c:781:3: warning: call to undeclared function 'Changetitle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Changetitle(buf); ^ misc.c:813:3: warning: call to undeclared function 'SetVTFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetVTFont (fontMenu_fontescape, True, buf, NULL); ^ misc.c:755:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_osc(func) ^ misc.c:821:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:823:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ChangeGroup(attribute, value) ~~~~~~ ^ misc.c:823:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:832:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:834:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Changename(name) ^ misc.c:834:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:838:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:840:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Changetitle(name) ^ misc.c:840:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:844:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:849:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Panic(s, a) ^ misc.c:849:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:861:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:863: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 *SysErrorMsg (n) ^ misc.c:871:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SysError (i) ^ misc.c:880:2: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup(i); ^ misc.c:871:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SysError (i) ^ misc.c:881:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:883:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Error (i) ^ misc.c:887:2: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup(i); ^ misc.c:883:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Error (i) ^ misc.c:888:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:894:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Cleanup (code) ^ misc.c:902:32: warning: passing arguments to 'kill_process_group' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) kill_process_group (screen->pid, SIGHUP); ^ misc.c:904:2: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit (code); ^ misc.c:894:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cleanup (code) ^ misc.c:905:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:945: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 *strindex (s1, s2) ^ misc.c:960:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xerror(d, ev) ^ misc.c:966:5: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit (ERROR_XERROR); ^ misc.c:960:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xerror(d, ev) ^ misc.c:967:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:970:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xioerror(dpy) ^ misc.c:978:5: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit(ERROR_XIOERROR); ^ misc.c:970:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xioerror(dpy) ^ misc.c:979:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:981: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 xt_error(message) ^ misc.c:990:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XStrCmp(s1, s2) ^ misc.c:990:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- menu.o --- 136 warnings generated. --- misc.o --- 82 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/x11/kterm/work/kterm-6.2.0 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/x11/kterm *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/x11/kterm