=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nap-1.4.4nb5 --- alias.o --- --- cmds.o --- --- exp.o --- --- alias.o --- clang -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_NCURSES_H=1 -I. -I. -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include/ncurses -c alias.c --- cmds.o --- clang -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_NCURSES_H=1 -I. -I. -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include/ncurses -c cmds.c --- exp.o --- clang -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_NCURSES_H=1 -I. -I. -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include/ncurses -c exp.c --- alias.o --- In file included from alias.c:15: ./cmds.h:303:21: error: unknown type name 'u_short'; did you mean 'short'? static int in_cksum(u_short *, int); ^~~~~~~ short alias.c:55:3: warning: call to undeclared function 'wp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wp(wchan, "|%s|\n", buf); ^ alias.c:56:3: warning: call to undeclared function 'drw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] drw(wchan); ^ --- exp.o --- In file included from exp.c:14: ./nap.h:1:9: warning: '_NAP_NAP_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _NAP_NAP_H ^~~~~~~~~~ ./nap.h:2:9: note: '_NAP_HAP_H' is defined here; did you mean '_NAP_NAP_H'? #define _NAP_HAP_H ^~~~~~~~~~ _NAP_NAP_H --- alias.o --- alias.c:66: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] r = strdup(getval(nm, &tp)); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:66: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] r = strdup(getval(nm, &tp)); ^ ~~~~~~~~~~~~~~~~~~~~~~~ alias.c:68:14: 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 (strchr(nm, '(')) ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ alias.c:71: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] strcpy(b, strchr(nm, '(')+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)) ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ alias.c:82:20: 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] t = dovars(vtok[i]+1); ^~~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:86:19: 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] vtok[i] = t; ^ ~ alias.c:101:22: 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] t = dovars(tok[j]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:105:20: 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] tok[j] = t; ^ ~ alias.c:169:21: 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 (!strcasecmp(vars[i].nm, b)) ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:171:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = vars[i].func(vtok, vcnt); ^ alias.c:183:11: warning: returning 'char *' from a function with result 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] return(strdup("")); ^~~~~~~~~~~~ alias.c:237:14: 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] t = strdup(al->args); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:385:7: warning: call to undeclared function 'msprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] msprintf(&atok[i], "%i", cnt-1); ^ alias.c:538:15: 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] cur->args = strdup(buf+i+1); ^ ~~~~~~~~~~~~~~~ alias.c:539:13: 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] cur->nm = (char *)malloc(i); ^ ~~~~~~~~~~~~~~~~~ alias.c:546: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] strncpy(cur->nm, buf, i); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ alias.c:575:8: 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] nm = (unsigned char *)malloc(i+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:587:12: 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] addset(nm, buf+j, t); ^~ ./alias.h:36:28: note: passing argument to parameter here void addset(unsigned char *, unsigned char *, unsigned char); ^ alias.c:587:16: 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] addset(nm, buf+j, t); ^~~~~ ./alias.h:36:45: note: passing argument to parameter here void addset(unsigned char *, unsigned char *, unsigned char); ^ alias.c:630:20: 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] cur->nm = strdup(nm); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:630: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] cur->nm = strdup(nm); ^ ~~~~~~~~~~ alias.c:631: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] cur->d = strdup(val); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:631:10: 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] cur->d = strdup(val); ^ ~~~~~~~~~~~ alias.c:652:15: 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 (!strlen(d)) ^ /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); ^ alias.c:662:33: 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] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:662:42: 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] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:687:33: 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] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:687:42: 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] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next) ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:716:15: 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] return(atol(cur->d)); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:136:24: note: passing argument to parameter here long atol(const char *); ^ alias.c:778:18: 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] t = dovars(tok[i]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:778:9: 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] t = dovars(tok[i]+1); ^ ~~~~~~~~~~~~~~~~ --- cmds.o --- In file included from cmds.c:25: ./getopt.h:136:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] --- alias.o --- alias.c:823:25: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] s2 = (char *)malloc(abs(strchr(s1, r)-s1)); ^ --- cmds.o --- extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ --- alias.o --- alias.c:823:25: note: use function 'labs' instead s2 = (char *)malloc(abs(strchr(s1, r)-s1)); ^~~ labs alias.c:824:23: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] strncpy(s2, s1+1, abs(strchr(s1, r)-s1)-1); ^ alias.c:824:23: note: use function 'labs' instead strncpy(s2, s1+1, abs(strchr(s1, r)-s1)-1); ^~~ labs /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ alias.c:825:8: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] s2[abs(strchr(s1, r)-s1)-1] = '\0'; ^ alias.c:825:8: note: use function 'labs' instead s2[abs(strchr(s1, r)-s1)-1] = '\0'; ^~~ labs alias.c:826:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = func(s2); ^ alias.c:836:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^ alias.c:836:21: note: use function 'labs' instead rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^~~ labs alias.c:836:33: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^ alias.c:836:33: note: use function 'labs' instead rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^~~ labs alias.c:836:47: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^ alias.c:836:47: note: use function 'labs' instead rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^~~ labs alias.c:892:19: 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] tm = dovars(tok[0]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:892:10: 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] tm = dovars(tok[0]+1); ^ ~~~~~~~~~~~~~~~~ alias.c:901:19: 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] tm = dovars(tok[1]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:901:10: 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] tm = dovars(tok[1]+1); ^ ~~~~~~~~~~~~~~~~ alias.c:910:19: 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] tm = dovars(tok[2]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:910:10: 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] tm = dovars(tok[2]+1); ^ ~~~~~~~~~~~~~~~~ alias.c:922:7: warning: call to undeclared function 'msprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] msprintf(&tm, "\'%s\' %s \'%s\'", tok[0]?tok[0]:"", tok[1]?tok[1]:"", tok[2]?tok[2]:""); ^ alias.c:1106:3: warning: call to undeclared function 'msprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] msprintf(&rt, "%i", t); ^ 48 warnings and 1 error generated. --- cmds.o --- In file included from cmds.c:33: ./nap.h:1:9: warning: '_NAP_NAP_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _NAP_NAP_H ^~~~~~~~~~ ./nap.h:2:9: note: '_NAP_HAP_H' is defined here; did you mean '_NAP_NAP_H'? #define _NAP_HAP_H ^~~~~~~~~~ _NAP_NAP_H --- exp.o --- exp.c:59:43: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getpeername(s, (struct sockaddr *)&frm, &frmlen); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:704:78: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ --- alias.o --- *** [alias.o] Error code 1 bmake: stopped in /Users/pbulk/build/net/nap/work/nap-1.4.4 --- cmds.o --- cmds.c:323:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *)&frm, &frmlen); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ cmds.c:492:9: 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] b = dohandler(cur, tok, cnt); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:514:9: warning: call to undeclared function 'userhandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] r = userhandler(s, op, tok, cnt, buf, win); ^ cmds.c:520:9: warning: call to undeclared function 'userhandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] r = userhandler(s, op, NULL, 0, NULL, win); ^ cmds.c:703:26: 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] p = dovars(tok[i]+1); ^~~~~~~~ ./alias.h:29:38: note: passing argument to parameter here unsigned char *dovars(unsigned char *); ^ cmds.c:703:17: 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] p = dovars(tok[i]+1); ^ ~~~~~~~~~~~~~~~~ cmds.c:762: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] if (!strcasecmp(tok[0], cur->nm)) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ cmds.c:764:12: 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] st = doalias(cur, tok, cnt); ^ ~~~~~~~~~~~~~~~~~~~~~~ cmds.c:833:18: warning: initializing 'unsigned char *' with an expression 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] unsigned char *t = buf, f=0; ^ ~~~ cmds.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] tok = form_toks(t, &cnt); ^ cmds.c:336:24: note: passing argument to parameter 'buf' here char **form_toks(char *buf, int *cnt) ^ cmds.c:844:7: warning: call to undeclared function 'usercmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] r = usercmd(s, tok, cnt, t, win); ^ cmds.c:857:29: 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] if (!checkouts(ircsock, t, tok, cnt, win)) ^ ./irc.h:85:28: note: passing argument to parameter here int checkouts(int s, char *, char **, int, WINDOW *); ^ cmds.c:887:26: 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] r = out[i].func(s, t, tok, cnt, win); ^ cmds.c:1277:74: 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 (dwi && ((!strcasecmp(tok[0], "information") && !strcasecmp(tok[2], dwi)) || (!strcasecmp(tok[0], "user") && !strcasecmp(tok[1], dwi)))) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ cmds.c:1277:135: 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 (dwi && ((!strcasecmp(tok[0], "information") && !strcasecmp(tok[2], dwi)) || (!strcasecmp(tok[0], "user") && !strcasecmp(tok[1], dwi)))) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ cmds.c:1316: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] if (dwi && !strcasecmp(dwi, tok[0])) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ cmds.c:1384: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] if (dwi && !strcasecmp(dwi, tok[0])) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ cmds.c:1575:34: 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] cur->timer = addtimer(90, s, nm, win); ^~ ./timer.h:24:41: note: passing argument to parameter here void *addtimer(int, int, unsigned char *, WINDOW *); ^ cmds.c:1713:32: 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] cur->timer = addtimer(90, s, nm, win); ^~ ./timer.h:24:41: note: passing argument to parameter here void *addtimer(int, int, unsigned char *, WINDOW *); ^ cmds.c:1819:37: warning: passing 'char[15]' 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] int min, sec, i, c, lp, dr = nvar("noresultscreen"); ^~~~~~~~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here long nvar(unsigned char *); ^ cmds.c:2029:29: warning: passing 'char[15]' 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] int min, sec, i, r = nvar("noresultscreen"); ^~~~~~~~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here long nvar(unsigned char *); ^ cmds.c:2078:3: warning: call to undeclared function 'initfserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] initfserv(atoi(tok[0])); ^ cmds.c:3006:9: 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] dwi = strdup(tok[1]); ^ ~~~~~~~~~~~~~~ cmds.c:3007:26: 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] sendpack(s, F_WHOIS, dwi); ^~~ ./nap.h:95:41: note: passing argument to parameter here int sendpack(int, unsigned short, char *, ...); ^ cmds.c:3275:3: warning: call to undeclared function 'libunload'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] libunload(&hnd); ^ cmds.c:3276:7: warning: call to undeclared function 'libload'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (libload(USERLIB) == -1) ^ cmds.c:3754:23: 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 (!strcasecmp(cur->nm, tok[1])) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ cmds.c:3766: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] cur->nm = strdup(tok[1]); ^ ~~~~~~~~~~~~~~ cmds.c:3767:13: 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] cur->args = strdup(cstr(str, 2)); ^ ~~~~~~~~~~~~~~~~~~~~ cmds.c:3795:21: 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 (!strcasecmp(cur->nm, tok[1])) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ cmds.c:3851:13: 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] cur->args = strdup(cspstr(tok, num, 2)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:4460:14: 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] p = dovars(tok[1]); ^~~~~~ ./alias.h:29:38: note: passing argument to parameter here unsigned char *dovars(unsigned char *); ^ cmds.c:4480:11: 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] chset(tok[1], cstr(str, 2)); ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4480:19: 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] chset(tok[1], cstr(str, 2)); ^~~~~~~~~~~~ ./alias.h:37:44: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4482:11: 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] chset(tok[1], ""); ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4482:19: 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] chset(tok[1], ""); ^~ ./alias.h:37:44: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4484:12: warning: passing 'char[9]' 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] if (nvar("echosets") == 1) ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here long nvar(unsigned char *); ^ cmds.c:4504: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] if (!getval(tok[1], &t)) ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here unsigned char *getval(unsigned char *, unsigned char *); ^ cmds.c:4506:14: warning: passing 'char[9]' 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] if (nvar("echosets") == 1) ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here long nvar(unsigned char *); ^ cmds.c:4514:10: 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] delset(tok[1]); ^~~~~~ ./alias.h:40:28: note: passing argument to parameter here void delset(unsigned char *); ^ cmds.c:4516:12: warning: passing 'char[9]' 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] if (nvar("echosets") == 1) ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here long nvar(unsigned char *); ^ cmds.c:4687:20: 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] addtimer(sec, s, cstr(str, 3), win); ^~~~~~~~~~~~ ./timer.h:24:41: note: passing argument to parameter here void *addtimer(int, int, unsigned char *, WINDOW *); ^ cmds.c:4894:14: 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] p = getval(tok[1], &t); ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here unsigned char *getval(unsigned char *, unsigned char *); ^ cmds.c:4895: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] if (t && strlen(p)) ^ /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); ^ cmds.c:4897:17: 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] tp = strdup(p+1); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ cmds.c:4898:11: 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] chset(tok[1], tp); ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4898:19: 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] chset(tok[1], tp); ^~ ./alias.h:37:44: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4903: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] msprintf(&tp, "%i", atoi(p)+1); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ cmds.c:4904:11: 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] chset(tok[1], tp); ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4904:19: 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] chset(tok[1], tp); ^~ ./alias.h:37:44: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4908:14: 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] p = getval(tok[1], &t); ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here unsigned char *getval(unsigned char *, unsigned char *); ^ cmds.c:4910:12: warning: passing 'char[9]' 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] if (nvar("echosets") == 1) ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here long nvar(unsigned char *); ^ cmds.c:4931:14: 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] p = getval(tok[1], &t); ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here unsigned char *getval(unsigned char *, unsigned char *); ^ cmds.c:4932: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] if (t && strlen(p)) ^ /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); ^ cmds.c:4934:17: 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] tp = strdup(p); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ cmds.c:4936:11: 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] chset(tok[1], tp); ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4936:19: 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] chset(tok[1], tp); ^~ ./alias.h:37:44: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4941: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] msprintf(&tp, "%i", atoi(p)-1); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ cmds.c:4942:11: 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] chset(tok[1], tp); ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4942:19: 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] chset(tok[1], tp); ^~ ./alias.h:37:44: note: passing argument to parameter here void chset(unsigned char *, unsigned char *); ^ cmds.c:4946:14: 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] p = getval(tok[1], &t); ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here unsigned char *getval(unsigned char *, unsigned char *); ^ cmds.c:4948:12: warning: passing 'char[9]' 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] if (nvar("echosets") == 1) ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here long nvar(unsigned char *); ^ cmds.c:4986:16: warning: passing 'unsigned char[256]' 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 (strstr(cur->ln, tok[1]) && cur->d != 2) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here char *strstr(const char *__big, const char *__little); ^ cmds.c:5101:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(s, (struct sockaddr *)&dst, &frmlen)) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:704:78: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ --- exp.o --- 2 warnings generated. --- cmds.o --- 66 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/net/nap/work/nap-1.4.4 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/nap *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/nap