=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tirc-1.2nb4 ./mkdep.sh -I. *.c mv: .depend: set owner/group (was: 500/0): Operation not permitted clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c main.c 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); ^~~~ ./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: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)); ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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)); ^~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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); ^~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ 7 warnings generated. clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c irc.c 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); ^~~~ irc.c:50:52: note: passing argument to parameter here static void strip_mirc_colours __P((unsigned char *)); ^ 1 warning generated. clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c ircx.c ircx.c:565:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ircx.c:1092:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. 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, ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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) { ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.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: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: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: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: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return word; ^~~~ 59 warnings generated. clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c cmd.c 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) { ^~~~ ~~~~ cmd.c:1698:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 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) ~~~~^~~~~~~ ~~~~ 4 warnings generated. clang -O -pipe -Os -I/opt/pkg/include/ncurses -I. -I/opt/pkg/include/ncurses -c screen.c 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 (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: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) { ~~~~^~~~~~~ ~~~~ 2 warnings and 1 error generated. *** [screen.o] Error code 1 bmake: stopped in /Users/pbulk/build/chat/tirc/work/tirc-1.2 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-macos-trunk-arm64/chat/tirc *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/chat/tirc