=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for tirc-1.2nb4 --- depend --- --- main.o --- --- irc.o --- --- ircx.o --- --- input.o --- --- cmd.o --- --- screen.o --- --- tty.o --- --- depend --- ./mkdep.sh -I. *.c --- main.o --- clang -O -O2 -I. -c main.c --- irc.o --- clang -O -O2 -I. -c irc.c --- ircx.o --- clang -O -O2 -I. -c ircx.c --- input.o --- clang -O -O2 -I. -c input.c --- cmd.o --- clang -O -O2 -I. -c cmd.c --- screen.o --- clang -O -O2 -I. -c screen.c --- tty.o --- clang -O -O2 -I. -c tty.c --- input.o --- input.c:175:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(line, "%cmsg %s ", cmdch, ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-Wpointer-sign] sprintf(line, "%cmsg ", cmdch); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- cmd.o --- cmd.c:391:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern user_exit_flag; ~~~~~~ ^ cmd.c:1381:6: warning: comparison of array 'nick' equal to a null pointer is always false [-Wtautological-pointer-compare] if (nick == NULL) { ^~~~ ~~~~ --- input.o --- input.c:410:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] lptr = lsz = strlen(line); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] w = lastnick(&lw); ^ ~~~~~~~~~~~~~ input.c:431:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] if (lsz + strlen(xpand) >= MAXINPUT) { ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-Wpointer-sign] xlen = strlen(xpand); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ --- cmd.o --- cmd.c:1698:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- input.o --- input.c:445:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] lsz += xlen - strlen(w); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] --- cmd.o --- 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) ~~~~^~~~~~~ ~~~~ --- input.o --- 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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] strcpy(line, elc->al_text); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-Wpointer-sign] lsz = strlen(line); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] strcpy(line, elc->al_text); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-Wpointer-sign] lsz = strlen(line); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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:1207:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-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:1243:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-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 with different sign [-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:1298:13: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] addtohist(""); ^~ input.c:1301:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] cmdline(line); ^~~~ ./tirc.h:326:25: note: passing argument to parameter here void cmdline __P((char *)); ^ input.c:1386:3: warning: expression result unused [-Wunused-value] (char *)p--; ^ ~~~ input.c:1392:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return word; ^~~~ --- main.o --- main.c:452:14: warning: passing 'char [4000]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = skipws(line); ^~~~ ./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 with different sign [-Wpointer-sign] l = skipws(line); ^ ~~~~~~~~~~~~ main.c:480:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] l = skipws(l); ^ ~~~~~~~~~ --- irc.o --- irc.c:504:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] strip_mirc_colours(line); ^~~~ irc.c:50:52: note: passing argument to parameter here static void strip_mirc_colours __P((unsigned char *)); ^ --- screen.o --- screen.c:103:36: warning: implicit declaration of function 'TAILQ_HEAD_INITIALIZER' is invalid in C99 [-Wimplicit-function-declaration] TAILQ_HEAD(, ircpage) pages_head = TAILQ_HEAD_INITIALIZER(pages_head); ^ screen.c:103:23: error: initializing 'struct (anonymous struct at screen.c:103:1)' with an expression of incompatible type 'int' TAILQ_HEAD(, ircpage) pages_head = TAILQ_HEAD_INITIALIZER(pages_head); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- main.o --- main.c:614:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(right, skipws(sep+1)); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.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 with different sign [-Wpointer-sign] strcpy(right, skipws(sep+1)); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ 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] --- screen.o --- 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) { ~~~~^~~~~~~ ~~~~ --- main.o --- getsockname(s, (struct sockaddr *) &local, &loc_addrlen); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ --- tty.o --- tty.c:666:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(kolds, tmp+1); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ tty.c:674:17: warning: passing 'unsigned char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strcmp(tmp, fkeys[s].fkey)) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ tty.c:701:18: warning: passing 'unsigned char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] koldn = strlen(tmp)-1; ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ tty.c:703:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(kolds, tmp+1); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ --- screen.o --- 2 warnings and 1 error generated. --- ircx.o --- ircx.c:565:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- screen.o --- *** [screen.o] Error code 1 bmake: stopped in /opt/work/chat/tirc/work/tirc-1.2 --- ircx.o --- ircx.c:1092:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- tty.o --- tty.c:1037:13: warning: implicit declaration of function 'tparm' is invalid in C99 [-Wimplicit-function-declaration] tputs(tparm(tc_csr, r->ttr_start, r->ttr_end), 0, ^ tty.c:1037:13: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] tputs(tparm(tc_csr, r->ttr_start, r->ttr_end), 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/termcap.h:68:47: note: passing argument to parameter here extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ tty.c:1043:13: warning: implicit declaration of function 'tparm' is invalid in C99 [-Wimplicit-function-declaration] tputs(tparm(tc_csr, r->ttr_start, r->ttr_end), 0, ^ tty.c:1043:13: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] tputs(tparm(tc_csr, r->ttr_start, r->ttr_end), 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/termcap.h:68:47: note: passing argument to parameter here extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ tty.c:1052:9: warning: implicit declaration of function 'tparm' is invalid in C99 [-Wimplicit-function-declaration] tputs(tparm(tc_csr, 0, t_lines-1), 0, tty_putch); ^ tty.c:1052:9: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] tputs(tparm(tc_csr, 0, t_lines-1), 0, tty_putch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/termcap.h:68:47: note: passing argument to parameter here extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ --- main.o --- 7 warnings generated. --- ircx.o --- 2 warnings generated. --- tty.o --- 10 warnings generated. --- input.o --- 59 warnings generated. --- cmd.o --- 4 warnings generated. --- irc.o --- 1 warning generated. 1 error bmake: stopped in /opt/work/chat/tirc/work/tirc-1.2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/chat/tirc *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/chat/tirc