=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/lile", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ile-2.0 --- ile --- clang -pipe -Os -o ile ile.c -ltermcap ile.c:11:18: warning: '/*' within block comment [-Wcomment] 11 | /* #define DEBUG /**/ | ^ ile.c:83:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 83 | char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ ile.c:203:20: warning: parameter 'signo' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 203 | void handle_signal(signo) { | ^ ile.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | void handle_signal(signo) { | ^ ile.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | void handle_stop(signo) int signo; { | ^ ile.c:269:15: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] 269 | if (wait3(&status, WUNTRACED, NULL) != childpid) { | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/wait.h:252:20: note: passing argument to parameter here 252 | pid_t wait3(int *, int, struct rusage *); | ^ ile.c:312:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | static void getpty(pty, tty) int *pty; int *tty; { | ^ ile.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | void strip(ptr) char **ptr; { | ^ ile.c:358:9: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | if (tgetent(termcap_entry, terminal_type) < 1) { | ^ ile.c:362:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (cle = tgetstr("le", &where)) strip(&cle); | ^ ile.c:362:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 362 | if (cle = tgetstr("le", &where)) strip(&cle); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:362:13: note: place parentheses around the assignment to silence this warning 362 | if (cle = tgetstr("le", &where)) strip(&cle); | ^ | ( ) ile.c:362:13: note: use '==' to turn this assignment into an equality comparison 362 | if (cle = tgetstr("le", &where)) strip(&cle); | ^ | == ile.c:364:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (cbl = tgetstr("bl", &where)) strip(&cbl); | ^ ile.c:364:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | if (cbl = tgetstr("bl", &where)) strip(&cbl); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:364:13: note: place parentheses around the assignment to silence this warning 364 | if (cbl = tgetstr("bl", &where)) strip(&cbl); | ^ | ( ) ile.c:364:13: note: use '==' to turn this assignment into an equality comparison 364 | if (cbl = tgetstr("bl", &where)) strip(&cbl); | ^ | == ile.c:366:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (cnl = tgetstr("nl", &where)) strip(&cnl); | ^ ile.c:366:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 366 | if (cnl = tgetstr("nl", &where)) strip(&cnl); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:366:13: note: place parentheses around the assignment to silence this warning 366 | if (cnl = tgetstr("nl", &where)) strip(&cnl); | ^ | ( ) ile.c:366:13: note: use '==' to turn this assignment into an equality comparison 366 | if (cnl = tgetstr("nl", &where)) strip(&cnl); | ^ | == ile.c:368:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | if (ccl = tgetstr("cl", &where)) strip(&ccl); | ^ ile.c:368:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 368 | if (ccl = tgetstr("cl", &where)) strip(&ccl); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:368:13: note: place parentheses around the assignment to silence this warning 368 | if (ccl = tgetstr("cl", &where)) strip(&ccl); | ^ | ( ) ile.c:368:13: note: use '==' to turn this assignment into an equality comparison 368 | if (ccl = tgetstr("cl", &where)) strip(&ccl); | ^ | == ile.c:370:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | if (ccr = tgetstr("cr", &where)) strip(&ccr); | ^ ile.c:370:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 370 | if (ccr = tgetstr("cr", &where)) strip(&ccr); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:370:13: note: place parentheses around the assignment to silence this warning 370 | if (ccr = tgetstr("cr", &where)) strip(&ccr); | ^ | ( ) ile.c:370:13: note: use '==' to turn this assignment into an equality comparison 370 | if (ccr = tgetstr("cr", &where)) strip(&ccr); | ^ | == ile.c:372:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | if (cic = tgetstr("ic", &where)) strip(&cic); | ^ ile.c:372:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 372 | if (cic = tgetstr("ic", &where)) strip(&cic); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:372:13: note: place parentheses around the assignment to silence this warning 372 | if (cic = tgetstr("ic", &where)) strip(&cic); | ^ | ( ) ile.c:372:13: note: use '==' to turn this assignment into an equality comparison 372 | if (cic = tgetstr("ic", &where)) strip(&cic); | ^ | == ile.c:375:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (cce = tgetstr("ce", &where)) strip(&cce); | ^ ile.c:375:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 375 | if (cce = tgetstr("ce", &where)) strip(&cce); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:375:13: note: place parentheses around the assignment to silence this warning 375 | if (cce = tgetstr("ce", &where)) strip(&cce); | ^ | ( ) ile.c:375:13: note: use '==' to turn this assignment into an equality comparison 375 | if (cce = tgetstr("ce", &where)) strip(&cce); | ^ | == ile.c:387:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | if (cmd = tgetstr("md", &where)) { | ^ ile.c:387:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 387 | if (cmd = tgetstr("md", &where)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:387:13: note: place parentheses around the assignment to silence this warning 387 | if (cmd = tgetstr("md", &where)) { | ^ | ( ) ile.c:387:13: note: use '==' to turn this assignment into an equality comparison 387 | if (cmd = tgetstr("md", &where)) { | ^ | == ile.c:388:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | if (cme = tgetstr("me", &where)) strip(&cmd), strip(&cme); | ^ ile.c:388:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 388 | if (cme = tgetstr("me", &where)) strip(&cmd), strip(&cme); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:388:10: note: place parentheses around the assignment to silence this warning 388 | if (cme = tgetstr("me", &where)) strip(&cmd), strip(&cme); | ^ | ( ) ile.c:388:10: note: use '==' to turn this assignment into an equality comparison 388 | if (cme = tgetstr("me", &where)) strip(&cmd), strip(&cme); | ^ | == ile.c:392:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | if (csc = tgetstr("sc", &where)) { | ^ ile.c:392:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 392 | if (csc = tgetstr("sc", &where)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:392:13: note: place parentheses around the assignment to silence this warning 392 | if (csc = tgetstr("sc", &where)) { | ^ | ( ) ile.c:392:13: note: use '==' to turn this assignment into an equality comparison 392 | if (csc = tgetstr("sc", &where)) { | ^ | == ile.c:393:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^ ile.c:393:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 393 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:393:10: note: place parentheses around the assignment to silence this warning 393 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^ | ( ) ile.c:393:10: note: use '==' to turn this assignment into an equality comparison 393 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^ | == ile.c:400:23: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | if (csc = tgetstr("sc", &where)) { | ^ ile.c:400:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 400 | if (csc = tgetstr("sc", &where)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:400:14: note: place parentheses around the assignment to silence this warning 400 | if (csc = tgetstr("sc", &where)) { | ^ | ( ) ile.c:400:14: note: use '==' to turn this assignment into an equality comparison 400 | if (csc = tgetstr("sc", &where)) { | ^ | == ile.c:401:20: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^ ile.c:401:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 401 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ile.c:401:11: note: place parentheses around the assignment to silence this warning 401 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^ | ( ) ile.c:401:11: note: use '==' to turn this assignment into an equality comparison 401 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^ | == ile.c:495:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 495 | write_line(line, length) char *line; int length; { | ^ | int ile.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ile.c:510:1: warning: non-void function does not return a value [-Wreturn-type] 510 | } | ^ ile.c:587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | void bell(ch) char ch; { fputs(cbl, stdout); } | ^ ile.c:573: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] 573 | void bell(); | ^ ile.c:590:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | void pass(ch) char ch; { (void) write(master_pty, &ch, 1); } | ^ ile.c:604:6: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | echo(ch); | ^ ile.c:609:14: warning: passing arguments to 'cic_echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | cic_echo(ch); | ^ ile.c:616:10: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | echo(ch); | ^ ile.c:619:14: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | echoline(&line[point], (length - point)); | ^ ile.c:624:22: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | if (!crc) backspace(line[i]); | ^ ile.c:596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | void insert(ch) char ch; { | ^ ile.c:574: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] 574 | void insert(); | ^ ile.c:644:11: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | backspace(line[point]); | ^ ile.c:645:6: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | echo(line[point]); | ^ ile.c:646:6: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | echo(line[point - 1]); | ^ ile.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | void transpose_chars(ch) char ch; { | ^ ile.c:667:10: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | echoline(&line[point + 1], (length - point - 1)); | ^ ile.c:668:6: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | echo(' '); backspace(' '); | ^ ile.c:668:22: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | echo(' '); backspace(' '); | ^ ile.c:672:25: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | if (!crc) backspace(line[i]); | ^ ile.c:660:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | void delete_char_under(ch) char ch; { | ^ ile.c:688:11: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | backspace(line[point - 1]); | ^ ile.c:692:10: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | echoline(&line[point], (length - point)); | ^ ile.c:693:6: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | echo(' '); backspace(' '); | ^ ile.c:693:22: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | echo(' '); backspace(' '); | ^ ile.c:697:25: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | if (!crc) backspace(line[i]); | ^ ile.c:684:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | void delete_char(ch) char ch; { | ^ ile.c:709:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | void quote(ch) char ch; { edit = quote_edit; } | ^ ile.c:712:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | void meta1(ch) char ch; { edit = edit_1; } | ^ ile.c:715:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | void meta2(ch) char ch; { edit = edit_2; } | ^ ile.c:718:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | void meta3(ch) char ch; { edit = edit_3; } | ^ ile.c:730:15: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | backspace(line[point - 1]); | ^ ile.c:733:15: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | backspace(line[point - 1]); | ^ ile.c:738:10: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | echoline(&line[old], (length - old)); | ^ ile.c:742:15: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | backspace(line[point + i]); | ^ ile.c:721:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | void delete_word(ch) char ch; { | ^ ile.c:757:10: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | echo(line[point]); | ^ ile.c:760:10: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | echo(line[point]); | ^ ile.c:753:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | void forward_word(ch) char ch; { | ^ ile.c:769:10: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | echo(line[point]); | ^ ile.c:774:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | echo(line[point]); | ^ ile.c:776:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | echo(line[point]); | ^ ile.c:765:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | void lower_word(ch) char ch; { | ^ ile.c:786:10: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | echo(line[point]); | ^ ile.c:791:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | echo(line[point]); | ^ ile.c:793:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | echo(line[point]); | ^ ile.c:782:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | void upper_word(ch) char ch; { | ^ ile.c:804:10: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | echo(line[point]); | ^ ile.c:809:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | echo(line[point]); | ^ ile.c:811:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | echo(line[point]); | ^ ile.c:817:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | echo(line[point]); | ^ ile.c:819:7: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | echo(line[point]); | ^ ile.c:800:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | void capitalize_word(ch) char ch; { | ^ ile.c:829:15: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | backspace(line[point - 1]); | ^ ile.c:832:15: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | backspace(line[point - 1]); | ^ ile.c:825:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | void backward_word(ch) char ch; { | ^ ile.c:842:15: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | backspace(line[i]); | ^ ile.c:837:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | void start_of_line(ch) char ch; { | ^ ile.c:850:11: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | backspace(line[point - 1]); | ^ ile.c:848:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | void backward_char(ch) char ch; { | ^ ile.c:858:10: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | echoline(&line[point], (length - point)); | ^ ile.c:856:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | void end_of_line(ch) char ch; { | ^ ile.c:866:6: warning: passing arguments to 'echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | echo(line[point]); | ^ ile.c:864:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | void forward_char(ch) char ch; { | ^ ile.c:873:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | void send_line(ch) char ch; { | ^ ile.c:928:14: warning: passing arguments to 'clearline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | clearline(ch); | ^ ile.c:926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | void erase_line(ch) char ch; { | ^ ile.c:937:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | void erase_to_end_of_line(ch) char ch; { | ^ ile.c:945:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | void redraw_line(ch) char ch; { | ^ ile.c:952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | void clear_screen(ch) char ch; { fputs(ccl, stdout); reprompt(); } | ^ ile.c:960:11: warning: passing arguments to 'clearline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | clearline(ch); | ^ ile.c:965:10: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | echoline(line, length); | ^ ile.c:958:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | void forward_history(ch) char ch; { | ^ ile.c:995:11: warning: passing arguments to 'clearline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | clearline(ch); | ^ ile.c:997:10: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | echoline(line, length); | ^ ile.c:999:49: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | else for (i = point; i < length; i++) backspace(line[i]); | ^ ile.c:974:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | void search_backward_history(ch) char ch; { | ^ ile.c:1014:11: warning: passing arguments to 'clearline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | clearline(ch); | ^ ile.c:1019:10: warning: passing arguments to 'echoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | echoline(line, length); | ^ ile.c:1008:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | void backward_history(ch) char ch; { | ^ ile.c:1041:42: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | for (i = 0; i < point; i++) backspace(line[i]); | ^ ile.c:1038:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | void clearline(ch) char ch; { | ^ ile.c:564: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] 564 | void clearline(); | ^ ile.c:1045:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | void cic_echo(ch) char ch; { | ^ ile.c:561: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] 561 | void cic_echo(); | ^ ile.c:1056:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | void echo(ch) char ch; { | ^ ile.c:560: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] 560 | void echo(); | ^ ile.c:1067:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | void echoline(line, length) char *line; int length; { | ^ ile.c:562: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] 562 | void echoline(); | ^ ile.c:1096:44: warning: passing arguments to 'backspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | for (i = point; i < length; i++) backspace(line[i]); | ^ ile.c:1104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | void backspace(ch) char ch; { | ^ ile.c:565: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] 565 | void backspace(); | ^ ile.c:1111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | void quote_edit(ch) char ch; { | ^ ile.c:568: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] 568 | void quote_edit(); | ^ ile.c:1125:43: 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] 1125 | (*(action_table[table][ch].aors.action)) (ch); | ^ ile.c:1130:14: 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] 1130 | (*edit) (*cptr); | ^ ile.c:1120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | void dispatch(table, ch) int table; char ch; { | ^ ile.c:1138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | void edit_3(ch) char ch; { | ^ ile.c:572: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] 572 | void edit_3(); | ^ ile.c:1147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | void edit_2(ch) char ch; { | ^ ile.c:571: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] 571 | void edit_2(); | ^ ile.c:1156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | void edit_1(ch) char ch; { | ^ ile.c:570: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] 570 | void edit_1(); | ^ ile.c:1171:27: error: use of undeclared identifier 'TIOCREMOTE' 1171 | (void) ioctl(master_pty, TIOCREMOTE, &mode); | ^ ile.c:1174:27: error: use of undeclared identifier 'TIOCREMOTE' 1174 | (void) ioctl(master_pty, TIOCREMOTE, &mode); | ^ ile.c:1165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | void edit_0(ch) char ch; { | ^ ile.c:569: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] 569 | void edit_0(); | ^ ile.c:1284:29: warning: too few arguments in call to 'clearline' 1284 | if (length) clearline(); | ~~~~~~~~~ ^ ile.c:1347:15: 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] 1347 | (*edit) (CHAR_MASK & buffer[i]); | ^ ile.c:1357:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | void child(argv, index) char *argv[]; int index; { | ^ ile.c:1614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1614 | main(argc, argv) int argc; char *argv[]; { | ^ | int ile.c:1621:18: warning: too few arguments in call to 'clear_screen' 1621 | clear_screen(); | ~~~~~~~~~~~~ ^ ile.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | main(argc, argv) int argc; char *argv[]; { | ^ ile.c:1753:5: warning: array index 127 is past the end of the array (that has type 'struct (unnamed struct at ile.c:552:1)[127]') [-Warray-bounds] 1753 | action_table[0][del].aors.action = delete_char; | ^ ~~~ ile.c:552:1: note: array 'action_table' declared here 552 | struct { | ^ ile.c:1769:5: warning: array index 127 is past the end of the array (that has type 'struct (unnamed struct at ile.c:552:1)[127]') [-Warray-bounds] 1769 | action_table[1][del].aors.action = delete_word; | ^ ~~~ ile.c:552:1: note: array 'action_table' declared here 552 | struct { | ^ 149 warnings and 2 errors generated. *** [ile] Error code 1 bmake: stopped making "all" in /var/tmp/work/misc/lile/work/lile-2.0 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/misc/lile/work/lile-2.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/lile *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/lile