=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for tirc-1.2nb4
--- depend ---
--- main.o ---
--- irc.o ---
--- main.o ---
clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c main.c
--- depend ---
./mkdep.sh -I. *.c
--- irc.o ---
clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c irc.c
--- main.o ---
main.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(argc, argv)
^
--- irc.o ---
irc.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
dgtrunc(d, t)
^
--- main.o ---
main.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
readrc(f)
^
--- irc.o ---
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]
                                        strip_mirc_colours(line);
                                                           ^~~~
--- main.o ---
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]
                l = skipws(line);
                           ^~~~
--- irc.o ---
irc.c:50:52: note: passing argument to parameter here
static void     strip_mirc_colours __P((unsigned char *));
                                                       ^
--- main.o ---
./tirc.h:421:43: note: passing argument to parameter 's' here
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]
                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]
                        l = skipws(l);
                                   ^
./tirc.h:421:43: note: passing argument to parameter 's' here
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]
                        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
        strcpy(right, skipws(sep+1));
                             ^~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy'
                __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]
        strcpy(right, skipws(sep+1));
                      ^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy'
                __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 C2x [-Wdeprecated-non-prototype]
synterr(f, l)
^
--- irc.o ---
irc.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
splitline(line, sm)
^
--- main.o ---
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]
           getsockname(s, (struct sockaddr *) &local, &loc_addrlen);
                                                      ^~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
--- irc.o ---
irc.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
cmd_nonum(sm)
^
--- main.o ---
main.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
rccommands(isconnected)
^
--- irc.o ---
irc.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
--- main.o ---
main.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
--- irc.o ---
getchanbyname(name)
^
--- main.o ---
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 C2x [-Wdeprecated-non-prototype]
set_conf(option, set)
^
--- irc.o ---
irc.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
join_chan(sm)
^
--- main.o ---
main.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
pq_add(f)
^
--- irc.o ---
irc.c:1710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
elf_hash(name)
^
--- main.o ---
main.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
sigalrm(dummy)
^
--- irc.o ---
irc.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
strip_mirc_colours(lb)
^
--- main.o ---
25 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
changecacheumode(nick, ch, mode, what)
^
ircx.c:565:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
ircx.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
complete_from_ucache(ch, name, addcolon)
^
ircx.c:1092:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else
                        ^
ircx.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
globtore(gpat)
^
--- depend ---
mv: .depend: set owner/group (was: 500/0): Operation not permitted
--- 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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                update_eline(line, lsz, lptr, 0);
                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                update_eline(line, lsz, lptr, 0);
                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                update_eline(line, lsz, lptr, 0);
                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                sprintf(line, "%cmsg %s ", cmdch,
                                        ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __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]
                                sprintf(line, "%cmsg ", cmdch);
                                        ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __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]
                        lptr = lsz = strlen(line);
                                            ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                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]
                                xpand = complete_from_ucache(ch, w,
                                                                 ^
./tirc.h:426:57: note: passing argument to parameter here
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]
                                xpand = complete_from_ucache(ch, w,
                                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]
                                if (lsz + strlen(xpand) >= MAXINPUT) {
                                                 ^~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
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]
                                xlen = strlen(xpand);
                                              ^~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
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]
                                lsz += xlen - strlen(w);
                                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                            strcpy(line, elc->al_text);
                                                   ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy'
                __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]
                                        lsz = strlen(line);
                                                     ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
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]
                                        update_eline(line, lsz, lptr, 0);
                                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                            strcpy(line, elc->al_text);
                                                   ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy'
                __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]
                                        lsz = strlen(line);
                                                     ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
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]
                                        update_eline(line, lsz, lptr, 0);
                                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                                update_eline(line, lsz, lptr, 0);
                                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                        update_eline(line, lsz, lptr, 0);
                                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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 C2x [-Wdeprecated-non-prototype]
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]
                update_eline(line, lsz, lptr, force_redraw);
                             ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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 C2x [-Wdeprecated-non-prototype]
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]
                al->al_text = chkmem(Strdup(ln));
                                            ^~
./compat.h:16:31: note: passing argument to parameter here
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]
        al->al_text = chkmem(Strdup(ln));
                                    ^~
./compat.h:16:31: note: passing argument to parameter here
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 C2x [-Wdeprecated-non-prototype]
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]
                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]
        update_eline(line, lsz, 0, 0);
                     ^~~~
./tirc.h:321:30: note: passing argument to parameter here
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]
                cmdline(line);
                        ^~~~
./tirc.h:326:25: note: passing argument to parameter here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
        return word;
               ^~~~
input.c:1386:3: warning: expression result unused [-Wunused-value]
                (char *)p--;
                ^       ~~~
--- irc.o ---
41 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
killcmd(i, pars)
^
cmd.c:1381:6: warning: comparison of array 'nick' equal to a null pointer is always false [-Wtautological-pointer-compare]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
kbcmd(i, pars)
^
cmd.c:1698:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
cmd.c:1729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
ncolcmd(i, pars)
^
--- ircx.o ---
32 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]
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'
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
en_disp(en)
^
37 warnings and 1 error generated.
*** [screen.o] Error code 1

bmake: stopped in /Users/pbulk/build/chat/tirc/work/tirc-1.2
--- input.o ---
64 warnings generated.
--- cmd.o ---
69 warnings generated.
1 error

bmake: stopped in /Users/pbulk/build/chat/tirc/work/tirc-1.2
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/chat/tirc
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/chat/tirc