=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/chat/tirc", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tirc-1.2nb4 --- depend --- --- main.o --- --- depend --- ./mkdep.sh -I. *.c --- main.o --- clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c main.c main.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | main(argc, argv) | ^ main.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | readrc(f) | ^ main.c:452:14: warning: passing 'char[4000]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 452 | l = skipws(line); | ^~~~ ./tirc.h:421:43: note: passing argument to parameter 's' here 421 | unsigned char *skipws __P((unsigned char *s)); | ^ main.c:452:5: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 452 | l = skipws(line); | ^ ~~~~~~~~~~~~ main.c:480:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | l = skipws(l); | ^ ./tirc.h:421:43: note: passing argument to parameter 's' here 421 | unsigned char *skipws __P((unsigned char *s)); | ^ main.c:480:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | l = skipws(l); | ^ ~~~~~~~~~ main.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | skipws(s) | ^ main.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | splitas(line, left, right) | ^ main.c:614:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | strcpy(right, skipws(sep+1)); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ main.c:614:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | strcpy(right, skipws(sep+1)); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ main.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | synterr(f, l) | ^ main.c:670:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 670 | getsockname(s, (struct sockaddr *) &local, &loc_addrlen); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ main.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | sig_exit(s) | ^ main.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | sigint(dummy) | ^ main.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | chkmem(p) | ^ main.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | our_signal(sig, hnd) | ^ main.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | sigtstp(dummy) | ^ main.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | sigwinch(dummy) | ^ main.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | rccommands(isconnected) | ^ main.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | check_conf(option) | ^ main.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | set_conf(option, set) | ^ main.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | sigchld(dummy) | ^ main.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | pq_add(f) | ^ main.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | pq_del(pqe) | ^ main.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | sigalrm(dummy) | ^ 25 warnings generated. --- irc.o --- clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c irc.c irc.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | dg_allocbuffer(d) | ^ irc.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | dg_freebuffer(d) | ^ irc.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | dgets(d, sz, s, tout) | ^ irc.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | dgtrunc(d, t) | ^ irc.c:504:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | strip_mirc_colours(line); | ^~~~ irc.c:50:52: note: passing argument to parameter here 50 | static void strip_mirc_colours __P((unsigned char *)); | ^ irc.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | skipspace(s) | ^ irc.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | getmax(arr, count) | ^ irc.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | splitline(line, sm) | ^ irc.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | cmd_ignore(sm) | ^ irc.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | from_nick(sm, nickname) | ^ irc.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | cmd_nonum(sm) | ^ irc.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | cmd_print(sm) | ^ irc.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | cmd_welcomed(sm) | ^ irc.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | cmd_nickused(sm) | ^ irc.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | newnick(n) | ^ irc.c:1454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | parse_mode(sm) | ^ irc.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | quitirc(comment) | ^ irc.c:1604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | getchanbyname(name) | ^ irc.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | join_chan(sm) | ^ irc.c:1710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | part_chan(sm) | ^ irc.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | delchan(ch) | ^ irc.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | elf_hash(name) | ^ irc.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | irc_elf_hash(name) | ^ irc.c:1804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1804 | irc_strupr(s) | ^ irc.c:1821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | irc_strcmp(s, t) | ^ irc.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 | irc_chrcmp(a, b) | ^ irc.c:1844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | irc_strncmp(s, t, n) | ^ irc.c:1861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1861 | cmd_cmode(sm) | ^ irc.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | cmd_names(sm) | ^ irc.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | privmsg(target, txt, silent) | ^ irc.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | notice(target, txt, silent) | ^ irc.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | ctcpmsg(sm) | ^ irc.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | ctcpnotice(sm) | ^ irc.c:2348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2348 | cmd_generic(sm) | ^ irc.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2566 | cmd_unavailable(sm) | ^ irc.c:2598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2598 | get_buffered(line) | ^ irc.c:2644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2644 | add_to_ilbuf(l) | ^ irc.c:2660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2660 | use_ilb(use) | ^ irc.c:2671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2671 | getquerybyname(nname) | ^ irc.c:2694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2694 | add_nickhist(nname) | ^ irc.c:2745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2745 | strip_mirc_colours(lb) | ^ 41 warnings generated. --- ircx.o --- clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c ircx.c ircx.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | add_ignore(what, exp) | ^ ircx.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | del_ignore(which) | ^ ircx.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | check_ignore(sm) | ^ ircx.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | cache_names(sm, ch) | ^ ircx.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | addnametocache(t, ch) | ^ ircx.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | delnamefromcache(t, ch) | ^ ircx.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | listcucache(ch) | ^ ircx.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | update_cucache(sm) | ^ ircx.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | getfromucache(n, first, chan, iterate) | ^ ircx.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | changecacheumode(nick, ch, mode, what) | ^ ircx.c:565:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 565 | else | ^ ircx.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | addsrctocache(n, source) | ^ ircx.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | clrucache(ch) | ^ ircx.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | buildban(n, ch, pure, needredo) | ^ ircx.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | ignmask(n) | ^ ircx.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | buildspam(s) | ^ ircx.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | checkspam(m) | ^ ircx.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | parse_uhost(sm) | ^ ircx.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | logchannel(channel, filename) | ^ ircx.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | ch_closelog(ch) | ^ ircx.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | done_clogfn(filename) | ^ ircx.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | complete_from_ucache(ch, name, addcolon) | ^ ircx.c:1092:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1092 | else | ^ ircx.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | isnickch(c) | ^ ircx.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | logmessage(filename) | ^ ircx.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | done_mlogfn(filename) | ^ ircx.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | ood_add(line) | ^ ircx.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | ood_del(no) | ^ ircx.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | ood_verify(uhost, pass, chan) | ^ ircx.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | matchre_ood_uhost(uhost, uhostre) | ^ ircx.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | ood_incoming(sm, nname) | ^ ircx.c:1515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | globtore(gpat) | ^ 32 warnings generated. --- input.o --- clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c input.c input.c:175:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 175 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:284:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:366:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 366 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:371:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:405:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 405 | sprintf(line, "%cmsg %s ", cmdch, | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ input.c:408:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 408 | sprintf(line, "%cmsg ", cmdch); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ input.c:410:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 410 | lptr = lsz = strlen(line); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ input.c:412:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 412 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:430:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 430 | w = lastnick(&lw); | ^ ~~~~~~~~~~~~~ input.c:431:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 431 | xpand = complete_from_ucache(ch, w, | ^ ./tirc.h:426:57: note: passing argument to parameter here 426 | char *complete_from_ucache __P((struct channel *, char *, int)); | ^ input.c:431:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 431 | xpand = complete_from_ucache(ch, w, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 432 | (lw == skipws(line))); | ~~~~~~~~~~~~~~~~~~~~~ input.c:437:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 437 | if (lsz + strlen(xpand) >= MAXINPUT) { | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ input.c:441:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 441 | xlen = strlen(xpand); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ input.c:445:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 445 | lsz += xlen - strlen(w); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ input.c:447:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 447 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:480:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:500:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 500 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:519:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:536:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 536 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:552:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 552 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:566:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 566 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:598:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 598 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:618:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 618 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:628:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 628 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:636:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 636 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:641:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 641 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:647:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 647 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:671:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 671 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:682:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 682 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:691:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 691 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:700:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 700 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:710:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 710 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:721:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 721 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:730:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 730 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:739:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 739 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:753:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 753 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:757:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 757 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:772:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 772 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:803:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 803 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:832:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | strcpy(line, elc->al_text); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ input.c:833:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 833 | lsz = strlen(line); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ input.c:835:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 835 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:847:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 847 | strcpy(line, elc->al_text); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ input.c:848:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 848 | lsz = strlen(line); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ input.c:850:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 850 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:866:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 866 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:888:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 888 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:923:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 923 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:951:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 951 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:968:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 968 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:1036:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1036 | update_eline(line, lsz, lptr, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | elrefr(force_redraw) | ^ input.c:1207:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1207 | update_eline(line, lsz, lptr, force_redraw); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | addtohist(ln) | ^ input.c:1243:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1243 | al->al_text = chkmem(Strdup(ln)); | ^~ ./compat.h:16:31: note: passing argument to parameter here 16 | char *Strdup __P((const char *)); | ^ input.c:1262:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1262 | al->al_text = chkmem(Strdup(ln)); | ^~ ./compat.h:16:31: note: passing argument to parameter here 16 | char *Strdup __P((const char *)); | ^ input.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | linedone(exec) | ^ input.c:1298:13: warning: passing 'char[1]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1298 | addtohist(""); | ^~ input.c:1301:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1301 | update_eline(line, lsz, 0, 0); | ^~~~ ./tirc.h:321:30: note: passing argument to parameter here 321 | void update_eline __P((char *, int, int, int)); | ^ input.c:1307:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1307 | cmdline(line); | ^~~~ ./tirc.h:326:25: note: passing argument to parameter here 326 | void cmdline __P((char *)); | ^ input.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | el_setmode(m) | ^ input.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | lastnick(linep) | ^ input.c:1392:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1392 | return word; | ^~~~ input.c:1386:3: warning: expression result unused [-Wunused-value] 1386 | (char *)p--; | ^ ~~~ 64 warnings generated. --- cmd.o --- clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c cmd.c cmd.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | cmdline(l) | ^ cmd.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | dumbcmd(i, pars) | ^ cmd.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | quitcmd(i, pars) | ^ cmd.c:391:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 391 | extern user_exit_flag; | ~~~~~~ ^ | int cmd.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | closecmd(i, pars) | ^ cmd.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | awaycmd(i, pars) | ^ cmd.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | cmdchcmd(i, pars) | ^ cmd.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | helpcmd(i, pars) | ^ cmd.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | kickcmd(i, pars) | ^ cmd.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | clearcmd(i, pars) | ^ cmd.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | joincmd(i, pars) | ^ cmd.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | partcmd(i, pars) | ^ cmd.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | msgcmd(i, pars) | ^ cmd.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 | wincmd(i, pars) | ^ cmd.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | ctcpcmd(i, pars) | ^ cmd.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | mecmd(i, pars) | ^ cmd.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | setcmd(i, pars) | ^ cmd.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | pingcmd(i, pars) | ^ cmd.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | rawcmd(i, pars) | ^ cmd.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | servercmd(i, pars) | ^ cmd.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | tirccmd(i, pars) | ^ cmd.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | topiccmd(i, pars) | ^ cmd.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | opercmd(i, pars) | ^ cmd.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | killcmd(i, pars) | ^ cmd.c:1381:6: warning: comparison of array 'nick' equal to a null pointer is always false [-Wtautological-pointer-compare] 1381 | if (nick == NULL) { | ^~~~ ~~~~ cmd.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | timecmd(i, pars) | ^ cmd.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | systemcmd(i, pars) | ^ cmd.c:1423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | dumbpcmd(i, pars) | ^ cmd.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | clistcmd(i, pars) | ^ cmd.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | ignorecmd(i, pars) | ^ cmd.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | wallopscmd(i, pars) | ^ cmd.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | noticecmd(i, pars) | ^ cmd.c:1557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | cnamescmd(i, pars) | ^ cmd.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | opcmd(i, pars) | ^ cmd.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | qkcmd(i, pars) | ^ cmd.c:1681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | kbcmd(i, pars) | ^ cmd.c:1698:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1698 | else | ^ cmd.c:1729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1729 | invitecmd(i, pars) | ^ cmd.c:1755:24: warning: comparison of array 'ch->ch_name' equal to a null pointer is always false [-Wtautological-pointer-compare] 1755 | if (ch == NULL || ch->ch_name == NULL) | ~~~~^~~~~~~ ~~~~ cmd.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | signalcmd(i, pars) | ^ cmd.c:1779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | lamecmd(i, pars) | ^ cmd.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | spamcmd(i, pars) | ^ cmd.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | whoiscmd(i, pars) | ^ cmd.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | namescmd(i, pars) | ^ cmd.c:1894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | dcccmd(i, pars) | ^ cmd.c:2021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | uhostcmd(i, pars) | ^ cmd.c:2038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2038 | lastlogcmd(i, pars) | ^ cmd.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | umodecmd(i, pars) | ^ cmd.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | igncmd(i, pars) | ^ cmd.c:2130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2130 | setredo(c, t) | ^ cmd.c:2149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | redo(t) | ^ cmd.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | desccmd(i, pars) | ^ cmd.c:2194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2194 | keyscmd(i, pars) | ^ cmd.c:2206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | nickcmd(i, pars) | ^ cmd.c:2219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2219 | allow_empty(y) | ^ cmd.c:2230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2230 | querycmd(i, pars) | ^ cmd.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | split_commands(l) | ^ cmd.c:2375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2375 | aliascmd(i, pars) | ^ cmd.c:2442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2442 | expand_alias(l) | ^ cmd.c:2539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2539 | saycmd(i, pars) | ^ cmd.c:2552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2552 | logcmd(i, pars) | ^ cmd.c:2572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | pagecmd(i, pars) | ^ cmd.c:2609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2609 | oodcmd(i, pars) | ^ cmd.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | parsecmd(i, pars) | ^ cmd.c:2692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2692 | urlcmd(i, pars) | ^ cmd.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | uptimecmd(i, pars) | ^ cmd.c:2820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2820 | colourcmd(i, pars) | ^ cmd.c:2851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2851 | sourcecmd(i, pars) | ^ cmd.c:2864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2864 | ncolcmd(i, pars) | ^ 69 warnings generated. --- screen.o --- clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c screen.c screen.c:103:36: warning: call to undeclared function 'TAILQ_HEAD_INITIALIZER'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | TAILQ_HEAD(, ircpage) pages_head = TAILQ_HEAD_INITIALIZER(pages_head); | ^ screen.c:103:23: error: initializing 'struct (unnamed struct at screen.c:103:1)' with an expression of incompatible type 'int' 103 | TAILQ_HEAD(, ircpage) pages_head = TAILQ_HEAD_INITIALIZER(pages_head); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | del_iwin(w) | ^ screen.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | dispose_msg(im) | ^ screen.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | iw_addchan(ch) | ^ screen.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | iw_delchan(c) | ^ screen.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | move_eline(p) | ^ screen.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | update_eline(line, size, cursor, force_update) | ^ screen.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | eline_offset(pos, newcurs, newst) | ^ screen.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | set_prompt(pro) | ^ screen.c:860:29: warning: comparison of array 'ch->ch_name' equal to a null pointer is always false [-Wtautological-pointer-compare] 860 | else if (ch == NULL || ch->ch_name == NULL || *ch->ch_name == 0) { | ~~~~^~~~~~~ ~~~~ screen.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | showmode(mode) | ^ screen.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | askyn(m) | ^ screen.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | switchwin(dir) | ^ screen.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | wchanistop(cname) | ^ screen.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | iw_addstr(win, line, format, pg, chint) | ^ screen.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | iw_addbs(win, line) | ^ screen.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | iw_repaint(iw) | ^ screen.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | iw_scroll(n, dir) | ^ screen.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | askpass(p) | ^ screen.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | iwcmode(mode) | ^ screen.c:1551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | iwc_status(st) | ^ screen.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | setlog(val) | ^ screen.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | iw_logtofile(filename) | ^ screen.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | done_logfn(filename) | ^ screen.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | iw_resize(v) | ^ screen.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | search(dir) | ^ screen.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | searchre(t) | ^ screen.c:1911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | findre(dir) | ^ screen.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | reformat_backscroll(iw, newwidth) | ^ screen.c:2251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2251 | ipg_switchto(pageno, silent) | ^ screen.c:2278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | ipg_switchtopg(ipg) | ^ screen.c:2334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2334 | ipg_setget_otherpg(p) | ^ screen.c:2347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2347 | ipg_get_updatelist(pglist) | ^ screen.c:2371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | ipg_check_updatelist(force_update) | ^ screen.c:2427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2427 | userchan_cpage(nname) | ^ screen.c:2450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2450 | iwlog_strip_attribs(s) | ^ screen.c:2606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2606 | en_disp(en) | ^ 37 warnings and 1 error generated. *** [screen.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/chat/tirc/work/tirc-1.2 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/chat/tirc/work/tirc-1.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/chat/tirc *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/chat/tirc