=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/kterm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kterm-6.2.0nb24 --- button.o --- --- kfontlist.c --- --- button.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cursor.c --- 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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 160 | 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 C23 [-Wdeprecated-non-prototype] 169 | 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 C23 [-Wdeprecated-non-prototype] 173 | EditorButton(event); | ^ button.c:128:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | Boolean SendMousePosition(w, event) | ^ button.c:199:18: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | 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 C23 [-Wdeprecated-non-prototype] 201 | ExtendExtend (row, col); | ^ button.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void HandleSelectExtend(w, event, params, num_params) | ^ button.c:225:16: warning: passing arguments to 'EndExtend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | EndExtend(w, event, params, *num_params, use_cursor_loc); | ^ button.c:211:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | static void do_select_end (w, event, params, num_params, use_cursor_loc) | ^ button.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | void HandleSelectEnd(w, event, params, num_params) | ^ button.c:241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | 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 C23 [-Wdeprecated-non-prototype] 306 | SelectionReceived(w, NULL, &selection, &type, (XtPointer)line, | ^ button.c:276:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | static void _GetSelection(w, time, params, num_params) | ^ 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 C23 [-Wdeprecated-non-prototype] 367 | 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] 390 | if (check_ctext_kterm((char*)value, *length)) { | ^ 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 C23 [-Wdeprecated-non-prototype] 391 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23 [-Wdeprecated-non-prototype] 405 | paste_string(w, (Char*)value, *length); | ^ button.c:338:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | static void SelectionReceived(w, client_data, selection, type, | ^ button.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void SelectionReceived(); | ^ button.c:427:9: warning: call to undeclared function 'convCTtoCS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 427 | 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 C23 [-Wdeprecated-non-prototype] 433 | paste_cs(w, cs); | ^ button.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | paste_compound_text(w, ct, len) | ^ button.c:270:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 270 | static void paste_compound_text(); | ^ 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 C23 [-Wdeprecated-non-prototype] 452 | 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] 457 | 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 C23 [-Wdeprecated-non-prototype] 463 | paste_cs(w, cs); | ^ button.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | paste_utf8_string(w, ut, len, list) | ^ button.c:271:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 271 | static void paste_utf8_string(); | ^ 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 C23 [-Wdeprecated-non-prototype] 496 | paste_cs(w, cs); | ^ button.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | paste_string(w, str, len) | ^ button.c:272:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 272 | static void paste_string(); | ^ button.c:480:42: warning: variable 'n' is uninitialized when used here [-Wuninitialized] 480 | cs = (len > 256) ? (Ichr *)XtMalloc((n + 1) * sizeof(Ichr)) : cbuf; | ^ button.c:475:10: note: initialize the variable 'n' to silence this warning 475 | 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 C23 [-Wdeprecated-non-prototype] 534 | 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 C23 [-Wdeprecated-non-prototype] 536 | (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 C23 [-Wdeprecated-non-prototype] 537 | paste_text(w, line, line + n); | ^ button.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | paste_cs(w, cs) | ^ button.c:273:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 273 | static void paste_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] 555 | 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] 559 | v_write(pty, lag, end - lag); | ^ button.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | paste_text(w, line, end) | ^ button.c:274:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 274 | static void paste_text(); | ^ button.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | HandleInsertSelection(w, event, params, num_params) | ^ button.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | 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 C23 [-Wdeprecated-non-prototype] 603 | StartSelect(startrow, startcol); | ^ button.c:595:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | 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 C23 [-Wdeprecated-non-prototype] 619 | PointToRowCol(event->xbutton.y, event->xbutton.x, &startrow, &startcol); | ^ button.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | HandleSelectStart(w, event, params, num_params) | ^ button.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | 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 C23 [-Wdeprecated-non-prototype] 646 | 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 C23 [-Wdeprecated-non-prototype] 648 | 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 C23 [-Wdeprecated-non-prototype] 651 | EditorButton(event); | ^ button.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | TrackDown(event) | ^ button.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void TrackDown(); | ^ button.c:678:13: warning: passing arguments to 'StartSelect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | StartSelect(startrow, startcol); | ^ button.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | 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] 688 | 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 C23 [-Wdeprecated-non-prototype] 709 | ComputeSelect(startERow, startECol, endERow, endECol, False); | ^ button.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | StartSelect(startrow, startcol) | ^ button.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void StartSelect(); | ^ button.c:729:19: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | 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 C23 [-Wdeprecated-non-prototype] 731 | 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] 741 | 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] 751 | 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 C23 [-Wdeprecated-non-prototype] 756 | SelectSet(w, event, params, num_params); | ^ button.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | EndExtend(w, event, params, num_params, use_cursor_loc) | ^ button.c:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | static void EndExtend(); | ^ button.c:767:12: warning: passing arguments to 'SelectSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | SelectSet (w, event, params, *num_params); | ^ button.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | 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 C23 [-Wdeprecated-non-prototype] 782 | 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] 785 | DisownSelection(term); | ^ button.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | SelectSet (w, event, params, num_params) | ^ button.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void SelectSet(); | ^ button.c:826:19: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | 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 C23 [-Wdeprecated-non-prototype] 843 | ComputeSelect(startERow, startECol, endERow, endECol, True); | ^ button.c:791:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | 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 C23 [-Wdeprecated-non-prototype] 872 | ComputeSelect(startERow, startECol, endERow, endECol, False); | ^ button.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | ExtendExtend (row, col) | ^ button.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static void ExtendExtend(); | ^ button.c:876:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | void HandleStartExtend(w, event, params, num_params) | ^ button.c:885:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | void HandleKeyboardStartExtend(w, event, params, num_params) | ^ button.c:895:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 895 | ScrollSelection(screen, amount) | ^ | int button.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] button.c:926:1: warning: non-void function does not return a value [-Wreturn-type] 926 | } | ^ button.c:930:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 930 | ResizeSelection (screen, rows, cols) | ^ | int button.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] button.c:948:1: warning: non-void function does not return a value [-Wreturn-type] 948 | } | ^ button.c:960:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 960 | register row, col; | ~~~~~~~~ ^ | int button.c:960:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 960 | register row, col; | ~~~~~~~~ ^ | int button.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | PointToRowCol(y, x, r, c) | ^ button.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static void PointToRowCol(); | ^ button.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | LastTextCol(row) | ^ button.c:1079:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | 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 C23 [-Wdeprecated-non-prototype] 1151 | 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 C23 [-Wdeprecated-non-prototype] 1158 | && 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 C23 [-Wdeprecated-non-prototype] 1216 | 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 C23 [-Wdeprecated-non-prototype] 1223 | && class == mbcsCharClass (ptr)); | ^ button.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | ComputeSelect(startRow, startCol, endRow, endCol, extend) | ^ button.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void ComputeSelect(); | ^ button.c:1335:18: warning: '&&' within '||' [-Wlogical-op-parentheses] 1335 | if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) | ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1335:18: note: place parentheses around the '&&' expression to silence this warning 1335 | if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) | ^ | ( ) button.c:1335:46: warning: '&&' within '||' [-Wlogical-op-parentheses] 1335 | if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) | ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1335:46: note: place parentheses around the '&&' expression to silence this warning 1335 | if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) | ^ | ( ) button.c:1347:18: warning: '&&' within '||' [-Wlogical-op-parentheses] 1347 | if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) | ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1347:18: note: place parentheses around the '&&' expression to silence this warning 1347 | if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) | ^ | ( ) button.c:1347:46: warning: '&&' within '||' [-Wlogical-op-parentheses] 1347 | if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) | ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1347:46: note: place parentheses around the '&&' expression to silence this warning 1347 | if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) | ^ | ( ) button.c:1351:18: warning: '&&' within '||' [-Wlogical-op-parentheses] 1351 | if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) | ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1351:18: note: place parentheses around the '&&' expression to silence this warning 1351 | if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) | ^ | ( ) button.c:1351:46: warning: '&&' within '||' [-Wlogical-op-parentheses] 1351 | if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) | ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1351:46: note: place parentheses around the '&&' expression to silence this warning 1351 | if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) | ^ | ( ) button.c:1359:46: warning: '&&' within '||' [-Wlogical-op-parentheses] 1359 | if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 1360 | || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ | ~~ button.c:1359:46: note: place parentheses around the '&&' expression to silence this warning 1359 | if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e | ^ | ( ) button.c:1360:18: warning: '&&' within '||' [-Wlogical-op-parentheses] 1360 | || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ | ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ button.c:1360:18: note: place parentheses around the '&&' expression to silence this warning 1360 | || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ | ^ | ( ) button.c:1362:46: warning: '&&' within '||' [-Wlogical-op-parentheses] 1362 | if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 1363 | || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ | ~~ button.c:1362:46: note: place parentheses around the '&&' expression to silence this warning 1362 | if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e | ^ | ( ) button.c:1363:18: warning: '&&' within '||' [-Wlogical-op-parentheses] 1363 | || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ | ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ button.c:1363:18: note: place parentheses around the '&&' expression to silence this warning 1363 | || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ | ^ | ( ) button.c:1313:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | static int mbcsCharClass (ptr) | ^ button.c:125:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static int mbcsCharClass (); | ^ button.c:1363:33: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] 1363 | || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ | ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1360:33: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] 1360 | || 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 C23 [-Wdeprecated-non-prototype] 1393 | 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 C23 [-Wdeprecated-non-prototype] 1394 | 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 C23 [-Wdeprecated-non-prototype] 1398 | 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 C23 [-Wdeprecated-non-prototype] 1401 | 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 C23 [-Wdeprecated-non-prototype] 1405 | 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 C23 [-Wdeprecated-non-prototype] 1408 | 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] 1439 | 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] 1442 | 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] 1445 | 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] 1448 | ScrnRefresh(screen, frow, fcol, 1, tcol - fcol, True); | ^ button.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | ReHiliteText(frow, fcol, trow, tcol) | ^ button.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static void ReHiliteText(); | ^ button.c:1489:31: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | 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 C23 [-Wdeprecated-non-prototype] 1491 | 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 C23 [-Wdeprecated-non-prototype] 1493 | 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 C23 [-Wdeprecated-non-prototype] 1495 | 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] 1503 | 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 C23 [-Wdeprecated-non-prototype] 1522 | 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 C23 [-Wdeprecated-non-prototype] 1524 | 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 C23 [-Wdeprecated-non-prototype] 1535 | 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 C23 [-Wdeprecated-non-prototype] 1547 | 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 C23 [-Wdeprecated-non-prototype] 1557 | _OwnSelection(term, params, num_params); | ^ button.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | SaltTextAway(crow, ccol, row, col, params, num_params) | ^ button.c:770:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 770 | static void SaltTextAway(); | ^ button.c:1603:16: warning: call to undeclared function 'pasteCStoUTF8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1603 | *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] 1608 | *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] 1613 | *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] 1645 | *(long*)*value = convCStoCT(xterm->screen.selection, NULL); | ^ button.c:1560:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | static Boolean ConvertSelection(w, selection, target, | ^ button.c:1673:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | static void LoseSelection(w, selection) | ^ button.c:1725:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | static void _OwnSelection(termw, selections, count) | ^ button.c:1452:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1452 | static void _OwnSelection(); | ^ button.c:1812:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1812 | DisownSelection(termw) | ^ | int button.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] button.c:1839:1: warning: non-void function does not return a value [-Wreturn-type] 1839 | } | ^ button.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | Length(screen, row, scol, ecol) | ^ button.c:74:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static int Length(); | ^ button.c:1887:6: warning: call to undeclared function 'ScrnGetAttributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1887 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { | ^ button.c:1901:28: warning: '&&' within '||' [-Wlogical-op-parentheses] 1901 | if (c < ' ' || c == 0x7f && !(g & CS96)) { | ~~ ~~~~~~~~~~^~~~~~~~~~~~~~ button.c:1901:28: note: place parentheses around the '&&' expression to silence this warning 1901 | if (c < ' ' || c == 0x7f && !(g & CS96)) { | ^ | ( ) button.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | SaveText(screen, row, scol, ecol, lp, eol) | ^ button.c:76:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static Ichr *SaveText(); | ^ button.c:1951:2: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1951 | v_write(pty, line, 6); | ^ button.c:1927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | EditorButton(event) | ^ button.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static void EditorButton(); | ^ button.c:1997:22: warning: passing arguments to 'DoSecureKeyboard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | DoSecureKeyboard (time); | ^ button.c:1983:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1983 | void HandleSecure(w, event, params, param_count) | ^ --- 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] 47 | TrackText(0, 0, 0, 0); | ^ cursor.c:33:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | static void _CheckSelection(screen) | ^ cursor.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | CursorSet(screen, row, col, flags) | ^ | int cursor.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:76:1: warning: non-void function does not return a value [-Wreturn-type] 76 | } | ^ cursor.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | CursorBack(screen, n) | ^ | int cursor.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:105:1: warning: non-void function does not return a value [-Wreturn-type] 105 | } | ^ cursor.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | CursorForward(screen, n) | ^ | int cursor.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:119:1: warning: non-void function does not return a value [-Wreturn-type] 119 | } | ^ cursor.c:125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 125 | CursorDown(screen, n) | ^ | int cursor.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:139:1: warning: non-void function does not return a value [-Wreturn-type] 139 | } | ^ cursor.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | CursorUp(screen, n) | ^ | int cursor.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:159:1: warning: non-void function does not return a value [-Wreturn-type] 159 | } | ^ cursor.c:180:2: warning: call to undeclared function 'Scroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | 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] 199 | RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); | ^ cursor.c:206:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 206 | CarriageReturn(screen) | ^ | int cursor.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:212:1: warning: non-void function does not return a value [-Wreturn-type] 212 | } | ^ cursor.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | CursorSave(term, sc) | ^ | int cursor.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:229:1: warning: non-void function does not return a value [-Wreturn-type] 229 | } | ^ cursor.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | CursorRestore(term, sc) | ^ | int cursor.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cursor.c:247:1: warning: non-void function does not return a value [-Wreturn-type] 247 | } | ^ 28 warnings generated. --- data.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c data.c --- button.o --- 160 warnings generated. --- input.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c input.c --- main.o --- rm -f main.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=27 -DOSMINORVERSION=0 main.c --- input.o --- input.c:50:3: warning: call to undeclared function 'WindowScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | 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] 56 | Bell(XkbBI_MarginBell,0); | ^ input.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | 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] 90 | 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] 120 | 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] 121 | 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] 127 | 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] 128 | 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] 132 | 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 C23 [-Wdeprecated-non-prototype] 142 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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] 149 | 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] 154 | 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] 155 | 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] 157 | 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] 173 | 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] 175 | 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] 185 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 197 | (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] 200 | unparseputc(*optr++, pty); | ^ input.c:231:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 231 | StringInput (screen, string, nbytes) | ^ | int input.c:246:3: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | unparseputc(*string++, pty); | ^ input.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | StringInput (screen, string, nbytes) | ^ input.c:251:1: warning: non-void function does not return a value [-Wreturn-type] 251 | } | ^ input.c:253:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | static int funcvalue (keycode) | ^ input.c:42:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static int funcvalue(), sunfuncvalue(); | ^ input.c:294:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | static int sunfuncvalue (keycode) | ^ input.c:42:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static int funcvalue(), sunfuncvalue(); | ^ 29 warnings generated. --- menu.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c menu.c --- main.o --- main.c:1002:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | static void Syntax (badOption) | ^ main.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | ConvertConsoleSelection(w, selection, target, type, value, length, format) | ^ main.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | 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 C23 [-Wdeprecated-non-prototype] 1159 | do_hangup(w); | ^ main.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | DeleteWindow(w, event, params, num_params) | ^ main.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | KeyboardMapping(w, event, params, num_params) | ^ main.c:1178:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1178 | "DeleteWindow", DeleteWindow, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } main.c:1179:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1179 | "KeyboardMapping", KeyboardMapping, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } main.c:1187:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1187 | main (argc, argv) | ^ | int 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 C23 [-Wdeprecated-non-prototype] 1495 | int n = parse_tty_modes (resource.tty_modes, ttymodelist); | ^ 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 C23 [-Wdeprecated-non-prototype] 1668 | 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] 1729 | 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] 1730 | spawn (); | ^ main.c:1752:3: warning: call to undeclared function 'StartLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1752 | 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] 1789 | if (ioctl (screen->respond, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO); | ^ main.c:1814:4: warning: call to undeclared function 'VTRun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1814 | VTRun(); | ^ main.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | main (argc, argv) | ^ main.c:1818:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | char *base_name(name) | ^ main.c:1834:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1834 | get_pty (pty) | ^ | int main.c:1935:9: warning: call to undeclared function 'pty_search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1935 | return pty_search(pty); | ^ main.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | get_pty (pty) | ^ main.c:1948:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1948 | int pty_search(pty) | ^ main.c:2002:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2002 | get_terminal () | ^ | int 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 C23 [-Wdeprecated-non-prototype] 2009 | screen->arrow = make_colored_cursor (XC_left_ptr, | ^ main.c:2012:1: warning: non-void function does not return a value [-Wreturn-type] 2012 | } | ^ main.c:2062:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | SIGNAL_T hungtty(i) | ^ main.c:2106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | HsSysError(pf, error) | ^ main.c:2153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2153 | spawn () | ^ | int main.c:2222:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 2222 | struct utmp utmp; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:2300:8: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2300 | SysError(ERROR_OPDEVTTY); | ^ main.c:2382:6: warning: call to undeclared function 'VTInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2382 | 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] 2416 | if (tgetent (ptr, resource.term_name) == 1) { | ^ main.c:2421:7: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2421 | 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] 2429 | 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] 2434 | 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 C23 [-Wdeprecated-non-prototype] 2442 | Exit (1); | ^ main.c:2485:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2485 | SysError (ERROR_FORK); | ^ main.c:2663:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2663 | if (ptr = ttyname(tty)) | ~~~~^~~~~~~~~~~~~~ main.c:2663:11: note: place parentheses around the assignment to silence this warning 2663 | if (ptr = ttyname(tty)) | ^ | ( ) main.c:2663:11: note: use '==' to turn this assignment into an equality comparison 2663 | if (ptr = ttyname(tty)) | ^ | == main.c:2679:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2679 | if (ttygrp = getgrnam("tty")) { | ~~~~~~~^~~~~~~~~~~~~~~~~ main.c:2679:14: note: place parentheses around the assignment to silence this warning 2679 | if (ttygrp = getgrnam("tty")) { | ^ | ( ) main.c:2679:14: note: use '==' to turn this assignment into an equality comparison 2679 | if (ttygrp = getgrnam("tty")) { | ^ | == main.c:3014:3: warning: call to undeclared function 'Setenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3014 | Setenv ("TERM=", TermName); | ^ main.c:3070:11: error: too many arguments to function call, expected 0, have 2 3070 | setpgrp(0,0); | ~~~~~~~ ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:592:8: note: 'setpgrp' declared here 592 | pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); | ^ main.c:3076:12: error: too many arguments to function call, expected 0, have 2 3076 | setpgrp (0, pgrp); | ~~~~~~~ ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:592:8: note: 'setpgrp' declared here 592 | pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); | ^ main.c:3194:40: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3194 | bzero((char *)&utmp, sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3207:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3207 | lseek(i, (long)(tslot * sizeof(struct utmp)), 0); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3208:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3208 | write(i, (char *)&utmp, sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3331:7: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3331 | 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] 3336 | 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] 3342 | remove_termcap_entry (newtc, ":ic="); | ^ main.c:3404:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3404 | if(shname = strrchr(ptr, '/')) | ~~~~~~~^~~~~~~~~~~~~~~~~~~ main.c:3404:13: note: place parentheses around the assignment to silence this warning 3404 | if(shname = strrchr(ptr, '/')) | ^ | ( ) main.c:3404:13: note: use '==' to turn this assignment into an equality comparison 3404 | if(shname = strrchr(ptr, '/')) | ^ | == main.c:3636:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3636 | struct utmp utmp; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3640:38: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3640 | bzero((char *)&utmp, sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3641:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3641 | lseek(wfd, (long)(tslot * sizeof(struct utmp)), 0); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3642:43: warning: 'utmp' is deprecated [-Wdeprecated-declarations] 3642 | write(wfd, (char *)&utmp, sizeof(struct utmp)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ main.c:3660:3: warning: call to undeclared function 'CloseLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3660 | CloseLog(screen); | ^ main.c:3635:15: warning: unused variable 'i' [-Wunused-variable] 3635 | register int i; | ^ main.c:3562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3562 | Exit(n) | ^ main.c:383:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 383 | SIGNAL_T Exit(); | ^ main.c:3681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3681 | resize(screen, TermName, oldtc, newtc) | ^ | int main.c:3692:23: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3692 | 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 C23 [-Wdeprecated-non-prototype] 3694 | 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 C23 [-Wdeprecated-non-prototype] 3696 | 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 C23 [-Wdeprecated-non-prototype] 3698 | ptr2 = strindex (oldtc, "li#"); | ^ main.c:3681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3681 | 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] 3769 | Cleanup (0); | ^ main.c:3751:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3751 | static SIGNAL_T reapchild (n) | ^ main.c:426:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 426 | static SIGNAL_T reapchild (); | ^ main.c:3777:42: warning: parameter 'x9' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:39: warning: parameter 'x8' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:36: warning: parameter 'x7' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:33: warning: parameter 'x6' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:30: warning: parameter 'x5' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:27: warning: parameter 'x4' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:24: warning: parameter 'x3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:21: warning: parameter 'x2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:18: warning: parameter 'x1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:15: warning: parameter 'x0' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ 3778 | char *fmt; 3779 | { main.c:3777:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ | int main.c:3789:27: warning: passing arguments to 'SysErrorMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3789 | strcat(buf, SysErrorMsg (oerrno)); | ^ main.c:3777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3777 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^ main.c:3803:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3803 | remove_termcap_entry (buf, str) | ^ | int main.c:3809:25: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3809 | strinbuf = strindex (buf, str); | ^ main.c:3803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3803 | remove_termcap_entry (buf, str) | ^ main.c:3832:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3832 | static int parse_tty_modes (s, modelist) | ^ main.c:521:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 521 | static int parse_tty_modes (); | ^ main.c:3867:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3867 | int GetBytesAvailable (fd) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 760 | extern int GetBytesAvailable(); | ^ main.c:3891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3891 | kill_process_group(pid, sig) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 762 | extern int kill_process_group(); | ^ 86 warnings and 2 errors generated. *** [main.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/x11/kterm/work/kterm-6.2.0 --- 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] 209 | 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 C23 [-Wdeprecated-non-prototype] 216 | 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 C23 [-Wdeprecated-non-prototype] 237 | 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 C23 [-Wdeprecated-non-prototype] 274 | 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 C23 [-Wdeprecated-non-prototype] 290 | 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] 316 | Bell(XkbBI_MinorError,0); | ^ menu.c:200:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | static Bool domenu (w, event, params, param_count) | ^ menu.c:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | void HandleCreateMenu (w, event, params, param_count) | ^ menu.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | void HandlePopupMenu (w, event, params, param_count) | ^ menu.c:353:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | static Widget create_menu (xtw, toplevelw, name, entries, nentries) | ^ menu.c:180:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | static Widget create_menu(); | ^ 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 C23 [-Wdeprecated-non-prototype] 412 | if (screen->pid > 1) kill_process_group (screen->pid, sig); | ^ menu.c:406:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | 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 C23 [-Wdeprecated-non-prototype] 424 | do_securekbd (term->screen.mainMenu, NULL, NULL); | ^ menu.c:421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | void DoSecureKeyboard (time) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | extern void DoSecureKeyboard(); | ^ menu.c:436:2: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 436 | 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] 442 | 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] 444 | ReverseVideo (term); | ^ menu.c:427:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | static void do_securekbd (gw, closure, data) | ^ menu.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static void do_securekbd(), do_allowsends(), do_visualbell(), | ^ menu.c:452:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | static void do_allowsends (gw, closure, data) | ^ menu.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static void do_securekbd(), do_allowsends(), do_visualbell(), | ^ menu.c:462:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | static void do_visualbell (gw, closure, data) | ^ menu.c:52:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static void do_securekbd(), do_allowsends(), do_visualbell(), | ^ menu.c:480:2: warning: call to undeclared function 'CloseLog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | 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] 482 | StartLog (screen); | ^ menu.c:473:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | static void do_logging (gw, closure, data) | ^ menu.c:54:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | do_logging(), | ^ menu.c:492:5: warning: call to undeclared function 'Redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | Redraw (); | ^ menu.c:488:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | static void do_redraw (gw, closure, data) | ^ menu.c:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | do_redraw(), do_suspend(), do_continue(), do_interrupt(), | ^ menu.c:503:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | static void do_suspend (gw, closure, data) | ^ menu.c:56:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | do_redraw(), do_suspend(), do_continue(), do_interrupt(), | ^ menu.c:513:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | static void do_continue (gw, closure, data) | ^ menu.c:56:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | do_redraw(), do_suspend(), do_continue(), do_interrupt(), | ^ menu.c:523:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | static void do_interrupt (gw, closure, data) | ^ menu.c:56:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | do_redraw(), do_suspend(), do_continue(), do_interrupt(), | ^ menu.c:531:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | void do_hangup (gw, closure, data) | ^ menu.c:50:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | void do_hangup(); | ^ menu.c:539:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | static void do_terminate (gw, closure, data) | ^ menu.c:57:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), | ^ menu.c:547:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | static void do_kill (gw, closure, data) | ^ menu.c:57:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), | ^ menu.c:558:5: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 558 | Cleanup (0); | ^ menu.c:554:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | static void do_quit (gw, closure, data) | ^ menu.c:57:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), | ^ menu.c:574:2: warning: call to undeclared function 'ScrollBarOff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | 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] 576 | ScrollBarOn (term, FALSE, FALSE); | ^ menu.c:567:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | static void do_scrollbar (gw, closure, data) | ^ menu.c:57:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), | ^ menu.c:591:26: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | if (screen->scroll_amt) FlushScroll(screen); | ^ menu.c:582:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | static void do_jumpscroll (gw, closure, data) | ^ menu.c:57:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), | ^ menu.c:604:5: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 604 | ReverseVideo (term); | ^ menu.c:599:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | static void do_reversevideo (gw, closure, data) | ^ menu.c:58:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), | ^ menu.c:609:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | static void do_autowrap (gw, closure, data) | ^ menu.c:58:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), | ^ menu.c:618:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | static void do_reversewrap (gw, closure, data) | ^ menu.c:58:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), | ^ menu.c:627:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | static void do_autolinefeed (gw, closure, data) | ^ menu.c:58:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), | ^ menu.c:636:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | static void do_appcursor (gw, closure, data) | ^ menu.c:59:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), | ^ menu.c:645:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | static void do_appkeypad (gw, closure, data) | ^ menu.c:59:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), | ^ menu.c:654:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | static void do_scrollkey (gw, closure, data) | ^ menu.c:59:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), | ^ menu.c:665:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | static void do_scrollttyoutput (gw, closure, data) | ^ menu.c:59:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), | ^ menu.c:676:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | static void do_allow132 (gw, closure, data) | ^ menu.c:61:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | do_allow132(), do_cursesemul(), do_marginbell(), | ^ menu.c:687:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | static void do_cursesemul (gw, closure, data) | ^ menu.c:61:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | do_allow132(), do_cursesemul(), do_marginbell(), | ^ menu.c:698:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | static void do_marginbell (gw, closure, data) | ^ menu.c:61:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | do_allow132(), do_cursesemul(), do_marginbell(), | ^ menu.c:743:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | static void do_altscreen (gw, closure, data) | ^ menu.c:62:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), | ^ menu.c:755:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 755 | VTReset (FALSE); | ^ menu.c:751:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | static void do_softreset (gw, closure, data) | ^ menu.c:62:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), | ^ menu.c:763:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 763 | VTReset (TRUE); | ^ menu.c:759:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | static void do_hardreset (gw, closure, data) | ^ menu.c:62:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), | ^ menu.c:774:5: warning: call to undeclared function 'ScrollBarDrawThumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 774 | 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] 775 | VTReset (TRUE); | ^ menu.c:767:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | static void do_clearsavedlines (gw, closure, data) | ^ menu.c:62:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), | ^ menu.c:806:2: warning: call to undeclared function 'HideStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 806 | HideStatus(); | ^ menu.c:808:2: warning: call to undeclared function 'ShowStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 808 | ShowStatus(); | ^ menu.c:799:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | static void do_statusline (gw, closure, data) | ^ menu.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void do_statusline(), do_reversestatus(); | ^ menu.c:823:5: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | ScrnRefresh(screen, screen->max_row+1, 0, 1, screen->max_col+1, False); | ^ menu.c:815:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | static void do_reversestatus (gw, closure, data) | ^ menu.c:73:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void do_statusline(), do_reversestatus(); | ^ menu.c:828:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | static void do_jismode (gw, closure, data) | ^ menu.c:849:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | static void do_eucmode (gw, closure, data) | ^ menu.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static void do_eucmode(); | ^ menu.c:874:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | static void do_sjismode (gw, closure, data) | ^ menu.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static void do_sjismode(); | ^ 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] 919 | make_unicode_map(); | ^ menu.c:898:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | static void do_utf8mode (gw, closure, data) | ^ menu.c:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static void do_utf8mode(); | ^ menu.c:934:9: warning: passing arguments to 'CloseIM' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | 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 C23 [-Wdeprecated-non-prototype] 936 | OpenIM(screen); | ^ menu.c:926:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | static void do_openim (gw, closure, data) | ^ menu.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void do_openim(); | ^ menu.c:956:6: warning: call to undeclared function 'SetVTFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 956 | SetVTFont (i, True, NULL, NULL); | ^ menu.c:960:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 960 | Bell(XkbBI_MinorError, 0); | ^ menu.c:947:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | static void do_vtfont (gw, closure, data) | ^ menu.c:63:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | do_vtfont(); | ^ menu.c:1104:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1104 | 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 C23 [-Wdeprecated-non-prototype] 1108 | (*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 C23 [-Wdeprecated-non-prototype] 1112 | 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 C23 [-Wdeprecated-non-prototype] 1117 | if (!var) (*proc) (w, closure, data); | ^ menu.c:1081:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | static void handle_toggle (proc, var, params, nparams, w, closure, data) | ^ menu.c:1124:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | void HandleAllowSends(w, event, params, param_count) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | extern void HandleAllowSends(); | ^ menu.c:1134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | void HandleSetVisualBell(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern void HandleSetVisualBell(); | ^ menu.c:1145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | void HandleLogging(w, event, params, param_count) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | extern void HandleLogging(); | ^ menu.c:1157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | void HandleRedraw(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | extern void HandleRedraw(); | ^ menu.c:1206:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1206 | Bell(XkbBI_MinorError, 0); | ^ menu.c:1167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | void HandleSendSignal(w, event, params, param_count) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | extern void HandleSendSignal(); | ^ menu.c:1210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | void HandleQuit(w, event, params, param_count) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | extern void HandleQuit(); | ^ menu.c:1219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | void HandleScrollbar(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | extern void HandleScrollbar(); | ^ menu.c:1229:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | void HandleJumpscroll(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | extern void HandleJumpscroll(); | ^ menu.c:1239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | void HandleReverseVideo(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | extern void HandleReverseVideo(); | ^ menu.c:1249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | void HandleAutoWrap(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | extern void HandleAutoWrap(); | ^ menu.c:1259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | void HandleReverseWrap(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | extern void HandleReverseWrap(); | ^ menu.c:1269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | void HandleAutoLineFeed(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | extern void HandleAutoLineFeed(); | ^ menu.c:1279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | void HandleAppCursor(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | extern void HandleAppCursor(); | ^ menu.c:1289:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | void HandleAppKeypad(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | extern void HandleAppKeypad(); | ^ menu.c:1299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | void HandleScrollKey(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | extern void HandleScrollKey(); | ^ menu.c:1309:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | void HandleScrollTtyOutput(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | extern void HandleScrollTtyOutput(); | ^ menu.c:1319:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | void HandleAllow132(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | extern void HandleAllow132(); | ^ menu.c:1329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | void HandleCursesEmul(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern void HandleCursesEmul(); | ^ menu.c:1339:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | void HandleMarginBell(w, event, params, param_count) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | extern void HandleMarginBell(); | ^ menu.c:1349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | void HandleAltScreen(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | extern void HandleAltScreen(); | ^ menu.c:1361:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | void HandleSoftReset(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | extern void HandleSoftReset(); | ^ menu.c:1371:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | void HandleHardReset(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | extern void HandleHardReset(); | ^ menu.c:1381:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | void HandleClearSavedLines(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | extern void HandleClearSavedLines(); | ^ menu.c:1496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | void HandleStatusLine(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | extern void HandleStatusLine(); | ^ menu.c:1507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | void HandleStatusReverse(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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | extern void HandleStatusReverse(); | ^ menu.c:1544:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1544 | 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] 1547 | Bell(XkbBI_MinorError, 0); | ^ menu.c:1520:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1520 | void HandleSetKanjiMode(w, event, params, param_count) | ^ 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | extern void HandleSetKanjiMode(); | ^ 172 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/x11/kterm/work/kterm-6.2.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/kterm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/kterm