=> 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 --- cmd.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L cmd.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 --- echo.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L echo.c --- error.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L error.c --- 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 *); ^ 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 *); ^ 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 --- --- 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 --- 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)) ~~~~~^~~~~~~~~~~~~~~~~~~ --- 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 *); ^ --- 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 *); ^ --- 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)) ^ == --- bltin.o --- 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 *); ^ --- args.o --- 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 *); ^ 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 *); ^ args.c:232:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (argblk = dolh) --- bltin.o --- 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 *); ^ --- args.o --- ~~~~~~~^~~~~~ 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) ~~~~~~~^~~~~ --- bltin.o --- 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 *); ^ --- args.o --- 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 --- 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 *); ^ 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 *); ^ 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 *); ^ --- expand.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L expand.c --- bltin.o --- 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 *); ^ --- 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) ^ 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 *); ^ --- fault.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L fault.c --- echo.o --- 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 *); ^ --- error.o --- 3 warnings generated. --- blok.o --- 3 warnings generated. --- func.o --- --- args.o --- 10 warnings generated. --- hash.o --- --- hashserv.o --- --- func.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L func.c --- hash.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L hash.c --- hashserv.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L hashserv.c --- echo.o --- 1 warning generated. --- io.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L io.c --- cmd.o --- 9 warnings generated. --- bltin.o --- 26 warnings generated. --- jobs.o --- --- macro.o --- --- jobs.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L jobs.c --- macro.o --- clang -c -O2 -D_FILE_OFFSET_BITS=64L macro.c --- fault.o --- In file included from fault.c:42: /Applications/Xcode-beta.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]) ^ ( ) 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. --- 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++) ^ == --- fault.o --- *** [fault.o] Error code 1 bmake: stopped in /opt/work/shells/heirloom-sh/work/heirloom-sh-050706 --- 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("(){"); ^~~~~ ./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(" &"); --- expand.o --- 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); ^ == --- func.o --- ^~~~ ./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("("); ^~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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] prs_buff(")"); ^~~ ./defs.h:348:36: note: passing argument to parameter here 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 *); ^ 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] prs_buff("do"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here 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] prs_buff("done"); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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] prs_buff("while "); ^~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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] prs_buff("until "); ^~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here 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 *); ^ 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"); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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 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"); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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] prs_buff("else"); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here 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] prs_buff("fi"); ^~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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 "); ^~~~~~~ ./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: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(""); ^~ ./defs.h:364:39: note: passing argument to parameter here unsigned char *getpath(unsigned char *); ^ hashserv.c:276:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(i = syslook(name, commands, no_commands)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hashserv.c:276:8: note: place parentheses around the assignment to silence this warning if(i = syslook(name, commands, no_commands)) ^ ( ) hashserv.c:276:8: note: use '==' to turn this assignment into an equality comparison --- 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 *); ^ --- hashserv.o --- if(i = syslook(name, commands, no_commands)) ^ == --- io.o --- 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); ^~~~~~~~~ --- 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] prs_buff(" is a shell builtin\n"); ^~~~~~~~~~~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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] prs_buff(" is a function\n"); ^~~~~~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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] prs_buff("(){\n"); ^~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- io.o --- ./defs.h:214:57: note: passing argument to parameter here --- 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] prs_buff("\n}\n"); ^~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- io.o --- void failed(const unsigned char *, 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"); ^~~~~~~~~~~~~~ --- io.o --- ^ --- hashserv.o --- ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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 void prs_buff(const unsigned char *); ^ 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 *); ^ 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"); ^~~~~~~~~~~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here 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] prs_buff(" is "); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ 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"); ^~~~~~~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ --- io.o --- 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 *); ^ --- 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 *); ^ --- macro.o --- macro.c:142:9: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badsub); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ macro.c:171:9: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badsub); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ macro.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (bra = (c == BRACE)) ~~~~^~~~~~~~~~~~~~ macro.c:204:12: note: place parentheses around the assignment to silence this warning if (bra = (c == BRACE)) ^ ( ) macro.c:204:12: note: use '==' to turn this assignment into an equality comparison if (bra = (c == BRACE)) ^ == macro.c:222:12: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badsub); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ --- jobs.o --- jobs.c:125:22: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- expand.o --- 5 warnings generated. --- jobs.o --- jp = pgid2job(stoi(job)); ^~~ ./defs.h:340:31: note: passing argument to parameter here int stoi(const unsigned char *); ^ --- macro.o --- macro.c:260:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badsub); ^~~~~~ --- jobs.o --- jobs.c:131:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- macro.o --- ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); --- jobs.o --- i = stoi(job); ^~~ ./defs.h:340:31: note: passing argument to parameter here --- macro.o --- ^ --- jobs.o --- int stoi(const unsigned char *); ^ --- macro.o --- macro.c:272:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badsub); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ --- jobs.o --- jobs.c:145:14: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, ambiguous); ^~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:145:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, ambiguous); ^~~~~~~~~ --- macro.o --- macro.c:306:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- jobs.o --- ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- macro.o --- while (c = *v) { ~~^~~~ macro.c:306:17: note: place parentheses around the assignment to silence this warning while (c = *v) { ^ ( ) macro.c:306:17: note: use '==' to turn this assignment into an equality comparison while (c = *v) { ^ == --- jobs.o --- jobs.c:159:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, ambiguous); ^~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:159:18: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, ambiguous); ^~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:166:10: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- macro.o --- macro.c:362:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *argp) { ~~^~~~~~~ --- jobs.o --- failed(cmd, nosuchjob); ^~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- macro.o --- macro.c:362:15: note: place parentheses around the assignment to silence this warning --- jobs.o --- jobs.c:166:15: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, nosuchjob); --- macro.o --- while(c = *argp) { ^ ( ) --- jobs.o --- ^~~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- macro.o --- macro.c:362:15: note: use '==' to turn this assignment into an equality comparison while(c = *argp) { ^ == macro.c:391:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(badsub); ^~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ macro.c:395:16: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(id, unset); ^~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ macro.c:523:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (d = readwc()) { ~~^~~~~~~~~~ macro.c:523:11: note: place parentheses around the assignment to silence this warning while (d = readwc()) { ^ ( ) macro.c:523:11: note: use '==' to turn this assignment into an equality comparison while (d = readwc()) { ^ == macro.c:532:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(d = *rest++) { ~~^~~~~~~~~ macro.c:532:12: note: place parentheses around the assignment to silence this warning while(d = *rest++) { ^ ( ) macro.c:532:12: note: use '==' to turn this assignment into an equality comparison while(d = *rest++) { ^ == --- jobs.o --- jobs.c:253:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tgid = settgid(mypgid, jp->j_pgid)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jobs.c:253:13: note: place parentheses around the assignment to silence this warning if (tgid = settgid(mypgid, jp->j_pgid)) ^ ( ) jobs.c:253:13: note: use '==' to turn this assignment into an equality comparison if (tgid = settgid(mypgid, jp->j_pgid)) ^ == --- macro.o --- macro.c:596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = (getch(DQUOTE, 0))) /* read characters from here document ~~^~~~~~~~~~~~~~~~~~~~ macro.c:596:11: note: place parentheses around the assignment to silence this warning while (c = (getch(DQUOTE, 0))) /* read characters from here document ^ ( ) macro.c:596:11: note: use '==' to turn this assignment into an equality comparison while (c = (getch(DQUOTE, 0))) /* read characters from here document ^ == --- jobs.o --- jobs.c:334:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (jp = pgid2job(pid)) ~~~^~~~~~~~~~~~~~~ jobs.c:334:10: note: place parentheses around the assignment to silence this warning if (jp = pgid2job(pid)) ^ ( ) jobs.c:334:10: note: use '==' to turn this assignment into an equality comparison if (jp = pgid2job(pid)) ^ == jobs.c:504: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(sigstr); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:507:18: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sp -= strlen(numbuf) + 7; ^~~~~~ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ jobs.c:508:14: warning: passing 'char [8]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("Signal "); ^~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:513: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(coredump); ^~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:517:34: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sp -= strlen(exited) + strlen(numbuf) + 2; ^~~~~~ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ jobs.c:518:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(exited); ^~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:525:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(running); ^~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:534:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(jp->j_cmd); ^~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:548:12: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff("(wd: "); ^~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:549:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(jp->j_pwd); ^~~~~~~~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:598:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(jobsstopped); ^~~~~~~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ jobs.c:607:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs(jobsrunning); ^~~~~~~~~~~ ./defs.h:334:31: note: passing argument to parameter here void prs(const unsigned char *); ^ jobs.c:646:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cwdlen = strlen(cwd) + 1; ^~~ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ jobs.c:649:9: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error(nostack); ^~~~~~~ ./defs.h:215:33: note: passing argument to parameter here void error(const unsigned char *); ^ jobs.c:654:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(jp->j_pwd, cwd); ^~~ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ jobs.c:707:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] renamef(chkopen(devnull, 0), 0); ^~~~~~~ ./defs.h:270:34: note: passing argument to parameter here int chkopen(const unsigned char *, int); ^ jobs.c:771:10: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, nojc); ^~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:771:15: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, nojc); ^~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:775:12: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, jobsuse); ^~~~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:775:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, jobsuse); ^~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:789:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, jobsuse); ^~~~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:789:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, jobsuse); ^~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ --- io.o --- 7 warnings generated. --- jobs.o --- jobs.c:855:10: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, nojc); ^~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:855:15: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, nojc); ^~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:857:10: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fg = eq("fg", cmd); ^~~~ ./defs.h:414:24: note: expanded from macro 'eq' #define eq(a, b) (cf(a, b) == 0) ^ ./defs.h:387:29: note: passing argument to parameter here int cf(const unsigned char *, const unsigned char *); ^ jobs.c:857:16: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fg = eq("fg", cmd); ^~~ ./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 *); ^ jobs.c:863:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, nocurjob); ^~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:863:17: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(cmd, nocurjob); ^~~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:926:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, badid); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:926: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, badid); ^~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:939:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, loginsh); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:939:17: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, loginsh); ^~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:956:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, eacces); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:956: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, eacces); ^~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:960:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, badsig); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:960: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, badsig); ^~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:965:14: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, nosuchpgid); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:965:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, nosuchpgid); ^~~~~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:967:14: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, nosuchpid); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:967:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, nosuchpid); ^~~~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:986:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(usage, stopuse); ^~~~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:986:17: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(usage, stopuse); ^~~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:998:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, killuse); ^~~~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:998:18: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, killuse); ^~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:1011:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!eq(argv[1], "-l")) { ^~~~~~~ ./defs.h:414:24: note: expanded from macro 'eq' #define eq(a, b) (cf(a, b) == 0) ^ ./defs.h:387:29: note: passing argument to parameter here int cf(const unsigned char *, const unsigned char *); ^ jobs.c:1011:21: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!eq(argv[1], "-l")) { ^~~~ ./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 *); ^ jobs.c:1012:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, killuse); ^~~~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:1012:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(usage, killuse); ^~~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:1021:14: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] prs_buff(buf); ^~~ ./defs.h:348:36: note: passing argument to parameter here void prs_buff(const unsigned char *); ^ jobs.c:1032:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, badsig); ^~~ ./defs.h:219:35: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:1032:17: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failure(cmd, badsig); ^~~~~~ ./defs.h:219:58: note: passing argument to parameter here void failure(const unsigned char *, const unsigned char *); ^ jobs.c:1047:10: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] failed(argv[0], badopt); ^~~~~~~ ./defs.h:214:34: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ jobs.c:1047: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], badopt); ^~~~~~ ./defs.h:214:57: note: passing argument to parameter here void failed(const unsigned char *, const unsigned char *); ^ --- func.o --- 28 warnings generated. --- hashserv.o --- 15 warnings generated. --- macro.o --- 13 warnings generated. --- jobs.o --- 63 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