=> "/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 --- 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) | ^ 160 warnings generated. --- 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 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 --- 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 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. --- 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 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; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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); | ~~~~~~~ ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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); | ~~~~~~~ ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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)); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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)); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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)); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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)); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here 97 | } __deprecated; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 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