=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 heirloom-sh-050706nb2 --- args.o --- --- blok.o --- --- bltin.o --- --- cmd.o --- --- ctype.o --- --- defs.o --- --- echo.o --- --- error.o --- --- args.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L args.c --- blok.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L blok.c --- bltin.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L bltin.c --- ctype.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L ctype.c --- defs.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L defs.c --- cmd.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L cmd.c --- error.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L error.c --- echo.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L echo.c echo.c:61:18: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sysv3 = findnam("SYSV3"); ^~~~~~~ ./defs.h:330:39: note: passing argument to parameter here struct namnod *findnam(unsigned char *); ^ --- cmd.o --- cmd.c:134:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = cmd(sym, flg | MTFLG)) ~~^~~~~~~~~~~~~~~~~~~~~~~ cmd.c:134:9: note: place parentheses around the assignment to silence this warning if (e = cmd(sym, flg | MTFLG)) ^ ( ) cmd.c:134:9: note: use '==' to turn this assignment into an equality comparison if (e = cmd(sym, flg | MTFLG)) ^ == cmd.c:478:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (io = inout(io)) ~~~^~~~~~~~~~~ cmd.c:478:9: note: place parentheses around the assignment to silence this warning if (io = inout(io)) ^ ( ) cmd.c:478:9: note: use '==' to turn this assignment into an equality comparison if (io = inout(io)) ^ == cmd.c:578:7: warning: passing 'char *const' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(sp->sysnam); ^~~~~~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ cmd.c:581:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(endoffile); ^~~~~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ cmd.c:587:8: warning: passing 'char [13]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs("newline or ;"); ^~~~~~~~~~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ --- blok.o --- blok.c:134:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(nospace); ^~~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ blok.c:142:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(nospace); ^~~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ blok.c:149:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (reqd = (staktop-stakbot)) ~~~~~^~~~~~~~~~~~~~~~~~~ --- cmd.o --- cmd.c:597:6: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(synmsg); ^~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ cmd.c:600:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(atline); ^~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ cmd.c:603:6: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(colon); ^~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ --- blok.o --- blok.c:149:12: note: place parentheses around the assignment to silence this warning if (reqd = (staktop-stakbot)) ^ ( ) blok.c:149:12: note: use '==' to turn this assignment into an equality comparison if (reqd = (staktop-stakbot)) ^ == --- cmd.o --- cmd.c:610:6: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(unexpected); ^~~~~~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ --- expand.o --- --- bltin.o --- bltin.c:94:16: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(a1, notfound); ^~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:172:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(argv[0], restricted); ^~~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:192:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(argv[0], restricted); ^~~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:201:16: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cf(a1, ".") == 0 || ^~~ ./defs.h:387:52: note: passing argument to parameter here int cf(const unsigned char *, const unsigned char *); ^ bltin.c:202:16: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cf(a1, "..") == 0 || ^~~~ ./defs.h:387:52: note: passing argument to parameter here int cf(const unsigned char *, const unsigned char *); ^ bltin.c:243:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(a1, emultihop); ^~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:247:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(a1, enotdir); ^~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:250:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(a1, enoent); ^~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:253:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(a1, eacces); ^~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- error.o --- error.c:48:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(colon); ^~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ error.c:58:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(s, NIL); ^~~ ./mode.h:51:13: note: expanded from macro 'NIL' #define NIL ((char*)0) ^~~~~~~~~~ error.c:42:54: note: passing argument to parameter 's2' here failed(const unsigned char *s1, const unsigned char *s2) ^ --- expand.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L expand.c --- bltin.o --- bltin.c:257:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(a1, enolink); ^~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:261:18: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(a1, baddir); ^~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:268:12: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (cf(nullstr, dir) && ^~~~~~~ ./defs.h:387:29: note: passing argument to parameter here int cf(const unsigned char *, const unsigned char *); ^ bltin.c:282:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(nulldir); ^~~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ bltin.c:284:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(nohome); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ bltin.c:298:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badshift); ^~~~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ bltin.c:312:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(argv[0],mssgargn); ^~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ bltin.c:359:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badexport); ^~~~~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ bltin.c:402:12: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badopt); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ bltin.c:409:21: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(*argv, notfound); ^~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- error.o --- error.c:114:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(colon); ^~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ --- bltin.o --- bltin.c:427:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badreturn); ^~~~~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ bltin.c:458:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(argv[0],mssgargn); ^~~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ bltin.c:462:14: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] n = lookup("OPTIND"); ^~~~~~~~ ./defs.h:320:38: note: passing argument to parameter here struct namnod *lookup(unsigned char *); ^ bltin.c:474:14: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] assign(n, nullstr); ^~~~~~~ ./defs.h:316:51: note: passing argument to parameter here void assign(struct namnod *, const unsigned char *); ^ bltin.c:485:14: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] n = lookup("OPTARG"); ^~~~~~~~ ./defs.h:320:38: note: passing argument to parameter here struct namnod *lookup(unsigned char *); ^ bltin.c:486:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] assign(n, optarg); ^~~~~~ ./defs.h:316:51: note: passing argument to parameter here void assign(struct namnod *, const unsigned char *); ^ bltin.c:491:12: warning: passing 'char [17]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("unknown builtin\n"); ^~~~~~~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- fault.o --- --- echo.o --- 1 warning generated. --- error.o --- 3 warnings generated. --- fault.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L fault.c --- func.o --- --- hash.o --- --- args.o --- args.c:130:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(argv[1],badopt); ^~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ args.c:139:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (eq(argv[0], "set") && any(wc, "sicrp")) ^~~~~ ./defs.h:414:27: note: expanded from macro 'eq' #define eq(a, b) (cf(a, b) == 0) ^ ./defs.h:387:52: note: passing argument to parameter here int cf(const unsigned char *, const unsigned char *); --- blok.o --- 3 warnings generated. --- args.o --- ^ args.c:139:39: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (eq(argv[0], "set") && any(wc, "sicrp")) ^~~~~~~ ./defs.h:385:39: note: passing argument to parameter here int any(wchar_t, const unsigned char *); ^ args.c:140:22: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(argv[1], badopt); ^~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ args.c:156:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(argv[1],badopt); ^~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- hashserv.o --- --- args.o --- args.c:178:17: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!any(wc, "sicrp") && wc == *flagc) { ^~~~~~~ ./defs.h:385:39: note: passing argument to parameter here int any(wchar_t, const unsigned char *); ^ --- hash.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L hash.c --- func.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L func.c --- hashserv.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L hashserv.c --- args.o --- args.c:232:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (argblk = dolh) ~~~~~~~^~~~~~ args.c:232:13: note: place parentheses around the assignment to silence this warning if (argblk = dolh) ^ ( ) args.c:232:13: note: use '==' to turn this assignment into an equality comparison if (argblk = dolh) ^ == args.c:252:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (argblk = blk) ~~~~~~~^~~~~ args.c:252:13: note: place parentheses around the assignment to silence this warning if (argblk = blk) ^ ( ) args.c:252:13: note: use '==' to turn this assignment into an equality comparison if (argblk = blk) ^ == args.c:304:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (argblk = blk) ~~~~~~~^~~~~ args.c:304:13: note: place parentheses around the assignment to silence this warning if (argblk = blk) ^ ( ) args.c:304:13: note: use '==' to turn this assignment into an equality comparison if (argblk = blk) ^ == args.c:336:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (argfor = clean_args(argfor)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~ args.c:336:16: note: place parentheses around the assignment to silence this warning while (argfor = clean_args(argfor)) ^ ( ) args.c:336:16: note: use '==' to turn this assignment into an equality comparison while (argfor = clean_args(argfor)) ^ == --- bltin.o --- 26 warnings generated. --- fault.o --- In file included from fault.c:42: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined #error The deprecated ucontext routines require _XOPEN_SOURCE to be defined ^ fault.c:177:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = trapcom[0]) ~~^~~~~~~~~~~~ fault.c:177:8: note: place parentheses around the assignment to silence this warning if (t = trapcom[0]) ^ ( ) --- io.o --- --- fault.o --- fault.c:177:8: note: use '==' to turn this assignment into an equality comparison if (t = trapcom[0]) ^ == fault.c:298:11: warning: passing 'char [27]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure("sigaltstack(2) failed with", strerror(err)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ fault.c:298:41: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure("sigaltstack(2) failed with", strerror(err)); ^~~~~~~~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ fault.c:355:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = trapcom[i]) ~~^~~~~~~~~~~~ fault.c:355:10: note: place parentheses around the assignment to silence this warning if (t = trapcom[i]) ^ ( ) fault.c:355:10: note: use '==' to turn this assignment into an equality comparison if (t = trapcom[i]) ^ == fault.c:380:14: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(colon); ^~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ fault.c:399:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, badtrap); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ fault.c:399:18: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, badtrap); ^~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ fault.c:417:29: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace(&trapcom[sig], a1); ^~ ./defs.h:314:53: note: passing argument to parameter here void replace(unsigned char **, const unsigned char *); ^ fault.c:426:28: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace(&trapcom[sig], a1); ^~ ./defs.h:314:53: note: passing argument to parameter here void replace(unsigned char **, const unsigned char *); ^ 9 warnings and 1 error generated. --- io.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L io.c --- fault.o --- *** [fault.o] Error code 1 bmake: stopped in /opt/work/shells/heirloom-sh/work/heirloom-sh-050706 --- expand.o --- expand.c:187:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (gmatch(e->d_name, cs)) ^~ ./defs.h:248:38: note: passing argument to parameter here int gmatch(const char *, const char *); ^ expand.c:189:13: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] addg(s, e->d_name, rescan, slashsav); ^~~~~~~~~ expand.c:57:50: note: passing argument to parameter here static void addg(unsigned char *, unsigned char *, ^ expand.c:232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s1++) ~~^~~~~~~ expand.c:232:12: note: place parentheses around the assignment to silence this warning while (c = *s1++) ^ ( ) expand.c:232:12: note: use '==' to turn this assignment into an equality comparison while (c = *s1++) ^ == expand.c:278:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s1 = as3) ~~~^~~~~ expand.c:278:9: note: place parentheses around the assignment to silence this warning if (s1 = as3) ^ ( ) expand.c:278:9: note: use '==' to turn this assignment into an equality comparison if (s1 = as3) ^ == expand.c:288:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s2++ = *++s1); ~~~~~~^~~~~~~ expand.c:288:16: note: place parentheses around the assignment to silence this warning while (*s2++ = *++s1); ^ ( ) expand.c:288:16: note: use '==' to turn this assignment into an equality comparison while (*s2++ = *++s1); ^ == --- hashserv.o --- hashserv.c:110:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = syslook(name, commands, no_commands)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hashserv.c:110:8: note: place parentheses around the assignment to silence this warning if (i = syslook(name, commands, no_commands)) ^ ( ) hashserv.c:110:8: note: use '==' to turn this assignment into an equality comparison if (i = syslook(name, commands, no_commands)) ^ == hashserv.c:211:11: warning: passing 'char [19]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("hits cost command\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ hashserv.c:223:17: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] path = getpath(""); ^~ --- func.o --- func.c:249:14: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("(){"); ^~~~~ --- hashserv.o --- ./defs.h:364:39: note: passing argument to parameter here unsigned char *getpath(unsigned char *); ^ --- func.o --- ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:253:14: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("}"); ^~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:270:15: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" &"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:274:14: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("("); ^~~ --- hashserv.o --- hashserv.c:276:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(i = syslook(name, commands, no_commands)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- func.o --- ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- hashserv.c:276:8: note: place parentheses around the assignment to silence this warning --- func.o --- void prs_buff(const unsigned char *); ^ --- hashserv.o --- if(i = syslook(name, commands, no_commands)) ^ ( ) --- func.o --- func.c:276:14: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- hashserv.o --- hashserv.c:276:8: note: use '==' to turn this assignment into an equality comparison --- func.o --- prs_buff(")"); ^~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- if(i = syslook(name, commands, no_commands)) ^ == --- func.o --- void prs_buff(const unsigned char *); ^ func.c:281:14: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" | "); ^~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:293:14: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" && "); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:299:14: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" || "); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:308:15: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("for "); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:314:16: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" in"); ^~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- hashserv.o --- hashserv.c:332:14: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- func.o --- func.c:325:15: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- hashserv.o --- prs_buff(" is a shell builtin\n"); ^~~~~~~~~~~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- func.o --- prs_buff("do"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- void prs_buff(const unsigned char *); ^ --- func.o --- void prs_buff(const unsigned char *); ^ func.c:329:15: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- hashserv.o --- hashserv.c:339:14: warning: passing 'char [16]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- func.o --- prs_buff("done"); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- prs_buff(" is a function\n"); ^~~~~~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- func.o --- void prs_buff(const unsigned char *); ^ --- hashserv.o --- void prs_buff(const unsigned char *); ^ --- func.o --- func.c:336:15: warning: passing 'char [7]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- hashserv.o --- hashserv.c:341:14: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- func.o --- prs_buff("while "); ^~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- prs_buff("(){\n"); ^~~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- func.o --- void prs_buff(const unsigned char *); ^ --- hashserv.o --- void prs_buff(const unsigned char *); ^ --- func.o --- func.c:338:15: warning: passing 'char [7]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- hashserv.o --- hashserv.c:343:14: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- func.o --- prs_buff("until "); ^~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- prs_buff("\n}\n"); ^~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- func.o --- void prs_buff(const unsigned char *); ^ func.c:341:14: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("do"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- hashserv.o --- hashserv.c:356:16: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" not found\n"); ^~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- func.o --- func.c:345:14: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("done"); ^~~~~~ --- hashserv.o --- void prs_buff(const unsigned char *); ^ --- func.o --- ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- hashserv.o --- hashserv.c:365:14: warning: passing 'char [13]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" is hashed ("); ^~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- func.o --- func.c:352:14: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("if "); ^~~~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- void prs_buff(const unsigned char *); ^ --- func.o --- void prs_buff(const unsigned char *); ^ func.c:355:14: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("then"); ^~~~~~ --- hashserv.o --- hashserv.c:367:14: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(")\n"); ^~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- func.o --- ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- hashserv.o --- hashserv.c:374:12: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" is a shell builtin\n"); ^~~~~~~~~~~~~~~~~~~~~~~ --- func.o --- func.c:362:15: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- hashserv.o --- ./defs.h:348:36: note: passing argument to parameter here --- func.o --- prs_buff("else"); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- void prs_buff(const unsigned char *); ^ hashserv.c:380:12: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- func.o --- void prs_buff(const unsigned char *); ^ func.c:368:14: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- hashserv.o --- prs_buff(" is "); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here --- func.o --- prs_buff("fi"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here --- hashserv.o --- void prs_buff(const unsigned char *); ^ --- func.o --- void prs_buff(const unsigned char *); ^ --- hashserv.o --- hashserv.c:387:12: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" not found\n"); ^~~~~~~~~~~~~~ --- func.o --- func.c:376:15: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("case "); ^~~~~~~ --- hashserv.o --- ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- func.o --- ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:392:17: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(" | "); ^~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:397:16: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(")"); ^~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:399:16: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(";;"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:441:14: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("<<"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:445:15: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(">&"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:447:15: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("<&"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ func.c:453:14: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(">>"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- hashserv.o --- hashserv.c:520:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (eq(start, pathname)) ^~~~~~~~ ./defs.h:414:27: note: expanded from macro 'eq' #define eq(a, b) (cf(a, b) == 0) ^ ./defs.h:387:52: note: passing argument to parameter here int cf(const unsigned char *, const unsigned char *); ^ --- cmd.o --- 9 warnings generated. --- expand.o --- 5 warnings generated. --- io.o --- io.c:130:9: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(piperr); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ io.c:139:15: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(idf, badopen); ^~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ io.c:182:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(s, badcreate); ^~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ io.c:199:18: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(tmpout, badcreate); ^~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ io.c:225:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (iop = ioparg) ~~~~^~~~~~~~ io.c:225:10: note: place parentheses around the assignment to silence this warning if (iop = ioparg) ^ ( ) io.c:225:10: note: use '==' to turn this assignment into an equality comparison if (iop = ioparg) ^ == io.c:229:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ends = mactrim(iop->ioname); ^~~~~~~~~~~ ./defs.h:371:39: note: passing argument to parameter here unsigned char *mactrim(unsigned char *); ^ io.c:355:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(tmpout, badcreate); ^~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- args.o --- 10 warnings generated. --- func.o --- 28 warnings generated. --- hashserv.o --- 15 warnings generated. --- io.o --- 7 warnings generated. 1 error bmake: stopped in /opt/work/shells/heirloom-sh/work/heirloom-sh-050706 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/shells/heirloom-sh *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/shells/heirloom-sh