=> Bootstrap dependency digest>=20010302: found digest-20111104 ===> Building for ast-ksh-20120801 package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/execrate package: initialize the /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386 view package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/cc package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ldd package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/make/probe package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/mamake /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (buf = state.old) ~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: place parentheses around the assignment to silence this warning if (buf = state.old) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: use '==' to turn this assignment into an equality comparison if (buf = state.old) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (item = right); ~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: place parentheses around the assignment to silence this warning } while (item = right); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: use '==' to turn this assignment into an equality comparison } while (item = right); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *t) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: place parentheses around the assignment to silence this warning if (c = *t) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: use '==' to turn this assignment into an equality comparison if (c = *t) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:800:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ~~ ~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:800:50: note: place parentheses around the '&&' expression to silence this warning if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, 0, file, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: place parentheses around the assignment to silence this warning if (s = status(buf, 0, file, st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, 0, file, st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vp = state.view) ~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: place parentheses around the assignment to silence this warning if (vp = state.view) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: use '==' to turn this assignment into an equality comparison if (vp = state.view) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, o, s, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: place parentheses around the assignment to silence this warning if (s = status(buf, o, s, st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, o, s, st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = find(buf, r->name, &st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: place parentheses around the assignment to silence this warning if (s = find(buf, r->name, &st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: use '==' to turn this assignment into an equality comparison if (s = find(buf, r->name, &st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state.sp->fp = fp) ~~~~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: place parentheses around the assignment to silence this warning if (state.sp->fp = fp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: use '==' to turn this assignment into an equality comparison if (state.sp->fp = fp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = find(buf, file, &st)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: place parentheses around the assignment to silence this warning if (path = find(buf, file, &st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: use '==' to turn this assignment into an equality comparison if (path = find(buf, file, &st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (v = v->next) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: place parentheses around the assignment to silence this warning while (v = v->next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: use '==' to turn this assignment into an equality comparison while (v = v->next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s = c); ~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: place parentheses around the assignment to silence this warning } while (*s = c); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: use '==' to turn this assignment into an equality comparison } while (*s = c); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = execute(s)) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: place parentheses around the assignment to silence this warning if (c = execute(s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: use '==' to turn this assignment into an equality comparison if (c = execute(s)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1620:71: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ~~ ~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1620:71: note: place parentheses around the '&&' expression to silence this warning if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = last(name, '/')) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: place parentheses around the assignment to silence this warning if (s = last(name, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: use '==' to turn this assignment into an equality comparison if (s = last(name, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:58: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:164: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:164: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = last(r->name, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: place parentheses around the assignment to silence this warning if (t = last(r->name, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: use '==' to turn this assignment into an equality comparison if (t = last(r->name, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:44: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:111: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:111: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (e = environ; s = *e; e++) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: place parentheses around the assignment to silence this warning for (e = environ; s = *e; e++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: use '==' to turn this assignment into an equality comparison for (e = environ; s = *e; e++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:18: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:56: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) 35 warnings generated. ld: warning: option -m is obsolete and being ignored package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/proto ../../lib/libpp/ppfsm.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:650:14: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:650:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppfsm.c:664:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:664:13: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:664:13: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppproto.c:260:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ ../../lib/libpp/ppproto.c:260:14: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) ../../lib/libpp/ppproto.c:260:14: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == ../../lib/libast/port/astlicense.c:210:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *s++)):(( *s++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:237:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 0 : 1])):(( notice->cc[n > 0 ? 0 : 1]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:239:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:240:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 1 : 2])):(( notice->cc[n > 0 ? 1 : 2]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:249:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:254:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:260:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( i)):(( i),(-1))); ^ ../../lib/libast/port/astlicense.c:263:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:264:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:266:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:285:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = item->data) ~~^~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:285:8: note: place parentheses around the assignment to silence this warning if (t = item->data) ^ ( ) ../../lib/libast/port/astlicense.c:285:8: note: use '==' to turn this assignment into an equality comparison if (t = item->data) ^ == ../../lib/libast/port/astlicense.c:315:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!m || c >= '0' && c <= '9') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:315:26: note: place parentheses around the '&&' expression to silence this warning if (!m || c >= '0' && c <= '9') ^ ( ) ../../lib/libast/port/astlicense.c:316:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( c)):(( c),(-1))); ^ ../../lib/libast/port/astlicense.c:342:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *t++)):(( *t++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:373:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '-')):(( '-'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:378:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:383:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:387:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:393:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:418:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:440:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++); ~~~~~^~~~~~ ../../lib/libast/port/astlicense.c:440:18: note: place parentheses around the assignment to silence this warning while (*t++ = *s++); ^ ( ) ../../lib/libast/port/astlicense.c:440:18: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++); ^ == ../../lib/libast/port/astlicense.c:447:56: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:457:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:534:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s) ~~^~~~ ../../lib/libast/port/astlicense.c:534:12: note: place parentheses around the assignment to silence this warning while (c = *s) ^ ( ) ../../lib/libast/port/astlicense.c:534:12: note: use '==' to turn this assignment into an equality comparison while (c = *s) ^ == ../../lib/libast/port/astlicense.c:536:46: warning: '&&' within '||' [-Wlogical-op-parentheses] while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:536:46: note: place parentheses around the '&&' expression to silence this warning while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ^ ( ) ../../lib/libast/port/astlicense.c:638:35: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ../../lib/libast/port/astlicense.c:638:35: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:118: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~^~~~~~~~~ ../../lib/libast/port/astlicense.c:638:118: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:197: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:638:197: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:677:66: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '=')):(( '='),(-1))); ^~~ ../../lib/libast/port/astlicense.c:687:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:690:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:691:67: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:705:65: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:762:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:909:62: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1075:65: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1109:64: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1147:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[12].data) ~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1147:9: note: place parentheses around the assignment to silence this warning if (v = notice.item[12].data) ^ ( ) ../../lib/libast/port/astlicense.c:1147:9: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[12].data) ^ == ../../lib/libast/port/astlicense.c:1179:63: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1192:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[0].data) ~~^~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1192:8: note: place parentheses around the assignment to silence this warning if (v = notice.item[0].data) ^ ( ) ../../lib/libast/port/astlicense.c:1192:8: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[0].data) ^ == ../../lib/libast/port/astlicense.c:1212:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1212:50: note: place parentheses around the '&&' expression to silence this warning if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ^ ( ) ../../lib/libast/port/astlicense.c:1219:64: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1243:63: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1265:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1270:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1272:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libpp/ppproto.c:590:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:590:14: note: place parentheses around the assignment to silence this warning if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ ( ) ../../lib/libpp/ppproto.c:590:14: note: use '==' to turn this assignment into an equality comparison if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ == ../../lib/libpp/ppproto.c:657:77: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~~^~~~~~ ../../lib/libpp/ppproto.c:657:77: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:657:97: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~^~~~~~~~~~~~ ../../lib/libpp/ppproto.c:657:97: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:814:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*op = *ip++) ~~~~^~~~~~~ ../../lib/libpp/ppproto.c:814:17: note: place parentheses around the assignment to silence this warning while (*op = *ip++) ^ ( ) ../../lib/libpp/ppproto.c:814:17: note: use '==' to turn this assignment into an equality comparison while (*op = *ip++) ^ == ../../lib/libpp/ppproto.c:829:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:829:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:1099:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (paren == 1 && (flags & (1L<<8)) && !aie) ^ ../../lib/libpp/ppproto.c:1369:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = !e) e = op - 1; ~~^~~~ ../../lib/libpp/ppproto.c:1369:11: note: place parentheses around the assignment to silence this warning if (x = !e) e = op - 1; ^ ( ) ../../lib/libpp/ppproto.c:1369:11: note: use '==' to turn this assignment into an equality comparison if (x = !e) e = op - 1; ^ == ../../lib/libpp/ppproto.c:1668:39: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1668:39: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:63: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:63: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:87: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:87: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1923:32: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1923:32: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:56: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:56: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:80: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:80: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1934:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1956:31: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1956:31: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:55: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:55: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:79: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:79: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1982:143: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:1982:143: note: place parentheses around the '&&' expression to silence this warning if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ^ ( ) ../../lib/libpp/ppproto.c:2165:14: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2165:14: note: place parentheses around the '&&' expression to silence this warning if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ^ ( ) ../../lib/libpp/ppproto.c:2239:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2239:63: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2239:127: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2239:127: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2406:91: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2406:91: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ^ ( ) ../../lib/libpp/ppproto.c:2428:87: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2428:87: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ^ ( ) proto.c:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (b = pppopen(file, 0, license, options, package, comment, flags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto.c:287:13: note: place parentheses around the assignment to silence this warning else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ ( ) proto.c:287:13: note: use '==' to turn this assignment into an equality comparison else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ == proto.c:700:100: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ~~~~~^~~~~~~~~ proto.c:700:100: note: place parentheses around the assignment to silence this warning do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ ( ) proto.c:700:100: note: use '==' to turn this assignment into an equality comparison do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ == 78 warnings generated. ld: warning: option -m is obsolete and being ignored package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ratz ratz.c:4727:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv) ~~^~~~~~~ ratz.c:4727:8: note: place parentheses around the assignment to silence this warning if (s = *argv) ^ ( ) ratz.c:4727:8: note: use '==' to turn this assignment into an equality comparison if (s = *argv) ^ == ratz.c:5045:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratz.c:5045:68: note: place parentheses around the '&&' expression to silence this warning if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ^ ( ) 2 warnings generated. ld: warning: option -m is obsolete and being ignored package: update /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/release release.c:375:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ release.c:375:42: note: place parentheses around the '&&' expression to silence this warning if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ^ ( ) release.c:386:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = fgets(buf, sizeof(buf), f)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ release.c:386:12: note: place parentheses around the assignment to silence this warning while (s = fgets(buf, sizeof(buf), f)) ^ ( ) release.c:386:12: note: use '==' to turn this assignment into an equality comparison while (s = fgets(buf, sizeof(buf), f)) ^ == release.c:388:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = date(s, &e)) ~~^~~~~~~~~~~~~ release.c:388:10: note: place parentheses around the assignment to silence this warning if (t = date(s, &e)) ^ ( ) release.c:388:10: note: use '==' to turn this assignment into an equality comparison if (t = date(s, &e)) ^ == 3 warnings generated. ld: warning: option -m is obsolete and being ignored package: make with mamake package: make output captured in /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/package/gen/make.out package: make start at Thu Nov 1 12:46:13 CET 2012 in /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386 CC=cc SHELL=/bin/sh HOSTTYPE=darwin.i386 NPROC=2 PACKAGEROOT=/Users/kristerw/pbulk/scratch/shells/ast-ksh/work INSTALLROOT=/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386 PATH=/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ok:/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin:/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin:/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/.wrapper/bin:/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/.buildlink/bin:/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/.gcc/bin:/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin + mamake -r '*/*' -k install + mamake -C cmd/INIT -k install probing C language processor /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/cc for mam information + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/hurl.sh + test -w hurl -a -x hurl + chmod u+w,+x hurl + case static,port:$OPTIND:$RANDOM in + case '' in + case 225 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/iffe.sh + test -w iffe -a -x iffe + chmod u+w,+x iffe + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mktest.sh + test -w mktest -a -x mktest + chmod u+w,+x mktest + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/package.sh + test -w package -a -x package + chmod u+w,+x package + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/regress.sh + test -w regress -a -x regress + chmod u+w,+x regress + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/rt.sh + test -w rt -a -x rt + chmod u+w,+x rt + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/crossexec.sh + test -w crossexec -a -x crossexec + chmod u+w,+x crossexec + case static,port:$OPTIND:$RANDOM in + case '' in + case 232 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ditto.sh + test -w ditto -a -x ditto + chmod u+w,+x ditto + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/execrate.sh + test -w execrate -a -x execrate + chmod u+w,+x execrate + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/filter.sh + test -w filter -a -x filter + chmod u+w,+x filter + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ignore.sh ignore + test -w ignore -a -x ignore + chmod u+w,+x ignore + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/silent.sh silent + test -w silent -a -x silent + chmod u+w,+x silent + cc -O '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-copyright?Copyright (c) 1994-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (buf = state.old) ~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: place parentheses around the assignment to silence this warning if (buf = state.old) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: use '==' to turn this assignment into an equality comparison if (buf = state.old) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (item = right); ~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: place parentheses around the assignment to silence this warning } while (item = right); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: use '==' to turn this assignment into an equality comparison } while (item = right); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *t) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: place parentheses around the assignment to silence this warning if (c = *t) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: use '==' to turn this assignment into an equality comparison if (c = *t) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:800:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ~~ ~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:800:50: note: place parentheses around the '&&' expression to silence this warning if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, 0, file, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: place parentheses around the assignment to silence this warning if (s = status(buf, 0, file, st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, 0, file, st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vp = state.view) ~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: place parentheses around the assignment to silence this warning if (vp = state.view) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: use '==' to turn this assignment into an equality comparison if (vp = state.view) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, o, s, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: place parentheses around the assignment to silence this warning if (s = status(buf, o, s, st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, o, s, st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = find(buf, r->name, &st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: place parentheses around the assignment to silence this warning if (s = find(buf, r->name, &st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: use '==' to turn this assignment into an equality comparison if (s = find(buf, r->name, &st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state.sp->fp = fp) ~~~~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: place parentheses around the assignment to silence this warning if (state.sp->fp = fp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: use '==' to turn this assignment into an equality comparison if (state.sp->fp = fp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = find(buf, file, &st)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: place parentheses around the assignment to silence this warning if (path = find(buf, file, &st)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: use '==' to turn this assignment into an equality comparison if (path = find(buf, file, &st)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (v = v->next) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: place parentheses around the assignment to silence this warning while (v = v->next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: use '==' to turn this assignment into an equality comparison while (v = v->next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s = c); ~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: place parentheses around the assignment to silence this warning } while (*s = c); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: use '==' to turn this assignment into an equality comparison } while (*s = c); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = execute(s)) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: place parentheses around the assignment to silence this warning if (c = execute(s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: use '==' to turn this assignment into an equality comparison if (c = execute(s)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1620:71: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ~~ ~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1620:71: note: place parentheses around the '&&' expression to silence this warning if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = last(name, '/')) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: place parentheses around the assignment to silence this warning if (s = last(name, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: use '==' to turn this assignment into an equality comparison if (s = last(name, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:58: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:164: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1895:164: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = last(r->name, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: place parentheses around the assignment to silence this warning if (t = last(r->name, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: use '==' to turn this assignment into an equality comparison if (t = last(r->name, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:44: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:111: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2174:111: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (e = environ; s = *e; e++) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: place parentheses around the assignment to silence this warning for (e = environ; s = *e; e++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: use '==' to turn this assignment into an equality comparison for (e = environ; s = *e; e++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:18: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2326:56: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) 35 warnings generated. + cc -O -o mamake mamake.o ld: warning: option -m is obsolete and being ignored + cc -O -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/proto.c ../../lib/libpp/ppfsm.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:650:14: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:650:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppfsm.c:664:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:664:13: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:664:13: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppproto.c:260:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ ../../lib/libpp/ppproto.c:260:14: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) ../../lib/libpp/ppproto.c:260:14: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == ../../lib/libast/port/astlicense.c:210:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *s++)):(( *s++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:237:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 0 : 1])):(( notice->cc[n > 0 ? 0 : 1]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:239:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:240:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 1 : 2])):(( notice->cc[n > 0 ? 1 : 2]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:249:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:254:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:260:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( i)):(( i),(-1))); ^ ../../lib/libast/port/astlicense.c:263:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:264:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:266:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:285:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = item->data) ~~^~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:285:8: note: place parentheses around the assignment to silence this warning if (t = item->data) ^ ( ) ../../lib/libast/port/astlicense.c:285:8: note: use '==' to turn this assignment into an equality comparison if (t = item->data) ^ == ../../lib/libast/port/astlicense.c:315:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!m || c >= '0' && c <= '9') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:315:26: note: place parentheses around the '&&' expression to silence this warning if (!m || c >= '0' && c <= '9') ^ ( ) ../../lib/libast/port/astlicense.c:316:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( c)):(( c),(-1))); ^ ../../lib/libast/port/astlicense.c:342:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *t++)):(( *t++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:373:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '-')):(( '-'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:378:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:383:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:387:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:393:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:418:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:440:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++); ~~~~~^~~~~~ ../../lib/libast/port/astlicense.c:440:18: note: place parentheses around the assignment to silence this warning while (*t++ = *s++); ^ ( ) ../../lib/libast/port/astlicense.c:440:18: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++); ^ == ../../lib/libast/port/astlicense.c:447:56: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:457:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:534:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s) ~~^~~~ ../../lib/libast/port/astlicense.c:534:12: note: place parentheses around the assignment to silence this warning while (c = *s) ^ ( ) ../../lib/libast/port/astlicense.c:534:12: note: use '==' to turn this assignment into an equality comparison while (c = *s) ^ == ../../lib/libast/port/astlicense.c:536:46: warning: '&&' within '||' [-Wlogical-op-parentheses] while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:536:46: note: place parentheses around the '&&' expression to silence this warning while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ^ ( ) ../../lib/libast/port/astlicense.c:638:35: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ../../lib/libast/port/astlicense.c:638:35: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:118: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~^~~~~~~~~ ../../lib/libast/port/astlicense.c:638:118: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:197: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:638:197: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:677:66: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '=')):(( '='),(-1))); ^~~ ../../lib/libast/port/astlicense.c:687:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:690:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:691:67: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:705:65: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:762:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:909:62: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1075:65: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1109:64: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1147:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[12].data) ~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1147:9: note: place parentheses around the assignment to silence this warning if (v = notice.item[12].data) ^ ( ) ../../lib/libast/port/astlicense.c:1147:9: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[12].data) ^ == ../../lib/libast/port/astlicense.c:1179:63: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1192:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[0].data) ~~^~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1192:8: note: place parentheses around the assignment to silence this warning if (v = notice.item[0].data) ^ ( ) ../../lib/libast/port/astlicense.c:1192:8: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[0].data) ^ == ../../lib/libast/port/astlicense.c:1212:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1212:50: note: place parentheses around the '&&' expression to silence this warning if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ^ ( ) ../../lib/libast/port/astlicense.c:1219:64: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1243:63: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1265:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1270:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1272:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libpp/ppproto.c:590:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:590:14: note: place parentheses around the assignment to silence this warning if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ ( ) ../../lib/libpp/ppproto.c:590:14: note: use '==' to turn this assignment into an equality comparison if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ == ../../lib/libpp/ppproto.c:657:77: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~~^~~~~~ ../../lib/libpp/ppproto.c:657:77: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:657:97: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~^~~~~~~~~~~~ ../../lib/libpp/ppproto.c:657:97: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:814:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*op = *ip++) ~~~~^~~~~~~ ../../lib/libpp/ppproto.c:814:17: note: place parentheses around the assignment to silence this warning while (*op = *ip++) ^ ( ) ../../lib/libpp/ppproto.c:814:17: note: use '==' to turn this assignment into an equality comparison while (*op = *ip++) ^ == ../../lib/libpp/ppproto.c:829:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:829:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:1099:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (paren == 1 && (flags & (1L<<8)) && !aie) ^ ../../lib/libpp/ppproto.c:1369:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = !e) e = op - 1; ~~^~~~ ../../lib/libpp/ppproto.c:1369:11: note: place parentheses around the assignment to silence this warning if (x = !e) e = op - 1; ^ ( ) ../../lib/libpp/ppproto.c:1369:11: note: use '==' to turn this assignment into an equality comparison if (x = !e) e = op - 1; ^ == ../../lib/libpp/ppproto.c:1668:39: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1668:39: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:63: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:63: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:87: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:87: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1923:32: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1923:32: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:56: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:56: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:80: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:80: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1934:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1956:31: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1956:31: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:55: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:55: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:79: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:79: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1982:143: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:1982:143: note: place parentheses around the '&&' expression to silence this warning if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ^ ( ) ../../lib/libpp/ppproto.c:2165:14: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2165:14: note: place parentheses around the '&&' expression to silence this warning if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ^ ( ) ../../lib/libpp/ppproto.c:2239:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2239:63: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2239:127: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2239:127: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2406:91: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2406:91: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ^ ( ) ../../lib/libpp/ppproto.c:2428:87: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2428:87: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ^ ( ) proto.c:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (b = pppopen(file, 0, license, options, package, comment, flags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto.c:287:13: note: place parentheses around the assignment to silence this warning else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ ( ) proto.c:287:13: note: use '==' to turn this assignment into an equality comparison else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ == proto.c:700:100: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ~~~~~^~~~~~~~~ proto.c:700:100: note: place parentheses around the assignment to silence this warning do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ ( ) proto.c:700:100: note: use '==' to turn this assignment into an equality comparison do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ == 78 warnings generated. + cc -O -o proto proto.o ld: warning: option -m is obsolete and being ignored + cc -O -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ratz.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4727:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4727:8: note: place parentheses around the assignment to silence this warning if (s = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4727:8: note: use '==' to turn this assignment into an equality comparison if (s = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ratz.c:5045:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/ratz.c:5045:68: note: place parentheses around the '&&' expression to silence this warning if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ^ ( ) 2 warnings generated. + cc -O -o ratz ratz.o ld: warning: option -m is obsolete and being ignored + cc -O '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-copyright?Copyright (c) 1994-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:319:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:319:42: note: place parentheses around the '&&' expression to silence this warning if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:330:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = fgets(buf, sizeof(buf), f)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:330:12: note: place parentheses around the assignment to silence this warning while (s = fgets(buf, sizeof(buf), f)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:330:12: note: use '==' to turn this assignment into an equality comparison while (s = fgets(buf, sizeof(buf), f)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:332:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = date(s, &e)) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:332:10: note: place parentheses around the assignment to silence this warning if (t = date(s, &e)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/release.c:332:10: note: use '==' to turn this assignment into an equality comparison if (t = date(s, &e)) ^ == 3 warnings generated. + cc -O -o release release.o ld: warning: option -m is obsolete and being ignored + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mprobe.sh mprobe + test -w mprobe -a -x mprobe + chmod u+w,+x mprobe + cat /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/C+probe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/make.probe + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp probe.sh probe + test -w probe -a -x probe + chmod u+w,+x probe + test '' = hurl + /usr/bin/cmp -s hurl /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/hurl + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/hurl /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/hurl.old + true + /bin/cp hurl /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/hurl + test '' = iffe + /usr/bin/cmp -s iffe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/iffe + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/iffe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/iffe.old + true + /bin/cp iffe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/iffe + test '' = mktest + /usr/bin/cmp -s mktest /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/mktest + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/mktest /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/mktest.old + true + /bin/cp mktest /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/mktest + test '' = package + /usr/bin/cmp -s package /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/package + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/package /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/package.old + true + /bin/cp package /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/package + test '' = regress + /usr/bin/cmp -s regress /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/regress + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/regress /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/regress.old + true + /bin/cp regress /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/regress + test '' = rt + /usr/bin/cmp -s rt /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/rt + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/rt /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/rt.old + true + /bin/cp rt /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/rt + test '' = execrate + /usr/bin/cmp -s execrate /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/execrate + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/execrate /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/execrate.old + /bin/cp execrate /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/execrate + test '' = ignore + /usr/bin/cmp -s ignore /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/ignore + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/ignore /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/ignore.old + /bin/cp ignore /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/ignore + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/mamprobe.sh mamprobe + test -w mamprobe -a -x mamprobe + chmod u+w,+x mamprobe + test '' = mamprobe + /usr/bin/cmp -s mamprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/mamprobe + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/mamprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/mamprobe.old + /bin/cp mamprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/mamprobe + test '' = package + /usr/bin/cmp -s package /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/package + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/package /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/package.old + /bin/cp package /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/package + test '' = silent + /usr/bin/cmp -s silent /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/silent + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/silent /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/silent.old + /bin/cp silent /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/bin/silent + test '' = crossexec + /usr/bin/cmp -s crossexec /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/crossexec + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/crossexec /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/crossexec.old + true + /bin/cp crossexec /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/crossexec + test '' = ditto + /usr/bin/cmp -s ditto /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ditto + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ditto /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ditto.old + true + /bin/cp ditto /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ditto + test '' = filter + /usr/bin/cmp -s filter /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/filter + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/filter /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/filter.old + true + /bin/cp filter /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/filter + test '' = package.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/package.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/package.mk + test '' = CONVERT.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/CONVERT.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/CONVERT.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/CONVERT.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/CONVERT.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/CONVERT.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/CONVERT.mk + test '!' -d /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make + mkdir -p /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make + test '' = package.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/package.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/package.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/package.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/package.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/package.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/package.mk + test '' = PROBE.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/PROBE.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/PROBE.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/PROBE.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/PROBE.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/PROBE.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/PROBE.mk + test '' = TEST.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/TEST.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/TEST.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/TEST.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/TEST.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/TEST.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/TEST.mk + test '' = WWW.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/WWW.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/WWW.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/WWW.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/WWW.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/WWW.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/WWW.mk + test '' = MSGFUN.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/MSGFUN.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGFUN.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGFUN.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGFUN.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/MSGFUN.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGFUN.mk + test '' = MSGKEY.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/MSGKEY.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGKEY.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGKEY.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGKEY.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/MSGKEY.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MSGKEY.mk + test '' = MAPLIB.mk + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/MAPLIB.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MAPLIB.mk + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MAPLIB.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MAPLIB.mk.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/MAPLIB.mk /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/make/MAPLIB.mk + test '' = mamake + /usr/bin/cmp -s mamake /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/mamake + test '' = proto + /usr/bin/cmp -s proto /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/proto + test '' = ratz + /usr/bin/cmp -s ratz /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ratz + test '' = release + /usr/bin/cmp -s release /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/release + test '!' -x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/mkdir -a -x /bin/mkdir + mkdir -p + : + test -d ./-p + test '' = C+probe + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/C+probe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/probe + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/probe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/probe.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/C+probe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/probe + test '!' -d /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/pp + mkdir -p /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/pp + test '' = mprobe + /usr/bin/cmp -s mprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/probe + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/probe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/probe.old + true + /bin/cp mprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/probe + test '' = mprobe + /usr/bin/cmp -s mprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/mprobe + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/mprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/mprobe.old + true + /bin/cp mprobe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/mam/mprobe + test '' = probe + /usr/bin/cmp -s probe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/make/probe + t=darwin.i386 + ifs=' ' + IFS=. + set x darwin i386 + IFS=' ' + t=darwin + set x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/INIT/probe.win32 + : + shift + case $# in + case $1 in + : + shift + case $# in + break + case $1 in + : + test '' = probe.ini + /usr/bin/cmp -s probe.ini /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/make/probe.ini + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/make/probe.ini /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/make/probe.ini.old + true + /bin/cp probe.ini /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/probe/C/make/probe.ini + test '!' -d /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast + mkdir -p /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast + proto -f /dev/null + cmp -s h.9904.h prototyped.h + mv h.9904.h prototyped.h + test '' = prototyped.h + /usr/bin/cmp -s prototyped.h /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/prototyped.h + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/prototyped.h /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/prototyped.h.old + true + /bin/cp prototyped.h /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/prototyped.h + test '!' -d /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib + mkdir -p /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib + set - + test '' = dl.req + /usr/bin/cmp -s dl.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dl + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dl /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dl.old + true + /bin/cp dl.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dl + set - + test '' = iconv.req + /usr/bin/cmp -s iconv.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/iconv + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/iconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/iconv.old + true + /bin/cp iconv.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/iconv + set - + test '' = w.req + /usr/bin/cmp -s w.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/w + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/w /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/w.old + true + /bin/cp w.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/w + set - + test '' = intl.req + /usr/bin/cmp -s intl.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/intl + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/intl /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/intl.old + true + /bin/cp intl.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/intl + set - + test '' = m.req + /usr/bin/cmp -s m.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/m + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/m /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/m.old + true + /bin/cp m.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/m + set - + test '' = nsl.req + /usr/bin/cmp -s nsl.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/nsl + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/nsl /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/nsl.old + true + /bin/cp nsl.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/nsl + set - + test '' = socket.req + /usr/bin/cmp -s socket.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/socket + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/socket /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/socket.old + true + /bin/cp socket.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/socket + set - + test '' = dbm.req + /usr/bin/cmp -s dbm.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dbm + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dbm /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dbm.old + true + /bin/cp dbm.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dbm + mamake -C lib/libast -k install probing C language processor /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/cc for mam information + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/standards iffe: test: is sys/types.h a header ... yes iffe: test: _ALL_SOURCE & _POSIX_SOURCE & _POSIX_C_SOURCE & _XOPEN_SOURCE & __EXTENSIONS__ works ... yes iffe: test: is -lm a library ... yes iffe: test: _ISOC99_SOURCE plays nice ... yes iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/lib iffe: test: is sys/types.h a header ... yes iffe: test: is universe a command ... no iffe: test: is dirent.h a header ... yes iffe: test: is direntry.h a header ... no iffe: test: is filio.h a header ... no iffe: test: is fmtmsg.h a header ... yes iffe: test: is fnmatch.h a header ... yes iffe: test: is jioctl.h a header ... no iffe: test: is libgen.h a header ... yes iffe: test: is limits.h a header ... yes iffe: test: is locale.h a header ... yes iffe: test: is ndir.h a header ... no iffe: test: is nl_types.h a header ... yes iffe: test: is process.h a header ... no iffe: test: is spawn.h a header ... yes iffe: test: is syslog.h a header ... yes iffe: test: is utime.h a header ... yes iffe: test: is vfork.h a header ... no iffe: test: and isw*() really work ... yes iffe: test: is wchar.h a header ... yes iffe: test: is wctype.h a header ... yes iffe: test: is _tzname a library data symbol ... no iffe: test: is tzname a library data symbol ... yes iffe: test: is BSDsetpgrp a library function ... no iffe: test: is _cleanup a library function ... yes iffe: test: is atexit a library function ... yes iffe: test: is bcopy a library function ... yes iffe: test: is bzero a library function ... yes iffe: test: is catclose a library function ... yes iffe: test: is catgets a library function ... yes iffe: test: is catopen a library function ... yes iffe: test: is confstr a library function ... yes iffe: test: is dirread a library function ... no iffe: test: is dup2 a library function ... yes iffe: test: is execlp a library function ... yes iffe: test: is execve a library function ... yes iffe: test: is execvp a library function ... yes iffe: test: is execvpe a library function ... no iffe: test: is fchmod a library function ... yes iffe: test: is fcntl a library function ... yes iffe: test: is fmtmsg a library function ... yes iffe: test: is fnmatch a library function ... yes iffe: test: is fork a library function ... yes iffe: test: is fsync a library function ... yes iffe: test: is getconf a library function ... no iffe: test: is getdents a library function ... no iffe: test: is getdirentries a library function ... yes iffe: test: is getdtablesize a library function ... yes iffe: test: is getdate a library function ... yes iffe: test: is getgroups a library function ... yes iffe: test: is gethostname a library function ... yes iffe: test: is getlogin a library function ... yes iffe: test: is getpagesize a library function ... yes iffe: test: is getrlimit a library function ... yes iffe: test: is getuniverse a library function ... no iffe: test: is getopt a library function ... yes iffe: test: is getsubopt a library function ... yes iffe: test: is getopt_long a library function ... yes iffe: test: is getopt_long_only a library function ... yes iffe: test: is glob a library function ... yes iffe: test: is index a library function ... yes iffe: test: is iswblank a library function ... yes iffe: test: is iswctype a library function ... yes iffe: test: is killpg a library function ... yes iffe: test: is link a library function ... yes iffe: test: is localeconv a library function ... yes iffe: test: is madvise a library function ... yes iffe: test: is mbtowc a library function ... yes iffe: test: is mbrtowc a library function ... yes iffe: test: is memalign a library function ... no iffe: test: is memchr a library function ... yes iffe: test: is memcpy a library function ... yes iffe: test: is memdup a library function ... no iffe: test: is memmove a library function ... yes iffe: test: is memset a library function ... yes iffe: test: is mkdir a library function ... yes iffe: test: is mkfifo a library function ... yes iffe: test: is mktemp a library function ... yes iffe: test: is mktime a library function ... yes iffe: test: is mount a library function ... yes iffe: test: is on_exit a library function ... no iffe: test: is onexit a library function ... no iffe: test: is opendir a library function ... yes iffe: test: is pathconf a library function ... yes iffe: test: is readlink a library function ... yes iffe: test: is remove a library function ... yes iffe: test: is rename a library function ... yes iffe: test: is rewinddir a library function ... yes iffe: test: is rindex a library function ... yes iffe: test: is rmdir a library function ... yes iffe: test: is setlocale a library function ... yes iffe: test: is setpgid a library function ... yes iffe: test: is setpgrp a library function ... yes iffe: test: is setpgrp2 a library function ... no iffe: test: is setreuid a library function ... yes iffe: test: is setsid a library function ... yes iffe: test: is setuid a library function ... yes iffe: test: is sigaction a library function ... yes iffe: test: is sigprocmask a library function ... yes iffe: test: is sigsetmask a library function ... yes iffe: test: is sigunblock a library function ... no iffe: test: is sigvec a library function ... yes iffe: test: is socketpair a library function ... yes iffe: test: is spawn a library function ... no iffe: test: is spawnve a library function ... no iffe: test: is spawnveg a library function ... no iffe: test: is strchr a library function ... yes iffe: test: is strcoll a library function ... yes iffe: test: is strdup a library function ... yes iffe: test: is strerror a library function ... yes iffe: test: is strcasecmp a library function ... yes iffe: test: is strncasecmp a library function ... yes iffe: test: is strrchr a library function ... yes iffe: test: is strstr a library function ... yes iffe: test: is strmode a library function ... yes iffe: test: is strxfrm a library function ... yes iffe: test: is strftime a library function ... yes iffe: test: is swab a library function ... yes iffe: test: is symlink a library function ... yes iffe: test: is sysconf a library function ... yes iffe: test: is sysinfo a library function ... no iffe: test: is syslog a library function ... yes iffe: test: is telldir a library function ... yes iffe: test: is tmpnam a library function ... yes iffe: test: is tzset a library function ... yes iffe: test: is universe a library function ... no iffe: test: is unlink a library function ... yes iffe: test: is utime a library function ... yes iffe: test: is wctype a library function ... yes iffe: test: is ftruncate a library function ... yes iffe: test: is truncate a library function ... yes iffe: test: is creat64 a library function ... no iffe: test: is fstat64 a library function ... yes iffe: test: is fstatvfs64 a library function ... no iffe: test: is ftruncate64 a library function ... no iffe: test: is lseek64 a library function ... no iffe: test: is lstat64 a library function ... yes iffe: test: is open64 a library function ... no iffe: test: is readdir64 a library function ... no iffe: test: is stat64 a library function ... yes iffe: test: is statvfs64 a library function ... no iffe: test: is truncate64 a library function ... no iffe: test: is stdlib.h a header ... yes iffe: test: is strtod a library function ... yes iffe: test: is strtold a library function ... yes iffe: test: is strtol a library function ... yes iffe: test: is strtoll a library function ... yes iffe: test: is strtoul a library function ... yes iffe: test: is strtoull a library function ... yes iffe: test: is strtod a symbol that needs a prototype ... no iffe: test: is strtold a symbol that needs a prototype ... no iffe: test: is strtol a symbol that needs a prototype ... no iffe: test: is strtoll a symbol that needs a prototype ... no iffe: test: is strtoul a symbol that needs a prototype ... no iffe: test: is strtoull a symbol that needs a prototype ... no iffe: test: is signal.h a header ... yes iffe: test: is sigflag a library function ... no iffe: test: is sigflag a symbol that needs a prototype ... yes iffe: test: is sys/dir.h a header ... yes iffe: test: is direct a type or typedef ... no iffe: test: is d_reclen a member of struct direct ... yes iffe: test: is dirent a type or typedef ... no iffe: test: is d_fileno a member of struct dirent ... yes iffe: test: is d_ino a member of struct dirent ... yes iffe: test: is d_namlen a member of struct dirent ... yes iffe: test: is d_off a member of struct dirent ... no iffe: test: is d_reclen a member of struct dirent ... yes iffe: test: is d_type a member of struct dirent ... yes iffe: test: is DIR a type or typedef ... yes iffe: test: is DIR a non-opaque struct ... yes iffe: test: is dd_fd a member of DIR ... iffe: test: is dd_fd a member of DIR ... no iffe: test: is inheritance a type or typedef ... no iffe: test: is pgroup a member of struct inheritance ... no iffe: test: is sys/filio.h a header ... yes iffe: test: is sys/jioctl.h a header ... no iffe: test: is sys/localedef.h a header ... no iffe: test: is sys/ptem.h a header ... no iffe: test: is sys/resource.h a header ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is sys/stream.h a header ... no iffe: test: is sys/systeminfo.h a header ... no iffe: test: is sys/universe.h a header ... no iffe: test: is sys/vfork.h a header ... no iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is ino64_t a type or typedef ... yes iffe: test: is off64_t a type or typedef ... no iffe: test: is struct dirent64 a type or typedef ... no iffe: test: errno can be assigned ... yes iffe: test: fd is first arg to poll() ... yes iffe: test: fd is second arg to poll() ... no iffe: test: is _lib_poll_fd_1||_lib_poll_fd_2 true ... yes iffe: test: poll with no fds ignores timeout ... no iffe: test: is sys/select.h a header ... yes iffe: test: select() has standard 5 arg interface ... yes iffe: test: select() requires ... yes iffe: test: full duplex pipes ... no iffe: test: is unistd.h a header ... yes iffe: test: vfork exists and it works ... yes iffe: test: vfork child shares data with parent ... yes iffe: test: posix_spawn exists and it works and its worth using ... ENOEXEC produces posix_spawn() error (BEST) ... yes iffe: test: first spawn arg is mode and it works ... no iffe: test: ioctl(I_PEEK) works on pipe() ... no iffe: test: recv(MSG_PEEK) works on socketpair() ... yes iffe: test: is string.h a header ... yes iffe: test: standard memcmp interface that works ... yes iffe: test: is fcntl.h a header ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: is sys/mman.h a header ... yes iffe: test: standard memccpy interface that works ... no iffe: test: utime works with 0 time vector ... yes iffe: test: cross{ ... }end ... yes iffe: test: stuck with standard _cleanup ... yes iffe: test: stuck with standard remove() ... no iffe: test: stuck with standard signal ... no iffe: test: standard strcoll works ... yes iffe: test: stuck with standard strtod ... no iffe: test: stuck with standard strtold ... no iffe: test: stuck with standard strtol ... no iffe: test: output{ ... }end ... yes iffe: test: largefile 64 broken ... no + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/common iffe: test: is sys/types.h a header ... yes iffe: test: is pthread.h a header ... yes iffe: test: is stdarg.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdint.h a header ... yes iffe: test: is inttypes.h a header ... yes iffe: test: is types.h a header ... no iffe: test: is unistd.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is long double a type or typedef ... yes iffe: test: is size_t a type or typedef ... yes iffe: test: is ssize_t a type or typedef ... yes iffe: test: is stdio.h a header ... yes iffe: test: is __va_list a type or typedef ... no iffe: test: is sys/stat.h a header ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is SF_APPEND a macro ... yes iffe: test: is SF_CLOSE a macro ... no iffe: test: Microsoft import/export nonsense ... no iffe: test: standard C prototypes ok ... yes iffe: test: standard C void* ok ... yes iffe: test: cat{ ... }end ... yes iffe: test: + works ... yes iffe: test: LL numeric suffix supported ... yes iffe: test: output{ ... }end ... iffe: test: output{ ... }end ... yes iffe: test: output{ ... }end ... yes iffe: test: output{ ... }end ... yes iffe: test: is int8_t a type or typedef ... yes iffe: test: is uint8_t a type or typedef ... yes iffe: test: is int16_t a type or typedef ... yes iffe: test: is uint16_t a type or typedef ... yes iffe: test: is int32_t a type or typedef ... yes iffe: test: is uint32_t a type or typedef ... yes iffe: test: is int64_t a type or typedef ... yes iffe: test: is uint64_t a type or typedef ... yes iffe: test: is intmax_t a type or typedef ... yes iffe: test: is uintmax_t a type or typedef ... yes iffe: test: is uintptr_t a type or typedef ... yes iffe: test: output{ ... }end ... yes iffe: test: cat{ ... }end ... yes iffe: test: run{ ... }end ... no + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/api iffe: test: is sys/types.h a header ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/eaccess iffe: test: is sys/types.h a header ... yes iffe: test: is eaccess a library function ... no iffe: test: is euidaccess a library function ... no iffe: test: macro{ ... }end ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/mmap iffe: test: is sys/types.h a header ... yes iffe: test: is sys/mman.h a header ... yes iffe: test: standard mmap interface that works ... yes iffe: test: mmap64 interface and implementation work ... no iffe: test: use mmap MAP_ANON to get raw memory ... yes iffe: test: use mmap on /dev/zero to get raw memory ... no iffe: test: mmap is worth using ... no iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/vmalloc iffe: test: is sys/types.h a header ... yes iffe: test: is atexit a library function ... yes iffe: test: is getpagesize a library function ... yes iffe: test: is mallinfo a library function ... no iffe: test: is mallopt a library function ... no iffe: test: is memalign a library function ... no iffe: test: is mstats a library function ... yes iffe: test: is onexit a library function ... no iffe: test: is pvalloc a library function ... no iffe: test: is strdup a library function ... yes iffe: test: is valloc a library function ... yes iffe: test: is vmalloc a library function ... no iffe: test: is _malloc a library function ... no iffe: test: is __malloc a library function ... no iffe: test: is __libc_malloc a library function ... no iffe: test: is alloca.h a header ... yes iffe: test: is malloc.h a header ... no iffe: test: is stat.h a header ... no iffe: test: is stdlib.h a header ... yes iffe: test: is unistd.h a header ... yes iffe: test: is mallinfo a type or typedef ... no iffe: test: is arena a member of struct mallinfo ... no iffe: test: is mstats a type or typedef ... no iffe: test: is bytes_total a member of struct mstats ... no iffe: test: is sys/stat.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is ssize_t a type or typedef ... yes iffe: test: brk()/sbrk() work as expected ... no iffe: test: map malloc to _ast_malloc ... yes iffe: test: map malloc to _ast_malloc -- wimp-o mach? ... no iffe: test: alloca exists ... yes iffe: test: alloca is based on malloc() ... no iffe: test: stack grows downward ... yes iffe: test: gnu malloc hooks work ... no iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/options iffe: test: is sys/types.h a header ... yes iffe: test: is map-libc set in $PACKAGE_OPTIONS ... no + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/map.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/map.c ... ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/map.c ... yes + cmp -s FEATURE/map ast_map.h + rm -f ast_map.h + silent test -d . + /bin/cp FEATURE/map ast_map.h + sed '/define _def_map_ast/d' + cmp -s ast_common.h 1.21586.x + mv 1.21586.x ast_common.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/param.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/param.sh ... iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/param.sh ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/aso iffe: test: is sys/types.h a header ... yes iffe: test: gcc 4.1+ 64 bit memory atomic operations model ... yes + case static,port:$OPTIND:$RANDOM in + case '' in + case 29 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/conf.sh + silent test -w conf -a -x conf + chmod u+w,+x conf + /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/src/lib/libast/conf -v /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/conf.tab cc -D_BLD_DLL -fPIC -D_BLD_ast -O conf: read /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/conf.tab conf: check /usr/bin/getconf(1),confstr(2),pathconf(2),sysconf(2),sysinfo(2) configuration names conf: check macros/enums as static initializers conf: probe for ABI_AIO_XFER_MAX value conf: probe for ABI_ASYNCHRONOUS_IO value conf: probe for ABI_ASYNC_IO value conf: probe for AUDIT value conf: probe for AVAIL_PROCESSORS value conf: probe for CHAR_BIT value conf: probe for CHAR_MAX value conf: probe for CHAR_MIN value conf: probe for CHILD_MAX value conf: probe for CLOCKS_PER_SEC value conf: probe for CPU_KEYBITS1 value conf: probe for CPU_VERSION value conf: probe for EQUIV_CLASS_MAX value conf: probe for EXEC_INTERPRETER_LENGTH value conf: probe for HOSTID value conf: probe for HW_SERIAL value conf: probe for INT_MIN value conf: probe for IO_TYPE value conf: probe for IP_SECOPTS value conf: probe for _POSIX_JOB_CONTROL minmax value conf: probe for KERN_POINTERS value conf: probe for KERN_SIM value conf: probe for _POSIX_LFS_CFLAGS minmax value conf: probe for LLONG_MAX value conf: probe for LLONG_MIN value conf: probe for LONG_MAX value conf: probe for LONG_MIN value conf: probe for MB_LEN_MAX value conf: probe for MCAS_OFFSET value conf: probe for MMAP_FIXED_ALIGNMENT value conf: probe for MSEM_LOCKID value conf: probe for NL_MAX value conf: probe for NL_SPECMAX value conf: probe for NPROC_CONF value conf: probe for NPROC_ONLN value conf: probe for NSS_BUFLEN_GROUP value conf: probe for NSS_BUFLEN_PASSWD value conf: probe for NUM_PROCESSORS value conf: probe for OPEN_MAX value conf: probe for OPEN_MAX_CEIL value conf: probe for OSREL_MAJ value conf: probe for OSREL_MIN value conf: probe for OSREL_PATCH value conf: probe for _POSIX_PAGESIZE minmax value conf: probe for PID_MAX value conf: probe for _SVID_PID_MAX minmax value conf: probe for PROC_RSRC_MGR value conf: probe for PTHREAD_THREADS_MAX value conf: probe for PTRDIFF_MAX value conf: probe for PTRDIFF_MIN value conf: probe for RELEASE value conf: probe for _POSIX_SAVED_IDS minmax value conf: probe for SCHAR_MAX value conf: probe for SCHAR_MIN value conf: probe for SECURITY_CLASS value conf: probe for _AST_SF_BUFSIZE minmax value conf: probe for _AST_SH minmax value conf: probe for SHRT_MIN value conf: probe for SIG_ATOMIC_MAX value conf: probe for SIG_ATOMIC_MIN value conf: probe for SLVM_MAXNODES value conf: probe for SOFTPOWER value conf: probe for STD_BLK value conf: probe for SYSPID_MAX value conf: probe for TMP_MAX value conf: probe for UCHAR_MAX value conf: probe for UCHAR_MIN value conf: probe for UID_MAX value conf: probe for ULLONG_MAX value conf: probe for ULONG_MAX value conf: probe for USHRT_MAX value conf: probe for VERSION_88 value conf: probe for VERSION_88 value conf: probe for VERSION_90 value conf: probe for VERSION_90 value conf: probe for VERSION_93 value conf: probe for VERSION_93 value conf: probe for WCHAR_MAX value conf: probe for WCHAR_MIN value conf: probe for WINT_MAX value conf: probe for WINT_MIN value conf: generate conftab.h string table header conf: generate conftab.c string table conf: generate conflim.h supplemental values + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/limits.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/limits.c ... In file included from ./Kris27378.c:356: ./conflim.h:75:28: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf("#define UINT_MAX %lu\n", UINT_MAX); ~~^ ~~~~~~~~ %u ./conflim.h:81:27: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] printf("#define INT_MAX %ld\n", INT_MAX); ~~^ ~~~~~~~ %d 2 warnings generated. ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/limits.c ... yes + cmp -s FEATURE/limits ast_limits.h + rm -f ast_limits.h + silent test -d . + /bin/cp FEATURE/limits ast_limits.h + cmp -s FEATURE/api ast_api.h + rm -f ast_api.h + silent test -d . + /bin/cp FEATURE/api ast_api.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/wctype iffe: test: is sys/types.h a header ... yes iffe: test: is wctype an include path for the native header ... yes iffe: test: run{ ... }end ... yes + cmp -s FEATURE/wctype ast_wctype.h + rm -f ast_wctype.h + silent test -d . + /bin/cp FEATURE/wctype ast_wctype.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/wchar iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is stdio.h a header ... yes iffe: test: is wchar.h a header ... yes iffe: test: is mbstowcs a library function ... yes iffe: test: is wctomb a library function ... yes iffe: test: is wcrtomb a library function ... yes iffe: test: is wcslen a library function ... yes iffe: test: is wcstombs a library function ... yes iffe: test: is wcwidth a library function ... yes iffe: test: is towlower a library function ... yes iffe: test: is towupper a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is mbstate_t a type or typedef ... yes iffe: test: is wchar an include path for the native header ... yes iffe: test: cat{ ... }end ... yes iffe: test: requires native ... yes iffe: test: defines __va_list for ... no iffe: test: is wctype.h a header ... yes iffe: test: is unistd.h a header ... yes iffe: test: is iswalpha a symbol that needs a prototype ... no iffe: test: run{ ... }end ... yes + cmp -s FEATURE/wchar ast_wchar.h + rm -f ast_wchar.h + silent test -d . + /bin/cp FEATURE/wchar ast_wchar.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sys iffe: test: is sys/types.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdint.h a header ... yes iffe: test: is inttypes.h a header ... yes iffe: test: is string.h a header ... yes iffe: test: is unistd.h a header ... yes iffe: test: is limits.h a header ... yes iffe: test: is fcntl.h a header ... yes iffe: test: is locale.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is dev_t a type or typedef ... yes iffe: test: is nlink_t a type or typedef ... yes iffe: test: is gid_t a type or typedef ... yes iffe: test: is mode_t a type or typedef ... yes iffe: test: is uid_t a type or typedef ... yes iffe: test: is stdio.h a header ... yes iffe: test: is wchar.h a header ... yes iffe: test: is wchar_t a type or typedef ... yes iffe: test: is pid_t a type or typedef ... yes iffe: test: is ssize_t a type or typedef ... yes iffe: test: is wint_t a type or typedef ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is socklen_t a type or typedef ... yes iffe: test: is size_t a type or typedef ... yes iffe: test: is clock_t a type or typedef ... yes iffe: test: is ino_t a type or typedef ... yes iffe: test: is off_t a type or typedef ... yes iffe: test: is ptrdiff_t a type or typedef ... yes iffe: test: is time_t a type or typedef ... yes iffe: test: is div_t a type or typedef ... yes iffe: test: is ldiv_t a type or typedef ... yes iffe: test: output{ ... }end ... no iffe: test: is offsetof a macro ... yes iffe: test: is EXIT_FAILURE a macro ... yes iffe: test: is EXIT_SUCCESS a macro ... yes iffe: test: is MB_CUR_MAX a macro ... yes iffe: test: is RAND_MAX a macro ... yes iffe: test: is STDIN_FILENO a macro ... yes iffe: test: is STDOUT_FILENO a macro ... yes iffe: test: is STDERR_FILENO a macro ... yes iffe: test: is NULL a macro ... yes iffe: test: is SEEK_SET a macro ... yes iffe: test: is SEEK_CUR a macro ... yes iffe: test: is SEEK_END a macro ... yes iffe: test: is F_OK a macro ... yes iffe: test: is X_OK a macro ... yes iffe: test: is W_OK a macro ... yes iffe: test: is R_OK a macro ... yes iffe: test: is _exit a symbol that needs a prototype ... yes iffe: test: is abort a symbol that needs a prototype ... yes iffe: test: is abs a symbol that needs a prototype ... no iffe: test: is access a symbol that needs a prototype ... no iffe: test: is alarm a symbol that needs a prototype ... no iffe: test: is atexit a symbol that needs a prototype ... no iffe: test: is atof a symbol that needs a prototype ... no iffe: test: is atoi a symbol that needs a prototype ... no iffe: test: is atol a symbol that needs a prototype ... no iffe: test: is bsearch a symbol that needs a prototype ... no iffe: test: is calloc a symbol that needs a prototype ... yes iffe: test: is cfree a symbol that needs a prototype ... yes iffe: test: is chdir a symbol that needs a prototype ... no iffe: test: is chown a symbol that needs a prototype ... no iffe: test: is close a symbol that needs a prototype ... no iffe: test: is confstr a symbol that needs a prototype ... no iffe: test: is div a symbol that needs a prototype ... no iffe: test: is dup a symbol that needs a prototype ... no iffe: test: is dup2 a symbol that needs a prototype ... no iffe: test: is eaccess a symbol that needs a prototype ... yes iffe: test: is execl a symbol that needs a prototype ... no iffe: test: is execle a symbol that needs a prototype ... no iffe: test: is execlp a symbol that needs a prototype ... no iffe: test: is execv a symbol that needs a prototype ... no iffe: test: is execve a symbol that needs a prototype ... no iffe: test: is execve a symbol that needs a prototype ... no iffe: test: is execvp a symbol that needs a prototype ... no iffe: test: is execvpe a symbol that needs a prototype ... yes iffe: test: is exit a symbol that needs a prototype ... yes iffe: test: is fork a symbol that needs a prototype ... no iffe: test: is fpathconf a symbol that needs a prototype ... no iffe: test: is free a symbol that needs a prototype ... no iffe: test: is fsync a symbol that needs a prototype ... no iffe: test: is ftruncate a symbol that needs a prototype ... no iffe: test: is getcwd a symbol that needs a prototype ... no iffe: test: is getegid a symbol that needs a prototype ... no iffe: test: is getenv a symbol that needs a prototype ... no iffe: test: is geteuid a symbol that needs a prototype ... no iffe: test: is getgid a symbol that needs a prototype ... no iffe: test: is getgroups a symbol that needs a prototype ... no iffe: test: is getlogin a symbol that needs a prototype ... no iffe: test: is getpgrp a symbol that needs a prototype ... no iffe: test: is getpid a symbol that needs a prototype ... no iffe: test: is getppid a symbol that needs a prototype ... no iffe: test: is gettxt a symbol that needs a prototype ... yes iffe: test: is getuid a symbol that needs a prototype ... no iffe: test: is isatty a symbol that needs a prototype ... no iffe: test: is labs a symbol that needs a prototype ... no iffe: test: is ldiv a symbol that needs a prototype ... no iffe: test: is link a symbol that needs a prototype ... no iffe: test: is lseek a symbol that needs a prototype ... no iffe: test: is malloc a symbol that needs a prototype ... yes iffe: test: is mblen a symbol that needs a prototype ... no iffe: test: is mbstowcs a symbol that needs a prototype ... no iffe: test: is mbtowc a symbol that needs a prototype ... no iffe: test: is memalign a symbol that needs a prototype ... yes iffe: test: is memccpy a symbol that needs a prototype ... no iffe: test: is memchr a symbol that needs a prototype ... yes iffe: test: is memcmp a symbol that needs a prototype ... yes iffe: test: is memcpy a symbol that needs a prototype ... yes iffe: test: is memmove a symbol that needs a prototype ... yes iffe: test: is memset a symbol that needs a prototype ... yes iffe: test: is pathconf a symbol that needs a prototype ... no iffe: test: is pause a symbol that needs a prototype ... no iffe: test: is pipe a symbol that needs a prototype ... no iffe: test: is pvalloc a symbol that needs a prototype ... yes iffe: test: is qsort a symbol that needs a prototype ... no iffe: test: is rand a symbol that needs a prototype ... no iffe: test: is read a symbol that needs a prototype ... no iffe: test: is realloc a symbol that needs a prototype ... yes iffe: test: is realpath a symbol that needs a prototype ... no iffe: test: is resolvepath a symbol that needs a prototype ... yes iffe: test: is rmdir a symbol that needs a prototype ... no iffe: test: is setgid a symbol that needs a prototype ... no iffe: test: is setpgid a symbol that needs a prototype ... no iffe: test: is setsid a symbol that needs a prototype ... no iffe: test: is setuid a symbol that needs a prototype ... no iffe: test: is sleep a symbol that needs a prototype ... no iffe: test: is spawnveg a symbol that needs a prototype ... yes iffe: test: is srand a symbol that needs a prototype ... no iffe: test: is strcasecmp a symbol that needs a prototype ... yes iffe: test: is strcat a symbol that needs a prototype ... yes iffe: test: is strchr a symbol that needs a prototype ... yes iffe: test: is strcmp a symbol that needs a prototype ... yes iffe: test: is strcoll a symbol that needs a prototype ... no iffe: test: is strcpy a symbol that needs a prototype ... yes iffe: test: is strcspn a symbol that needs a prototype ... yes iffe: test: is strdup a symbol that needs a prototype ... yes iffe: test: is strlcat a symbol that needs a prototype ... yes iffe: test: is strlcpy a symbol that needs a prototype ... yes iffe: test: is strlen a symbol that needs a prototype ... yes iffe: test: is strncasecmp a symbol that needs a prototype ... yes iffe: test: is strncat a symbol that needs a prototype ... yes iffe: test: is strncmp a symbol that needs a prototype ... yes iffe: test: is strncpy a symbol that needs a prototype ... yes iffe: test: is strpbrk a symbol that needs a prototype ... yes iffe: test: is strrchr a symbol that needs a prototype ... yes iffe: test: is strspn a symbol that needs a prototype ... yes iffe: test: is strstr a symbol that needs a prototype ... yes iffe: test: is strtok a symbol that needs a prototype ... yes iffe: test: is strxfrm a symbol that needs a prototype ... yes iffe: test: is swab a symbol that needs a prototype ... no iffe: test: is sysconf a symbol that needs a prototype ... no iffe: test: is system a symbol that needs a prototype ... no iffe: test: is tcgetpgrp a symbol that needs a prototype ... no iffe: test: is tcsetpgrp a symbol that needs a prototype ... no iffe: test: is truncate a symbol that needs a prototype ... no iffe: test: is ttyname a symbol that needs a prototype ... no iffe: test: is unlink a symbol that needs a prototype ... no iffe: test: is valloc a symbol that needs a prototype ... no iffe: test: is wcstombs a symbol that needs a prototype ... no iffe: test: is wctomb a symbol that needs a prototype ... no iffe: test: is write a symbol that needs a prototype ... no + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/botch.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/botch.c ... ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/botch.c ... yes + cmp -s FEATURE/botch ast_botch.h + rm -f ast_botch.h + silent test -d . + /bin/cp FEATURE/botch ast_botch.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/tty iffe: test: is sys/types.h a header ... yes iffe: test: is termios.h a header ... yes iffe: test: is termio.h a header ... no iffe: test: is sgtty.h a header ... yes iffe: test: is sys/termios.h a header ... yes iffe: test: is sys/termio.h a header ... no iffe: test: is sys/ioctl.h a header ... yes iffe: test: is sys/bsdtty.h a header ... no iffe: test: is sys/nttyio.h a header ... no iffe: test: is sys/ttyio.h a header ... no iffe: test: is tcgetattr a library function ... yes iffe: test: is tcgetpgrp a library function ... yes iffe: test: is _POSIX_VDISABLE a macro ... yes iffe: test: is termios a type or typedef ... no iffe: test: is c_line a member of struct termios ... no iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/fs iffe: test: is sys/types.h a header ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: is _fxstat a library function ... no iffe: test: is __fxstat a library function ... no iffe: test: is _lxstat a library function ... no iffe: test: is __lxstat a library function ... no iffe: test: is _xmknod a library function ... no iffe: test: is __xmknod a library function ... no iffe: test: is _xstat a library function ... no iffe: test: is __xstat a library function ... no iffe: test: is lstat a library function ... yes iffe: test: is mknod a library function ... yes iffe: test: is sync a library function ... yes iffe: test: is _fxstat64 a library function ... no iffe: test: is __fxstat64 a library function ... no iffe: test: is _lxstat64 a library function ... no iffe: test: is __lxstat64 a library function ... no iffe: test: is _xstat64 a library function ... no iffe: test: is __xstat64 a library function ... no iffe: test: is fstat a macro ... no iffe: test: is lstat a macro ... no iffe: test: is stat a macro ... no iffe: test: is mknod a macro ... no iffe: test: link{ ... }end ... no iffe: test: link{ ... }end ... no iffe: test: is sys/mkdev.h a header ... no iffe: test: is chmod a symbol that needs a prototype ... no iffe: test: is fstat a symbol that needs a prototype ... no iffe: test: is lstat a symbol that needs a prototype ... no iffe: test: is mkdir a symbol that needs a prototype ... no iffe: test: is mkfifo a symbol that needs a prototype ... no iffe: test: is mknod a symbol that needs a prototype ... no iffe: test: is stat a symbol that needs a prototype ... no iffe: test: is FS_default a macro ... no iffe: test: macro{ ... }end ... yes iffe: test: is stdio.h a header ... yes iffe: test: is mntent.h a header ... no iffe: test: is mnttab.h a header ... no iffe: test: is sys/mntent.h a header ... no iffe: test: is sys/mnttab.h a header ... no iffe: test: is sys/param.h a header ... yes iffe: test: is sys/ucred.h a header ... yes iffe: test: is sys/fs_types.h a header ... no iffe: test: is sys/mount.h a header ... yes iffe: test: is sys/statfs.h a header ... no iffe: test: is sys/statvfs.h a header ... yes iffe: test: is sys/vfs.h a header ... no iffe: test: is sys/vmount.h a header ... no iffe: test: is mnttab a type or typedef ... no iffe: test: is mt_dev a member of struct mnttab ... no iffe: test: is mt_filsys a member of struct mnttab ... no iffe: test: is mt_fstyp a member of struct mnttab ... no iffe: test: is mntent a type or typedef ... no iffe: test: is mnt_opts a member of struct mntent ... no iffe: test: is w_mntent a type or typedef ... no iffe: test: is mnt_opts a member of struct w_mntent ... no iffe: test: is mnt_opts a member of struct mnttab ... no iffe: test: is mnt_opts a member of struct mntent ... no iffe: test: is mnt_opts a member of struct mnttab ... no iffe: test: is stat a type or typedef ... no iffe: test: is st_blocks a member of struct stat ... yes iffe: test: is st_blksize a member of struct stat ... yes iffe: test: is st_rdev a member of struct stat ... yes iffe: test: is statfs a type or typedef ... iffe: test: is f_files a member of struct statfs ... iffe: test: is f_bavail a member of struct statfs ... iffe: test: is f_files a member of struct statfs ... iffe: test: is f_bavail a member of struct statfs ... iffe: test: is f_files a member of struct statfs ... yes iffe: test: is f_bavail a member of struct statfs ... yes iffe: test: is statvfs a type or typedef ... no iffe: test: is f_basetype a member of struct statvfs ... no iffe: test: is f_frsize a member of struct statvfs ... yes iffe: test: statvfs.f_reserved7 can double for statvfs.f_basetype ... no iffe: test: is getfsstat a library function ... yes iffe: test: is getmntent a library function ... no iffe: test: is getmntinfo a library function ... yes iffe: test: is mntctl a library function ... no iffe: test: is mntopen a library function ... no iffe: test: is mntread a library function ... no iffe: test: is mntclose a library function ... no iffe: test: is setmntent a library function ... no iffe: test: is w_getmntent a library function ... no iffe: test: is statfs a library function ... yes iffe: test: is statvfs a library function ... yes iffe: test: compile{ ... }end ... iffe: test: compile{ ... }end ... iffe: test: compile{ ... }end ... no iffe: test: getmntinfo uses statvfs -- since when? ... no iffe: test: getfsstat uses statvfs -- just in case it is confused like getmntinfo ... no iffe: test: cat{ ... }end ... yes iffe: test: stat.st_fstype is a string ... no iffe: test: stat.st_fstype is an int ... no iffe: test: stat.st_spare1 is an int ... no iffe: test: stat.st_spare4 is an array ... no iffe: test: stat.st_extra is an array ... no iffe: test: stat.st_pad4 is an array ... no + cmp -s FEATURE/fs ast_fs.h + rm -f ast_fs.h + silent test -d . + /bin/cp FEATURE/fs ast_fs.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/fcntl.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/fcntl.c ... ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/fcntl.c ... yes + cmp -s FEATURE/fcntl ast_fcntl.h + rm -f ast_fcntl.h + silent test -d . + /bin/cp FEATURE/fcntl ast_fcntl.h + cmp -s FEATURE/sys ast_sys.h + rm -f ast_sys.h + silent test -d . + /bin/cp FEATURE/sys ast_sys.h + cmp -s FEATURE/lib ast_lib.h + rm -f ast_lib.h + silent test -d . + /bin/cp FEATURE/lib ast_lib.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/stdio iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: output{ ... }end ... yes iffe: test: macro{ ... }end ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/stdio ast_stdio.h + rm -f ast_stdio.h + silent test -d . + /bin/cp FEATURE/stdio ast_stdio.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/nl_types iffe: test: is sys/types.h a header ... yes iffe: test: is catopen a library function ... yes iffe: test: is nl_langinfo a library function ... yes iffe: test: is nl_types.h a header ... yes iffe: test: is langinfo.h a header ... yes iffe: test: is nl_types an include path for the native header ... yes iffe: test: output{ ... }end ... yes + cmp -s FEATURE/nl_types ast_nl_types.h + rm -f ast_nl_types.h + silent test -d . + /bin/cp FEATURE/nl_types ast_nl_types.h + X=1 + for N in 1 2 3 4 5 6 8 + cc -DN=1 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astmath.c + : implicit math function N=1 : + for N in 1 2 3 4 5 6 8 + cc -DN=2 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astmath.c + : implicit math function N=2 : + for N in 1 2 3 4 5 6 8 + cc -DN=3 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astmath.c + : implicit math function N=3 : + for N in 1 2 3 4 5 6 8 + cc -DN=4 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astmath.c + : implicit math function N=4 : + for N in 1 2 3 4 5 6 8 + cc -DN=5 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astmath.c + : implicit math function N=5 : + for N in 1 2 3 4 5 6 8 + cc -DN=6 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astmath.c + : implicit math function N=6 : + for N in 1 2 3 4 5 6 8 + cc -DN=8 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astmath.c + : implicit math function N=8 : + case $X in + touch astmath.exe + rm -f astmath + : clean up obsolete headers : + rm -rf dirent.h iconv.h nl_types.h stdio.h wchar.h wctype.h ast_hdr.h ast_types.h ast_unistd.h iffeio.h /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/limits.h /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/unistd.h /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/limits.h + set - + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/state.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/transition.c + cmp -s FEATURE/param ast_param.h + rm -f ast_param.h + silent test -d . + /bin/cp FEATURE/param ast_param.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/dirent iffe: test: is sys/types.h a header ... yes iffe: test: is stat64 a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is off64_t a type or typedef ... no iffe: test: is opendir a library function ... yes iffe: test: is dirent.h a header ... yes iffe: test: is ndir.h a header ... no iffe: test: is sys/dir.h a header ... yes iffe: test: is dirent an include path for the native header ... yes iffe: test: dirent64.d_ino vs. readdir64 mismatch ... no iffe: test: is ( ! _lib_opendir ) true ... no iffe: test: is ( _nxt_dirent && _lib_stat64 && _typ_off64_t && _botch_d_ino_dirent64 ) true ... no iffe: test: is ( _nxt_dirent && _lib_stat64 && _typ_off64_t ) true ... no iffe: test: is ( _nxt_dirent && _hdr_dirent ) true ... yes + cmp -s FEATURE/dirent ast_dirent.h + rm -f ast_dirent.h + silent test -d . + /bin/cp FEATURE/dirent ast_dirent.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/mode.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/mode.c ... ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/mode.c ... yes + cmp -s FEATURE/mode ast_mode.h + rm -f ast_mode.h + silent test -d . + /bin/cp FEATURE/mode ast_mode.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir/opendir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir/readdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir/telldir.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/syscall iffe: test: is sys/types.h a header ... yes iffe: test: syscall(SYS_getcwd,buf,len) implemented ... no iffe: test: is ( _lib_sysgetcwd ) true ... no iffe: test: is ( _lib_sysgetcwd ) true ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:107:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = d) ~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:107:12: note: place parentheses around the assignment to silence this warning while (dp = d) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:107:12: note: use '==' to turn this assignment into an equality comparison while (dp = d) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:204:20: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((env[n].name && (p = getenv(env[n].name)) || (p = env[n].path)) && *p == '/' && !stat(p, cur)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:204:20: note: place parentheses around the '&&' expression to silence this warning if ((env[n].name && (p = getenv(env[n].name)) || (p = env[n].path)) && *p == '/' && !stat(p, cur)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:256:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*d++ = *p++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:256:18: note: place parentheses around the assignment to silence this warning while (*d++ = *p++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:256:18: note: use '==' to turn this assignment into an equality comparison while (*d++ = *p++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:271:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = readdir(dirp)) ~~~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:271:17: note: place parentheses around the assignment to silence this warning while (entry = readdir(dirp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:271:17: note: use '==' to turn this assignment into an equality comparison while (entry = readdir(dirp)) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:125:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *t++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:125:11: note: place parentheses around the assignment to silence this warning while (c = *t++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:125:11: note: use '==' to turn this assignment into an equality comparison while (c = *t++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:193:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = findcodes[i]) ~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:193:13: note: place parentheses around the assignment to silence this warning if (path = findcodes[i]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:193:13: note: use '==' to turn this assignment into an equality comparison if (path = findcodes[i]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:233:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = strrchr(fp->encode.file, '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:233:13: note: place parentheses around the assignment to silence this warning if (b = strrchr(fp->encode.file, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:233:13: note: use '==' to turn this assignment into an equality comparison if (b = strrchr(fp->encode.file, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:250:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (b = strrchr(path, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:250:16: note: place parentheses around the assignment to silence this warning else if (b = strrchr(path, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:250:16: note: use '==' to turn this assignment into an equality comparison else if (b = strrchr(path, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(path, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:290:10: note: place parentheses around the assignment to silence this warning if (s = strrchr(path, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:290:10: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(path, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:371:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = findcodes[i]) ~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:371:13: note: place parentheses around the assignment to silence this warning if (path = findcodes[i]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:371:13: note: use '==' to turn this assignment into an equality comparison if (path = findcodes[i]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:382:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp->fp = sfopen(NiL, fp->decode.path, "r")) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:382:20: note: place parentheses around the assignment to silence this warning if (fp->fp = sfopen(NiL, fp->decode.path, "r")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:382:20: note: use '==' to turn this assignment into an equality comparison if (fp->fp = sfopen(NiL, fp->decode.path, "r")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:391:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (fp->fp = sfopen(NiL, path, "r")) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:391:23: note: place parentheses around the assignment to silence this warning else if (fp->fp = sfopen(NiL, path, "r")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:391:23: note: use '==' to turn this assignment into an equality comparison else if (fp->fp = sfopen(NiL, path, "r")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:410:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:410:18: note: place parentheses around the assignment to silence this warning if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:410:18: note: use '==' to turn this assignment into an equality comparison if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:425:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(*s++ = fp->decode.bigram2[i] = j) && (i || fp->decode.bigram1[0] >= '0' && fp->decode.bigram1[0] <= '1')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:425:82: note: place parentheses around the '&&' expression to silence this warning if (!(*s++ = fp->decode.bigram2[i] = j) && (i || fp->decode.bigram1[0] >= '0' && fp->decode.bigram1[0] <= '1')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:459:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (j = sfgetc(fp->fp)) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:459:13: note: place parentheses around the assignment to silence this warning while (j = sfgetc(fp->fp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:459:13: note: use '==' to turn this assignment into an equality comparison while (j = sfgetc(fp->fp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:568:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = s = (char*)pattern) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:568:9: note: place parentheses around the assignment to silence this warning if (p = s = (char*)pattern) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:568:9: note: use '==' to turn this assignment into an equality comparison if (p = s = (char*)pattern) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:625:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:625:11: note: place parentheses around the assignment to silence this warning if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:625:11: note: use '==' to turn this assignment into an equality comparison if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:638:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:638:14: note: place parentheses around the assignment to silence this warning while (i = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:638:14: note: use '==' to turn this assignment into an equality comparison while (i = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:739:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*p++ = c); ~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:739:18: note: place parentheses around the assignment to silence this warning } while (*p++ = c); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:739:18: note: use '==' to turn this assignment into an equality comparison } while (*p++ = c); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:879:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == *fp->decode.end || ignorecase && tolower(*s) == *fp->decode.end) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:879:46: note: place parentheses around the '&&' expression to silence this warning if (*s == *fp->decode.end || ignorecase && tolower(*s) == *fp->decode.end) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1001:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1001:10: note: place parentheses around the assignment to silence this warning if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1001:10: note: use '==' to turn this assignment into an equality comparison if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1107:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = fp->encode.hits[n]) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1107:10: note: place parentheses around the assignment to silence this warning if (d = fp->encode.hits[n]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1107:10: note: use '==' to turn this assignment into an equality comparison if (d = fp->encode.hits[n]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1153:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = sfgetr(fp->fp, 0, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1153:12: note: place parentheses around the assignment to silence this warning while (s = sfgetr(fp->fp, 0, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1153:12: note: use '==' to turn this assignment into an equality comparison while (s = sfgetr(fp->fp, 0, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1167:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1167:13: note: place parentheses around the assignment to silence this warning while (n = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1167:13: note: use '==' to turn this assignment into an equality comparison while (n = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1174:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = fp->encode.code[n][m]) ~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1174:11: note: place parentheses around the assignment to silence this warning if (d = fp->encode.code[n][m]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1174:11: note: use '==' to turn this assignment into an equality comparison if (d = fp->encode.code[n][m]) ^ == 21 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c:90:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tab->root->local->region = region) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c:90:32: note: place parentheses around the assignment to silence this warning if (tab->root->local->region = region) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c:90:32: note: use '==' to turn this assignment into an equality comparison if (tab->root->local->region = region) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c:154:16: error: non-const lvalue reference to type '__builtin_va_list' cannot bind to a temporary of type 'va_list' (aka 'char *') va_copy(ap, va_listval(va_arg(ap, va_listarg))); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ast_common.h:178:23: note: expanded from macro 'va_listval' #define va_listval(p) (p) /* retrieve va_list from va_arg(ap,va_listarg) */ ^ /usr/bin/../lib/clang/4.1/include/stdarg.h:43:53: note: expanded from macro 'va_copy' #define va_copy(dest, src) __builtin_va_copy(dest, src) ^~~ 1 warning and 1 error generated. mamake [lib/libast]: *** exit code 1 making hashalloc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:75:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = tab->root->namesize) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:75:12: note: place parentheses around the assignment to silence this warning if (n = tab->root->namesize) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:75:12: note: use '==' to turn this assignment into an equality comparison if (n = tab->root->namesize) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (scope = tab->scope) ~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:110:12: note: place parentheses around the assignment to silence this warning if (scope = tab->scope) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:110:12: note: use '==' to turn this assignment into an equality comparison if (scope = tab->scope) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:113:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (scope = scope->scope) level++; ~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:113:16: note: place parentheses around the assignment to silence this warning while (scope = scope->scope) level++; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:113:16: note: use '==' to turn this assignment into an equality comparison while (scope = scope->scope) level++; ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:63:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (region = tab->root->local->region) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:63:14: note: place parentheses around the assignment to silence this warning if (region = tab->root->local->region) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:63:14: note: use '==' to turn this assignment into an equality comparison if (region = tab->root->local->region) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:140:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = tab->scope) tp->frozen--; ~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:140:9: note: place parentheses around the assignment to silence this warning if (tp = tab->scope) tp->frozen--; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:140:9: note: use '==' to turn this assignment into an equality comparison if (tp = tab->scope) tp->frozen--; ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlast.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:57:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s2++) HASHPART(n, c); ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:57:13: note: place parentheses around the assignment to silence this warning while (c = *s2++) HASHPART(n, c); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:57:13: note: use '==' to turn this assignment into an equality comparison while (c = *s2++) HASHPART(n, c); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:139:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = last->bucket) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:139:9: note: place parentheses around the assignment to silence this warning if (b = last->bucket) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:139:9: note: use '==' to turn this assignment into an equality comparison if (b = last->bucket) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:265:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (prev = b) ~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:265:12: note: place parentheses around the assignment to silence this warning if (prev = b) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:265:12: note: use '==' to turn this assignment into an equality comparison if (prev = b) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashscan.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashscan.c:74:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (tab = tab->scope); ~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashscan.c:74:16: note: place parentheses around the assignment to silence this warning } while (tab = tab->scope); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashscan.c:74:16: note: use '==' to turn this assignment into an equality comparison } while (tab = tab->scope); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashsize.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashsize.c:51:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (region = tab->root->local->region) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashsize.c:51:14: note: place parentheses around the assignment to silence this warning if (region = tab->root->local->region) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashsize.c:51:14: note: use '==' to turn this assignment into an equality comparison if (region = tab->root->local->region) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashview.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:64:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:64:12: note: place parentheses around the assignment to silence this warning if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:64:12: note: use '==' to turn this assignment into an equality comparison if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:73:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (bot = top->scope) ~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:73:15: note: place parentheses around the assignment to silence this warning else if (bot = top->scope) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:73:15: note: use '==' to turn this assignment into an equality comparison else if (bot = top->scope) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashwalk.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashwalk.c:46:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (b = hashnext(pos)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashwalk.c:46:11: note: place parentheses around the assignment to silence this warning while (b = hashnext(pos)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/hashwalk.c:46:11: note: use '==' to turn this assignment into an equality comparison while (b = hashnext(pos)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/memhash.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/memsum.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strhash.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strhash.c:43:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) HASHPART(i, c); ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strhash.c:43:11: note: place parentheses around the assignment to silence this warning while (c = *s++) HASHPART(i, c); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strhash.c:43:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) HASHPART(i, c); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strkey.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strsum.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strsum.c:47:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *s++) HASHPART(c, n); ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strsum.c:47:11: note: place parentheses around the assignment to silence this warning while (n = *s++) HASHPART(c, n); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/hash/strsum.c:47:11: note: use '==' to turn this assignment into an equality comparison while (n = *s++) HASHPART(c, n); ^ == 1 warning generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/ccode iffe: test: is sys/types.h a header ... yes iffe: test: output{ ... }end ... yes + cmp -s FEATURE/ccode ast_ccode.h + rm -f ast_ccode.h + silent test -d . + /bin/cp FEATURE/ccode ast_ccode.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stracmp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stracmp.c:55:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = c - m[*b++]) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stracmp.c:55:9: note: place parentheses around the assignment to silence this warning if (d = c - m[*b++]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stracmp.c:55:9: note: use '==' to turn this assignment into an equality comparison if (d = c - m[*b++]) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strnacmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/ccmap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/ccmapid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/ccnative.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:96:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:96:11: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:96:11: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:158:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:158:11: note: place parentheses around the assignment to silence this warning if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:158:11: note: use '==' to turn this assignment into an equality comparison if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:203:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:203:16: note: place parentheses around the '&&' expression to silence this warning if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:203:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chresc.c:203:63: note: place parentheses around the '&&' expression to silence this warning if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/chrtoi.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/streval.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:133:5: warning: expression result unused [-Wunused-value] getchr(ex); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:43:21: note: expanded from macro 'getchr' #define getchr(ex) (*(ex)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:159:5: warning: expression result unused [-Wunused-value] getchr(ex); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:43:21: note: expanded from macro 'getchr' #define getchr(ex) (*(ex)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:179:5: warning: expression result unused [-Wunused-value] getchr(ex); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:43:21: note: expanded from macro 'getchr' #define getchr(ex) (*(ex)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:204:5: warning: expression result unused [-Wunused-value] getchr(ex); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:43:21: note: expanded from macro 'getchr' #define getchr(ex) (*(ex)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:214:6: warning: expression result unused [-Wunused-value] getchr(ex); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:43:21: note: expanded from macro 'getchr' #define getchr(ex) (*(ex)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:194:4: warning: expression result unused [-Wunused-value] getchr(ex); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strexpr.c:43:21: note: expanded from macro 'getchr' #define getchr(ex) (*(ex)->nextchr++) ^~~~~~~~~~~~~~~~ 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strmatch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strcopy.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strcopy.c:34:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strcopy.c:34:14: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strcopy.c:34:14: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/modei.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/modex.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strmode.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcat.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:58:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = n) ~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:58:8: note: place parentheses around the assignment to silence this warning if (m = n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:58:8: note: use '==' to turn this assignment into an equality comparison if (m = n) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:74:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s++ = *t++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:74:18: note: place parentheses around the assignment to silence this warning } while (*s++ = *t++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:74:18: note: use '==' to turn this assignment into an equality comparison } while (*s++ = *t++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcpy.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcpy.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s++ = *t++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcpy.c:65:17: note: place parentheses around the assignment to silence this warning } while (*s++ = *t++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlcpy.c:65:17: note: use '==' to turn this assignment into an equality comparison } while (*s++ = *t++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlook.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlook.c:46:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; s = *((char**)t); t += siz) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlook.c:46:11: note: place parentheses around the assignment to silence this warning for (; s = *((char**)t); t += siz) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strlook.c:46:11: note: use '==' to turn this assignment into an equality comparison for (; s = *((char**)t); t += siz) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strncopy.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strncopy.c:44:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*t++ = *f++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strncopy.c:44:16: note: place parentheses around the assignment to silence this warning } while (*t++ = *f++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strncopy.c:44:16: note: use '==' to turn this assignment into an equality comparison } while (*t++ = *f++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strsearch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strpsearch.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strpsearch.c:74:97: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(v = c - MAP(m, *(s = *((unsigned char**)mid)))) || *s == '[' && !(v = c - MAP(m, *++s)) && (v = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strpsearch.c:74:97: note: place parentheses around the '&&' expression to silence this warning if (!(v = c - MAP(m, *(s = *((unsigned char**)mid)))) || *s == '[' && !(v = c - MAP(m, *++s)) && (v = 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strpsearch.c:99:101: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1)))); ~~ ~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strpsearch.c:99:101: note: place parentheses around the '&&' expression to silence this warning while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1)))); ~~~~~~~~~~^~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stresc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stresc.c:45:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stresc.c:45:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stresc.c:45:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stropt.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stropt.c:91:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stropt.c:91:29: note: place parentheses around the assignment to silence this warning for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stropt.c:91:29: note: use '==' to turn this assignment into an equality comparison for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stropt.c:128:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stropt.c:128:14: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/stropt.c:128:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtape.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strpcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strnpcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strvcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strnvcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tok.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tok.c:59:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = freelist) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tok.c:59:8: note: place parentheses around the assignment to silence this warning if (p = freelist) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tok.c:59:8: note: use '==' to turn this assignment into an equality comparison if (p = freelist) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokline.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokline.c:123:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = b - buf - 1) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokline.c:123:19: note: place parentheses around the assignment to silence this warning else if (n = b - buf - 1) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokline.c:123:19: note: use '==' to turn this assignment into an equality comparison else if (n = b - buf - 1) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:105:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*s || !q && *s == '\n') ~~ ~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:105:17: note: place parentheses around the '&&' expression to silence this warning if (!*s || !q && *s == '\n') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:123:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*++s || *s == '\n' && (!*++s || *s == '\n')) continue; ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:123:28: note: place parentheses around the '&&' expression to silence this warning if (!*++s || *s == '\n' && (!*++s || *s == '\n')) continue; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:151:32: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == c || c == ' ' && *s == '\t') ~~ ~~~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:151:32: note: place parentheses around the '&&' expression to silence this warning else if (*s == c || c == ' ' && *s == '\t') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:202:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = prv_f) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:202:9: note: place parentheses around the assignment to silence this warning if (f = prv_f) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:202:9: note: use '==' to turn this assignment into an equality comparison if (f = prv_f) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:236:16: error: non-const lvalue reference to type '__builtin_va_list' cannot bind to a temporary of type 'va_list' (aka 'char *') va_copy(ap, va_listval(va_arg(ap, va_listarg))); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ast_common.h:178:23: note: expanded from macro 'va_listval' #define va_listval(p) (p) /* retrieve va_list from va_arg(ap,va_listarg) */ ^ /usr/bin/../lib/clang/4.1/include/stdarg.h:43:53: note: expanded from macro 'va_copy' #define va_copy(dest, src) __builtin_va_copy(dest, src) ^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:281:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_short = va_arg(ap, short*)) *p_short = (short)val; ~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:281:17: note: place parentheses around the assignment to silence this warning if (p_short = va_arg(ap, short*)) *p_short = (short)val; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:281:17: note: use '==' to turn this assignment into an equality comparison if (p_short = va_arg(ap, short*)) *p_short = (short)val; ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:284:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_long = va_arg(ap, long*)) *p_long = val; ~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:284:16: note: place parentheses around the assignment to silence this warning if (p_long = va_arg(ap, long*)) *p_long = val; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:284:16: note: use '==' to turn this assignment into an equality comparison if (p_long = va_arg(ap, long*)) *p_long = val; ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:287:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_int = va_arg(ap, int*)) *p_int = (int)val; ~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:287:15: note: place parentheses around the assignment to silence this warning if (p_int = va_arg(ap, int*)) *p_int = (int)val; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:287:15: note: use '==' to turn this assignment into an equality comparison if (p_int = va_arg(ap, int*)) *p_int = (int)val; ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:304:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_double = va_arg(ap, double*)) *p_double = dval; ~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:304:17: note: place parentheses around the assignment to silence this warning if (p_double = va_arg(ap, double*)) *p_double = dval; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:304:17: note: use '==' to turn this assignment into an equality comparison if (p_double = va_arg(ap, double*)) *p_double = dval; ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:313:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = *f) f++; ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:313:10: note: place parentheses around the assignment to silence this warning if (q = *f) f++; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:313:10: note: use '==' to turn this assignment into an equality comparison if (q = *f) f++; ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:323:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = *f) f++; ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:323:10: note: place parentheses around the assignment to silence this warning if (q = *f) f++; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:323:10: note: use '==' to turn this assignment into an equality comparison if (q = *f) f++; ^ == 10 warnings and 1 error generated. mamake [lib/libast]: *** exit code 1 making tokscan.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathaccess.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcat.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:79:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *a++) ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:79:13: note: place parentheses around the assignment to silence this warning while (*s = *a++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:79:13: note: use '==' to turn this assignment into an equality comparison while (*s = *a++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:96:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s++ = *b++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:96:17: note: place parentheses around the assignment to silence this warning } while (*s++ = *b++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:96:17: note: use '==' to turn this assignment into an equality comparison } while (*s++ = *b++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:189:100: warning: '&&' within '||' [-Wlogical-op-parentheses] if (dots >= 4 && (flags & PATH_EXISTS) && (t - 1) >= v && (t > path + 1 || t > path && *(t - 1) && *(t - 1) != '/')) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:189:100: note: place parentheses around the '&&' expression to silence this warning if (dots >= 4 && (flags & PATH_EXISTS) && (t - 1) >= v && (t > path + 1 || t > path && *(t - 1) && *(t - 1) != '/')) ^ ( ) 1 warning generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/time iffe: test: is sys/types.h a header ... yes iffe: test: is nanosleep a library function ... yes iffe: test: is usleep a library function ... yes iffe: test: is _strftime a library function ... no iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is clock_t a type or typedef ... yes iffe: test: is time_t a type or typedef ... yes iffe: test: is tm a type or typedef ... no iffe: test: is tm_sec a member of struct tm ... yes iffe: test: is timeval a type or typedef ... no iffe: test: is tv_sec a member of struct timeval ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/time ast_time.h + rm -f ast_time.h + silent test -d . + /bin/cp FEATURE/time ast_time.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathpath.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:90:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (s = (char*)a) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:90:13: note: place parentheses around the assignment to silence this warning else if (s = (char*)a) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:90:13: note: use '==' to turn this assignment into an equality comparison else if (s = (char*)a) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:114:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = pathaccess(path, p, a, mode, path, size)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:114:13: note: place parentheses around the assignment to silence this warning if (s = pathaccess(path, p, a, mode, path, size)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:114:13: note: use '==' to turn this assignment into an equality comparison if (s = pathaccess(path, p, a, mode, path, size)) ^ == 2 warnings generated. + cc -o lcgen /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:188:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *f++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:188:14: note: place parentheses around the assignment to silence this warning while (*t++ = *f++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:188:14: note: use '==' to turn this assignment into an equality comparison while (*t++ = *f++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:343:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = fgets(buf, sizeof(buf), stdin)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:343:11: note: place parentheses around the assignment to silence this warning while (s = fgets(buf, sizeof(buf), stdin)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:343:11: note: use '==' to turn this assignment into an equality comparison while (s = fgets(buf, sizeof(buf), stdin)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:446:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = copy(&b, arg[2])) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:446:10: note: place parentheses around the assignment to silence this warning if (s = copy(&b, arg[2])) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:446:10: note: use '==' to turn this assignment into an equality comparison if (s = copy(&b, arg[2])) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:452:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:452:12: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:452:12: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = copy(&b, arg[4])) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:508:10: note: place parentheses around the assignment to silence this warning if (s = copy(&b, arg[4])) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:508:10: note: use '==' to turn this assignment into an equality comparison if (s = copy(&b, arg[4])) ^ == 5 warnings generated. ld: warning: option -m is obsolete and being ignored + ./lcgen 36158.1 36158.2 + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' 36158.1 + rm -f 36158.1 + cmp -s 36158.3 lc.h + mv 36158.3 lc.h + cmp -s 36158.2 lctab.c + mv 36158.2 lctab.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathexists.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:129:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!t->mode || c && (t->mode & PATH_REGULAR)) ~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:129:21: note: place parentheses around the '&&' expression to silence this warning if (!t->mode || c && (t->mode & PATH_REGULAR)) ^ ( ) 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathfind.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:155:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr((char*)lib, ':')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:155:9: note: place parentheses around the assignment to silence this warning if (s = strrchr((char*)lib, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:155:9: note: use '==' to turn this assignment into an equality comparison if (s = strrchr((char*)lib, ':')) ^ == 1 warning generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/preroot.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/preroot.sh ... iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/preroot.sh ... yes + cmp -s FEATURE/preroot preroot.h + rm -f preroot.h + silent test -d . + /bin/cp FEATURE/preroot preroot.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:96:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (flags = strchr(path, ' ')) ~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:96:13: note: place parentheses around the assignment to silence this warning if (flags = strchr(path, ' ')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:96:13: note: use '==' to turn this assignment into an equality comparison if (flags = strchr(path, ' ')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:154:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = astconf("UNIVERSE", NiL, NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:154:9: note: place parentheses around the assignment to silence this warning if (k = astconf("UNIVERSE", NiL, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:154:9: note: use '==' to turn this assignment into an equality comparison if (k = astconf("UNIVERSE", NiL, NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:258:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = env[c]) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:258:10: note: place parentheses around the assignment to silence this warning if (k = env[c]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:258:10: note: use '==' to turn this assignment into an equality comparison if (k = env[c]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:276:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = env[c]) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:276:11: note: place parentheses around the assignment to silence this warning if (k = env[c]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:276:11: note: use '==' to turn this assignment into an equality comparison if (k = env[c]) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std '-DHOSTTYPE="darwin.i386"' -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:84:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid())) ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:84:77: note: place parentheses around the '&&' expression to silence this warning if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid())) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:131:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(proc, ' ')) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:131:9: note: place parentheses around the assignment to silence this warning if (p = strchr(proc, ' ')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:131:9: note: use '==' to turn this assignment into an equality comparison if (p = strchr(proc, ' ')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:208:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (op >= -1 && (!(st.st_mode & S_ISUID) && ps.st_uid != geteuid() || rofs(path))) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:208:43: note: place parentheses around the '&&' expression to silence this warning if (op >= -1 && (!(st.st_mode & S_ISUID) && ps.st_uid != geteuid() || rofs(path))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:224:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfopen(NiL, path, "r")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:224:11: note: place parentheses around the assignment to silence this warning if (sp = sfopen(NiL, path, "r")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:224:11: note: use '==' to turn this assignment into an equality comparison if (sp = sfopen(NiL, path, "r")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = sfgetr(sp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:226:11: note: place parentheses around the assignment to silence this warning if (x = sfgetr(sp, '\n', 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:226:11: note: use '==' to turn this assignment into an equality comparison if (x = sfgetr(sp, '\n', 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = *x++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:232:12: note: place parentheses around the assignment to silence this warning if (n = *x++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:232:12: note: use '==' to turn this assignment into an equality comparison if (n = *x++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:255:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:255:16: note: place parentheses around the assignment to silence this warning if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:255:16: note: use '==' to turn this assignment into an equality comparison if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathrepl.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathrepl.c:75:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p < path) while (*p++ = *path++); ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathrepl.c:75:31: note: place parentheses around the assignment to silence this warning if (p < path) while (*p++ = *path++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathrepl.c:75:31: note: use '==' to turn this assignment into an equality comparison if (p < path) while (*p++ = *path++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathnative.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathposix.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/tv iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: is _st_mtimespec.tv_nsec_stat an identifier ... no iffe: test: is stat a type or typedef ... no iffe: test: is st_mtimespec.tv_nsec a member of struct stat ... yes iffe: test: is ( !no_stat_nsec ) true ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/tv tv.h + rm -f tv.h + silent test -d . + /bin/cp FEATURE/tv tv.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:185:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(d = (char*)dir) || *d && eaccess(d, W_OK|X_OK)) ~~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:185:30: note: place parentheses around the '&&' expression to silence this warning if (!(d = (char*)dir) || *d && eaccess(d, W_OK|X_OK)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:193:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:193:14: note: place parentheses around the assignment to silence this warning while (s = strchr(s, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:193:14: note: use '==' to turn this assignment into an equality comparison while (s = strchr(s, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:203:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (x = strchr(x, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:203:14: note: place parentheses around the assignment to silence this warning while (x = strchr(x, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:203:14: note: use '==' to turn this assignment into an equality comparison while (x = strchr(x, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:242:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:242:39: note: place parentheses around the '&&' expression to silence this warning if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:242:101: warning: '&&' within '||' [-Wlogical-op-parentheses] if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:242:101: note: place parentheses around the '&&' expression to silence this warning if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:291:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid())) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:291:29: note: place parentheses around the '&&' expression to silence this warning if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid())) ^ ( ) 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathtmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathstat.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathbin.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathshell.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathcd.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/prog iffe: test: is sys/types.h a header ... yes iffe: test: is getexecname a library function ... no iffe: test: is _NSGetExecutablePath a library function ... yes iffe: test: run{ ... }end ... yes iffe: test: is mach-o/dyld.h a header ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/path/pathprog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fs3d.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fs3d.c:63:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = strchr(val, ' ')) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fs3d.c:63:8: note: place parentheses around the assignment to silence this warning if (v = strchr(val, ' ')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fs3d.c:63:8: note: use '==' to turn this assignment into an equality comparison if (v = strchr(val, ' ')) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:73:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (children = flags & FTW_CHILDREN) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:73:15: note: place parentheses around the assignment to silence this warning if (children = flags & FTW_CHILDREN) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:73:15: note: use '==' to turn this assignment into an equality comparison if (children = flags & FTW_CHILDREN) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:78:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!path || !(flags & FTS_ONEPATH) && !(path = (const char*)(*((char**)path)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:78:39: note: place parentheses around the '&&' expression to silence this warning if (!path || !(flags & FTS_ONEPATH) && !(path = (const char*)(*((char**)path)))) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:606:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (path = *pathnames++) ~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:606:14: note: place parentheses around the assignment to silence this warning while (path = *pathnames++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:606:14: note: use '==' to turn this assignment into an equality comparison while (path = *pathnames++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:635:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*path++ = *s++); ~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:635:21: note: place parentheses around the assignment to silence this warning while (*path++ = *s++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:635:21: note: use '==' to turn this assignment into an equality comparison while (*path++ = *s++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:935:96: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((fts->diroot = search(f, fts->diroot, statcmp, 0)) != f || f->fts_level > 0 && (t = f) && statcmp(&t, &f->fts_parent) == 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:935:96: note: place parentheses around the '&&' expression to silence this warning if ((fts->diroot = search(f, fts->diroot, statcmp, 0)) != f || f->fts_level > 0 && (t = f) && statcmp(&t, &f->fts_parent) == 0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1002:26: warning: '&&' within '||' [-Wlogical-op-parentheses] fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ~~~~~~~~^~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1002:26: note: place parentheses around the '&&' expression to silence this warning fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1002:60: warning: '&&' within '||' [-Wlogical-op-parentheses] fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1002:60: note: place parentheses around the '&&' expression to silence this warning fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1012:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (d = readdir(fts->dir)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1012:13: note: place parentheses around the assignment to silence this warning while (d = readdir(fts->dir)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1012:13: note: use '==' to turn this assignment into an equality comparison while (d = readdir(fts->dir)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1088:44: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((fts->nostat || SKIP(fts, f)) && (f->fts_info = FTS_NSOK) || info(fts, f, s, &f->statb, fts->flags)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1088:44: note: place parentheses around the '&&' expression to silence this warning else if ((fts->nostat || SKIP(fts, f)) && (f->fts_info = FTS_NSOK) || info(fts, f, s, &f->statb, fts->flags)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1137:22: warning: '&&' within '||' [-Wlogical-op-parentheses] || fts->pwd && fts->pwd->symlink ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1137:22: note: place parentheses around the '&&' expression to silence this warning || fts->pwd && fts->pwd->symlink ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1492:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = fts_read(fts)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1492:9: note: place parentheses around the assignment to silence this warning if (f = fts_read(fts)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1492:9: note: use '==' to turn this assignment into an equality comparison if (f = fts_read(fts)) ^ == 9 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/astintercept.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfstropen()) ~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:50:9: note: place parentheses around the assignment to silence this warning if (sp = sfstropen()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:50:9: note: use '==' to turn this assignment into an equality comparison if (sp = sfstropen()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:53:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1< 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~~~~~^~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:69:20: note: place parentheses around the '&&' expression to silence this warning else if (c > 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:69:53: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c > 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~ ~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:69:53: note: place parentheses around the '&&' expression to silence this warning else if (c > 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:79:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, char*, j, i)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:79:9: note: place parentheses around the assignment to silence this warning if (p = newof(0, char*, j, i)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:79:9: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, char*, j, i)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:78:3: warning: expression result unused [-Wunused-value] sfstrseek(sp, 0, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:144:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (m = *q++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:144:12: note: place parentheses around the assignment to silence this warning while (m = *q++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:144:12: note: use '==' to turn this assignment into an equality comparison while (m = *q++) ^ == 8 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/getenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:99:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p = *v++) ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:99:14: note: place parentheses around the assignment to silence this warning while (*p = *v++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:99:14: note: use '==' to turn this assignment into an equality comparison while (*p = *v++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:118:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; s = *p; p++) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:118:11: note: place parentheses around the assignment to silence this warning for (; s = *p; p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:118:11: note: use '==' to turn this assignment into an equality comparison for (; s = *p; p++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:130:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*v++ = *p++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:130:19: note: place parentheses around the assignment to silence this warning while (*v++ = *p++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:130:19: note: use '==' to turn this assignment into an equality comparison while (*v++ = *p++); ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:527:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (tsp = psp) ~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:527:13: note: place parentheses around the assignment to silence this warning while (tsp = psp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:527:13: note: use '==' to turn this assignment into an equality comparison while (tsp = psp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:544:50: warning: '&&' within '||' [-Wlogical-op-parentheses] while (*s == '\t' || *s == '\r' || version >= 1 && *s == ' ') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:544:50: note: place parentheses around the '&&' expression to silence this warning while (*s == '\t' || *s == '\r' || version >= 1 && *s == ' ') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:600:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:600:16: note: place parentheses around the assignment to silence this warning else while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:600:16: note: use '==' to turn this assignment into an equality comparison else while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:733:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*x == '*' && !v++ || *x == '\a') ~~~~~~~~~~^~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:733:19: note: place parentheses around the '&&' expression to silence this warning if (*x == '*' && !v++ || *x == '\a') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:895:4: warning: expression result unused [-Wunused-value] sfstrseek(ip, 0, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:905:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sfstruse(ip)) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:905:8: note: place parentheses around the assignment to silence this warning if (s = sfstruse(ip)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:905:8: note: use '==' to turn this assignment into an equality comparison if (s = sfstruse(ip)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:925:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state.msgdict = dtopen(&state.msgdisc, Dtset)) ~~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:925:20: note: place parentheses around the assignment to silence this warning if (state.msgdict = dtopen(&state.msgdisc, Dtset)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:925:20: note: use '==' to turn this assignment into an equality comparison if (state.msgdict = dtopen(&state.msgdisc, Dtset)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1064:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1064:38: note: place parentheses around the '&&' expression to silence this warning if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1064:95: warning: '&&' within '||' [-Wlogical-op-parentheses] if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1064:95: note: place parentheses around the '&&' expression to silence this warning if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1064:150: warning: '&&' within '||' [-Wlogical-op-parentheses] if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1064:150: note: place parentheses around the '&&' expression to silence this warning if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1109:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = p->catalog) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1109:8: note: place parentheses around the assignment to silence this warning if (s = p->catalog) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1109:8: note: use '==' to turn this assignment into an equality comparison if (s = p->catalog) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1134:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (*t == '[') ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1156:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = (c = *s++) == ':') ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1156:10: note: place parentheses around the assignment to silence this warning if (a = (c = *s++) == ':') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1156:10: note: use '==' to turn this assignment into an equality comparison if (a = (c = *s++) == ':') ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1224:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tsp = newof(0, Push_t, 1, n + 1)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1224:10: note: place parentheses around the assignment to silence this warning if (tsp = newof(0, Push_t, 1, n + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1224:10: note: use '==' to turn this assignment into an equality comparison if (tsp = newof(0, Push_t, 1, n + 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tsp = newof(0, Push_t, 1, n + 1)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1272:10: note: place parentheses around the assignment to silence this warning if (tsp = newof(0, Push_t, 1, n + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1272:10: note: use '==' to turn this assignment into an equality comparison if (tsp = newof(0, Push_t, 1, n + 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1659:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = sfstruse(ip)) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1659:12: note: place parentheses around the assignment to silence this warning if (b = sfstruse(ip)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1659:12: note: use '==' to turn this assignment into an equality comparison if (b = sfstruse(ip)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1745:22: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1745:22: note: place parentheses around the '&&' expression to silence this warning if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1745:102: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1745:102: note: place parentheses around the '&&' expression to silence this warning if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1774:37: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (style != STYLE_options && style != STYLE_match || *s == '-' || *s == '+') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1774:37: note: place parentheses around the '&&' expression to silence this warning else if (style != STYLE_options && style != STYLE_match || *s == '-' || *s == '+') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1851:74: warning: '&&' within '||' [-Wlogical-op-parentheses] if (level <= 1 || *s != '[' || *(s + 1) != '-' || style == STYLE_man && *(s + 2) == '?' || isalpha(*(s + 2))) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1851:74: note: place parentheses around the '&&' expression to silence this warning if (level <= 1 || *s != '[' || *(s + 1) != '-' || style == STYLE_man && *(s + 2) == '?' || isalpha(*(s + 2))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1900:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ~~ ~~~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1900:27: note: place parentheses around the '&&' expression to silence this warning if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1900:53: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ~~ ~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1900:53: note: place parentheses around the '&&' expression to silence this warning if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1903:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '-' && (*t == '?' || isdigit(*t) || *s == '?' && *(s + 1) == '\n')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1903:58: note: place parentheses around the '&&' expression to silence this warning if (c == '-' && (*t == '?' || isdigit(*t) || *s == '?' && *(s + 1) == '\n')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = sfstruse(ip)) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1941:12: note: place parentheses around the assignment to silence this warning if (w = sfstruse(ip)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1941:12: note: use '==' to turn this assignment into an equality comparison if (w = sfstruse(ip)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1962:66: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c == ']' || c == '?' && *(s + 1) == ']' && *(s + 2) != ']' && s++) && (c = *(s = next(s + 1, version))) == GO) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1962:66: note: place parentheses around the '&&' expression to silence this warning if ((c == ']' || c == '?' && *(s + 1) == ']' && *(s + 2) != ']' && s++) && (c = *(s = next(s + 1, version))) == GO) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2519:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = getenv("ERROR_OPTIONS")) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2519:10: note: place parentheses around the assignment to silence this warning if (x = getenv("ERROR_OPTIONS")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2519:10: note: use '==' to turn this assignment into an equality comparison if (x = getenv("ERROR_OPTIONS")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2641:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (a == 0 && (c == ' ' || c == '\n' && *p == '\n')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2641:42: note: place parentheses around the '&&' expression to silence this warning if (a == 0 && (c == ' ' || c == '\n' && *p == '\n')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2663:83: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c == ':' || c == '#') && (*p == '[' || *p == '?' && *(p + 1) == '[' && p++)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2663:83: note: place parentheses around the '&&' expression to silence this warning else if ((c == ':' || c == '#') && (*p == '[' || *p == '?' && *(p + 1) == '[' && p++)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2775:6: warning: expression result unused [-Wunused-value] sfstrseek(mp, m, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2779:6: warning: expression result unused [-Wunused-value] sfstrseek(mp, -1, SEEK_CUR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2802:7: warning: expression result unused [-Wunused-value] sfstrseek(mp, m, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2806:7: warning: expression result unused [-Wunused-value] sfstrseek(mp, -1, SEEK_CUR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2988:87: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(p + 1) == '?' || *(s = skip(p + 1, ':', '?', 0, 1, 0, 0, version)) == '?' && isspace(*(s + 1))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2988:87: note: place parentheses around the '&&' expression to silence this warning if (*(p + 1) == '?' || *(s = skip(p + 1, ':', '?', 0, 1, 0, 0, version)) == '?' && isspace(*(s + 1))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3076:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (sl || (p - s) == 1 || *(s + 1) == '=' || *(s + 1) == '!' && (a |= OPT_invert) || *(s + 1) == '|') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3076:68: note: place parentheses around the '&&' expression to silence this warning if (sl || (p - s) == 1 || *(s + 1) == '=' || *(s + 1) == '!' && (a |= OPT_invert) || *(s + 1) == '|') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3110:62: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ~~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3110:62: note: place parentheses around the '&&' expression to silence this warning if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3110:96: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ~~ ~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3110:96: note: place parentheses around the '&&' expression to silence this warning if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3186:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3186:18: note: place parentheses around the '&&' expression to silence this warning if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3186:52: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3186:52: note: place parentheses around the '&&' expression to silence this warning if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3235:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (style <= STYLE_short && !y && !mutex || style == STYLE_posix) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3235:36: note: place parentheses around the '&&' expression to silence this warning if (style <= STYLE_short && !y && !mutex || style == STYLE_posix) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3332:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = (a & ~m) | mode) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3332:14: note: place parentheses around the assignment to silence this warning if (m = (a & ~m) | mode) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3332:14: note: use '==' to turn this assignment into an equality comparison if (m = (a & ~m) | mode) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3508:4: warning: expression result unused [-Wunused-value] sfstrseek(mp, -1, SEEK_CUR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3531:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = o->release) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3531:9: note: place parentheses around the assignment to silence this warning if (s = o->release) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3531:9: note: use '==' to turn this assignment into an equality comparison if (s = o->release) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3626:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3626:11: note: place parentheses around the assignment to silence this warning if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3626:11: note: use '==' to turn this assignment into an equality comparison if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3676:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (t = strchr(u, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3676:15: note: place parentheses around the assignment to silence this warning else if (t = strchr(u, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3676:15: note: use '==' to turn this assignment into an equality comparison else if (t = strchr(u, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3766:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *p++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3766:12: note: place parentheses around the assignment to silence this warning while (c = *p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3766:12: note: use '==' to turn this assignment into an equality comparison while (c = *p++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3780:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((style == STYLE_man || style == STYLE_html) && (!head || *p != ' ' && *p != '\t')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3780:77: note: place parentheses around the '&&' expression to silence this warning if ((style == STYLE_man || style == STYLE_html) && (!head || *p != ' ' && *p != '\t')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3789:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (style == STYLE_html && (*p != '<' || !strneq(p, "
", 4) && !strneq(p, "

", 3))) ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3789:68: note: place parentheses around the '&&' expression to silence this warning if (style == STYLE_html && (*p != '<' || !strneq(p, "
", 4) && !strneq(p, "

", 3))) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3972:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*y++ == 't' && *y++ == 't' && *y++ == 'p' && (*y == ':' || *y++ == 's' && *y == ':') && *y++ == ':' && *y++ == '/' && *y++ == '/') ~~ ~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3972:82: note: place parentheses around the '&&' expression to silence this warning if (*y++ == 't' && *y++ == 't' && *y++ == 'p' && (*y == ':' || *y++ == 's' && *y == ':') && *y++ == ':' && *y++ == '/' && *y++ == '/') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4023:8: warning: expression result unused [-Wunused-value] sfstrseek(mp, 1, SEEK_CUR); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4045:3: warning: expression result unused [-Wunused-value] sfstrseek(mp, t - d, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4137:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!p || !(mp = state.mp) && !(mp = state.mp = sfstropen())) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4137:29: note: place parentheses around the '&&' expression to silence this warning if (!p || !(mp = state.mp) && !(mp = state.mp = sfstropen())) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4168:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (p = sfstruse(tp)) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4168:15: note: place parentheses around the assignment to silence this warning else if (p = sfstruse(tp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4168:15: note: use '==' to turn this assignment into an equality comparison else if (p = sfstruse(tp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4189:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4189:33: note: place parentheses around the '&&' expression to silence this warning if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4189:91: warning: '&&' within '||' [-Wlogical-op-parentheses] if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4189:91: note: place parentheses around the '&&' expression to silence this warning if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4197:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (opt_info.arg = sfstruse(mp)) ~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4197:19: note: place parentheses around the assignment to silence this warning if (opt_info.arg = sfstruse(mp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4197:19: note: use '==' to turn this assignment into an equality comparison if (opt_info.arg = sfstruse(mp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4357:52: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(xp = state.xp) || (catalog = pass->catalog) && !X(catalog)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4357:52: note: place parentheses around the '&&' expression to silence this warning if (!(xp = state.xp) || (catalog = pass->catalog) && !X(catalog)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4413:73: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c = *s++) != '-' && (c != '+' || !(pass->flags & OPT_plus) && (!(pass->flags & OPT_numeric) || !isdigit(*s)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4413:73: note: place parentheses around the '&&' expression to silence this warning else if ((c = *s++) != '-' && (c != '+' || !(pass->flags & OPT_plus) && (!(pass->flags & OPT_numeric) || !isdigit(*s)))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4518:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = argv[opt_info.index][opt_info.offset++]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4518:9: note: place parentheses around the assignment to silence this warning if (c = argv[opt_info.index][opt_info.offset++]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4518:9: note: use '==' to turn this assignment into an equality comparison if (c = argv[opt_info.index][opt_info.offset++]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4589:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = cache->flags[map[c]]) ~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4589:11: note: place parentheses around the assignment to silence this warning if (k = cache->flags[map[c]]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4589:11: note: use '==' to turn this assignment into an equality comparison if (k = cache->flags[map[c]]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4631:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (opt_info.arg = argv[opt_info.index]) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4631:28: note: place parentheses around the assignment to silence this warning else if (opt_info.arg = argv[opt_info.index]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4631:28: note: use '==' to turn this assignment into an equality comparison else if (opt_info.arg = argv[opt_info.index]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4634:89: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((k & OPT_cache_optional) && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4634:89: note: place parentheses around the '&&' expression to silence this warning if ((k & OPT_cache_optional) && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4673:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (cache = newof(0, Optcache_t, 1, 0)) ~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4673:19: note: place parentheses around the assignment to silence this warning else if (cache = newof(0, Optcache_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4673:19: note: use '==' to turn this assignment into an equality comparison else if (cache = newof(0, Optcache_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4771:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(f, ':')) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4771:14: note: place parentheses around the assignment to silence this warning if (s = strrchr(f, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4771:14: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(f, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4827:38: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == *w || SEP(*s) && SEP(*w)) ~~ ~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4827:38: note: place parentheses around the '&&' expression to silence this warning else if (*s == *w || SEP(*s) && SEP(*w)) ~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4841:64: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4841:64: note: place parentheses around the '&&' expression to silence this warning else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4856:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = no) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4856:14: note: place parentheses around the assignment to silence this warning if (n = no) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4856:14: note: use '==' to turn this assignment into an equality comparison if (n = no) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4884:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == *w || SEP(*s) && SEP(*w)) ~~ ~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4884:39: note: place parentheses around the '&&' expression to silence this warning else if (*s == *w || SEP(*s) && SEP(*w)) ~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4898:65: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4898:65: note: place parentheses around the '&&' expression to silence this warning else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4933:52: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4933:52: note: place parentheses around the '&&' expression to silence this warning else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5158:51: warning: '&&' within '||' [-Wlogical-op-parentheses] if (v && (a == 0 || *a == 0 || *(a + 1) != ':' && *(a + 1) != '#') && (*v == '0' || *v == '1') && !*(v + 1)) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5158:51: note: place parentheses around the '&&' expression to silence this warning if (v && (a == 0 || *a == 0 || *(a + 1) != ':' && *(a + 1) != '#') && (*v == '0' || *v == '1') && !*(v + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5188:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5188:11: note: place parentheses around the assignment to silence this warning if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5188:11: note: use '==' to turn this assignment into an equality comparison if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5217:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((n = *++s == '#') || *s == ':' || w && !nov && v && (optnumber(v, &e, NiL), n = !*e)) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5217:55: note: place parentheses around the '&&' expression to silence this warning if ((n = *++s == '#') || *s == ':' || w && !nov && v && (optnumber(v, &e, NiL), n = !*e)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5237:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(opt_info.arg = v) || (*v == '0' || *v == '1') && !*(v + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5237:57: note: place parentheses around the '&&' expression to silence this warning if (!(opt_info.arg = v) || (*v == '0' || *v == '1') && !*(v + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5305:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (opt_info.arg = argv[opt_info.index]) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5305:25: note: place parentheses around the assignment to silence this warning else if (opt_info.arg = argv[opt_info.index]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5305:25: note: use '==' to turn this assignment into an equality comparison else if (opt_info.arg = argv[opt_info.index]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5308:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(s + 1) == '?' && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5308:77: note: place parentheses around the '&&' expression to silence this warning if (*(s + 1) == '?' && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5409:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == *w || SEP(*s) && SEP(*w)) ~~ ~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5409:39: note: place parentheses around the '&&' expression to silence this warning else if (*s == *w || SEP(*s) && SEP(*w)) ~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5423:65: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5423:65: note: place parentheses around the '&&' expression to silence this warning else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5456:53: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5456:53: note: place parentheses around the '&&' expression to silence this warning else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5515:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5515:10: note: place parentheses around the assignment to silence this warning if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5515:10: note: use '==' to turn this assignment into an equality comparison if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5667:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *++s) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5667:14: note: place parentheses around the assignment to silence this warning while (c = *++s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5667:14: note: use '==' to turn this assignment into an equality comparison while (c = *++s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5745:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*e++ = *s++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5745:16: note: place parentheses around the assignment to silence this warning while (*e++ = *s++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5745:16: note: use '==' to turn this assignment into an equality comparison while (*e++ = *s++); ^ == 81 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c:72:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (fun = va_arg(ap, Optpass_f)) ~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c:72:14: note: place parentheses around the assignment to silence this warning while (fun = va_arg(ap, Optpass_f)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c:72:14: note: use '==' to turn this assignment into an equality comparison while (fun = va_arg(ap, Optpass_f)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c:102:98: warning: '&&' within '||' [-Wlogical-op-parentheses] if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c:102:98: note: place parentheses around the '&&' expression to silence this warning if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset)) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:51:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:51:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:51:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:67:21: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c == '-' && *s == '-' || c == '<') ~~~~~~~~~^~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:67:21: note: place parentheses around the '&&' expression to silence this warning else if (c == '-' && *s == '-' || c == '<') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:76:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '<' && *s == '>' || isspace(*s) || *s == 0 || *s == '=' || *s == ':' || *s == ';' || *s == '.' || *s == ',') ~~~~~~~~~^~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:76:17: note: place parentheses around the '&&' expression to silence this warning if (c == '<' && *s == '>' || isspace(*s) || *s == 0 || *s == '=' || *s == ':' || *s == ';' || *s == '.' || *s == ',') ^ ( ) 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optctx.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optctx.c:62:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (o = freecontext) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optctx.c:62:9: note: place parentheses around the assignment to silence this warning if (o = freecontext) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/optctx.c:62:9: note: use '==' to turn this assignment into an equality comparison if (o = freecontext) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strsort.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struniq.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:337:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 1)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:337:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:337:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:345:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 2)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:345:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 2)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:345:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 2)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:353:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 8)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:353:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 8)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:353:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 8)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:361:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 4)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:361:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 4)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:361:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 4)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:620:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (base = strrchr(file, '/')) ~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:620:15: note: place parentheses around the assignment to silence this warning if (base = strrchr(file, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:620:15: note: use '==' to turn this assignment into an equality comparison if (base = strrchr(file, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:745:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mask = ep->mask) ~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:745:12: note: place parentheses around the assignment to silence this warning if (mask = ep->mask) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:745:12: note: use '==' to turn this assignment into an equality comparison if (mask = ep->mask) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:998:10: warning: '&&' within '||' [-Wlogical-op-parentheses] if (all && b-- || mp->keep[level] && b > cur) ~~~~^~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:998:10: note: place parentheses around the '&&' expression to silence this warning if (all && b-- || mp->keep[level] && b > cur) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:998:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (all && b-- || mp->keep[level] && b > cur) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:998:36: note: place parentheses around the '&&' expression to silence this warning if (all && b-- || mp->keep[level] && b > cur) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1101:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(s, '/')) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1101:11: note: place parentheses around the assignment to silence this warning if (t = strrchr(s, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1101:11: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(s, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1144:41: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == q && (q != '*' || *b == '/' && b++)) ~~ ~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1144:41: note: place parentheses around the '&&' expression to silence this warning if (c == q && (q != '*' || *b == '/' && b++)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1188:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) ~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1188:23: note: place parentheses around the assignment to silence this warning if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1188:23: note: use '==' to turn this assignment into an equality comparison if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1198:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ip = (Info_t*)dtmatch(mp->idtab, s)) ~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1198:16: note: place parentheses around the assignment to silence this warning if (ip = (Info_t*)dtmatch(mp->idtab, s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1198:16: note: use '==' to turn this assignment into an equality comparison if (ip = (Info_t*)dtmatch(mp->idtab, s)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1304:76: warning: '&&' within '||' [-Wlogical-op-parentheses] if (match(base, "*@(makefile|.mk)") || mp->multi['\t'] >= mp->count[':'] && (mp->multi['$'] > 0 || mp->multi[':'] > 0)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1304:76: note: place parentheses around the '&&' expression to silence this warning if (match(base, "*@(makefile|.mk)") || mp->multi['\t'] >= mp->count[':'] && (mp->multi['$'] > 0 || mp->multi[':'] > 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1323:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (mp->fbsz < SF_BUFSIZE && ~~~~~~~~~~~~~~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1323:29: note: place parentheses around the '&&' expression to silence this warning if (mp->fbsz < SF_BUFSIZE && ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1327:30: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->fbsz >= SF_BUFSIZE && ~~~~~~~~~~~~~~~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1327:30: note: place parentheses around the '&&' expression to silence this warning mp->fbsz >= SF_BUFSIZE && ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1333:81: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c >= 2 && mp->identifier[ID_INCL2] >= c && mp->identifier[ID_INCL3] >= c && mp->count['.'] >= c || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1333:81: note: place parentheses around the '&&' expression to silence this warning if (c >= 2 && mp->identifier[ID_INCL2] >= c && mp->identifier[ID_INCL3] >= c && mp->count['.'] >= c || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1334:34: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->identifier[ID_C] >= 5 && mp->count[';'] >= 5 || ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1334:34: note: place parentheses around the '&&' expression to silence this warning mp->identifier[ID_C] >= 5 && mp->count[';'] >= 5 || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1335:29: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->count['='] >= 20 && mp->count[';'] >= 20) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1335:29: note: place parentheses around the '&&' expression to silence this warning mp->count['='] >= 20 && mp->count[';'] >= 20) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1377:30: warning: '&&' within '||' [-Wlogical-op-parentheses] (mp->fbsz < SF_BUFSIZE && mp->identifier[ID_MAM1] == mp->identifier[ID_MAM2] || ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1377:30: note: place parentheses around the '&&' expression to silence this warning (mp->fbsz < SF_BUFSIZE && mp->identifier[ID_MAM1] == mp->identifier[ID_MAM2] || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1378:31: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->fbsz >= SF_BUFSIZE && mp->identifier[ID_MAM1] >= mp->identifier[ID_MAM2])) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1378:31: note: place parentheses around the '&&' expression to silence this warning mp->fbsz >= SF_BUFSIZE && mp->identifier[ID_MAM1] >= mp->identifier[ID_MAM2])) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1693:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfgetr(fp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1693:11: note: place parentheses around the assignment to silence this warning while (p = sfgetr(fp, '\n', 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1693:11: note: use '==' to turn this assignment into an equality comparison while (p = sfgetr(fp, '\n', 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1737:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(p + 1) == '{' || *(p + 1) == '(' && *p != '+' && *p != '>' && *p != '&' && *p != '|') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1737:82: note: place parentheses around the '&&' expression to silence this warning if (*(p + 1) == '{' || *(p + 1) == '(' && *p != '+' && *p != '>' && *p != '&' && *p != '|') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1930:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(p, '&')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1930:9: note: place parentheses around the assignment to silence this warning if (p = strchr(p, '&')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1930:9: note: use '==' to turn this assignment into an equality comparison if (p = strchr(p, '&')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1947:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p2 = strchr(p, '\t')) ~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1947:10: note: place parentheses around the assignment to silence this warning if (p2 = strchr(p, '\t')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1947:10: note: use '==' to turn this assignment into an equality comparison if (p2 = strchr(p, '\t')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2063:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) ~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2063:23: note: place parentheses around the assignment to silence this warning if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2063:23: note: use '==' to turn this assignment into an equality comparison if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2160:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(p2, '\t')) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2160:10: note: place parentheses around the assignment to silence this warning if (p = strchr(p2, '\t')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2160:10: note: use '==' to turn this assignment into an equality comparison if (p = strchr(p2, '\t')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2176:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(p2, '\t')) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2176:14: note: place parentheses around the assignment to silence this warning if (p = strchr(p2, '\t')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2176:14: note: use '==' to turn this assignment into an equality comparison if (p = strchr(p2, '\t')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2242:67: warning: '&&' within '||' [-Wlogical-op-parentheses] if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2242:67: note: place parentheses around the '&&' expression to silence this warning if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2242:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2242:11: note: place parentheses around the assignment to silence this warning if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2242:11: note: use '==' to turn this assignment into an equality comparison if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2251:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (e = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2251:14: note: place parentheses around the assignment to silence this warning else if (e = strchr(s, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2251:14: note: use '==' to turn this assignment into an equality comparison else if (e = strchr(s, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2407:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp->fp = fp) ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2407:14: note: place parentheses around the assignment to silence this warning if (mp->fp = fp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2407:14: note: use '==' to turn this assignment into an equality comparison if (mp->fp = fp) ^ == 31 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:111:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (att = cap->att.next) ~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:111:13: note: place parentheses around the assignment to silence this warning while (att = cap->att.next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:111:13: note: use '==' to turn this assignment into an equality comparison while (att = cap->att.next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:129:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cap = ent->cap) ~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:129:13: note: place parentheses around the assignment to silence this warning while (cap = ent->cap) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:129:13: note: use '==' to turn this assignment into an equality comparison while (cap = ent->cap) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:159:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(*v) || *v == '/' && *(v + 1) == '*') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:159:33: note: place parentheses around the '&&' expression to silence this warning if (isspace(*v) || *v == '/' && *(v + 1) == '*') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:249:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:249:21: note: place parentheses around the '&&' expression to silence this warning if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:249:61: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:249:61: note: place parentheses around the '&&' expression to silence this warning if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:304:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (e = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:304:14: note: place parentheses around the assignment to silence this warning else if (e = strchr(s, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:304:14: note: use '==' to turn this assignment into an equality comparison else if (e = strchr(s, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:320:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = tokline(s, SF_READ, NiL)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:320:10: note: place parentheses around the assignment to silence this warning if (fp = tokline(s, SF_READ, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:320:10: note: use '==' to turn this assignment into an equality comparison if (fp = tokline(s, SF_READ, NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:322:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (t = sfgetr(fp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:322:13: note: place parentheses around the assignment to silence this warning while (t = sfgetr(fp, '\n', 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:322:13: note: use '==' to turn this assignment into an equality comparison while (t = sfgetr(fp, '\n', 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:348:71: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] || ent->name[wp->prefix] == '/')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:348:71: note: place parentheses around the '&&' expression to silence this warning if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] || ent->name[wp->prefix] == '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:417:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ent = (Ent_t*)dtmatch(mp->cap, s)) ~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:417:13: note: place parentheses around the assignment to silence this warning if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:417:13: note: use '==' to turn this assignment into an equality comparison if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:425:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ent = (Ent_t*)dtmatch(mp->cap, s)) ~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:425:14: note: place parentheses around the assignment to silence this warning if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:425:14: note: use '==' to turn this assignment into an equality comparison if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:450:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ws.pattern = pattern) ~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:450:17: note: place parentheses around the assignment to silence this warning if (ws.pattern = pattern) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:450:17: note: use '==' to turn this assignment into an equality comparison if (ws.pattern = pattern) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:453:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*pattern || *pattern == '*' && !*(pattern + 1)) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:453:36: note: place parentheses around the '&&' expression to silence this warning if (!*pattern || *pattern == '*' && !*(pattern + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:455:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ent = find(mp, ws.pattern)) ~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:455:16: note: place parentheses around the assignment to silence this warning else if (ent = find(mp, ws.pattern)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:455:16: note: use '==' to turn this assignment into an equality comparison else if (ent = find(mp, ws.pattern)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:568:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:568:26: note: place parentheses around the '&&' expression to silence this warning if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:568:51: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ~~ ~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:568:51: note: place parentheses around the '&&' expression to silence this warning if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:580:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:580:12: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:580:12: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:642:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ent = find(mp, type)) ~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:642:10: note: place parentheses around the assignment to silence this warning if (ent = find(mp, type)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:642:10: note: use '==' to turn this assignment into an equality comparison if (ent = find(mp, type)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:646:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = cap->test) ~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:646:13: note: place parentheses around the assignment to silence this warning while (s = cap->test) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:646:13: note: use '==' to turn this assignment into an equality comparison while (s = cap->test) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:648:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = expand(mp, s, name, type, opts)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:648:11: note: place parentheses around the assignment to silence this warning if (s = expand(mp, s, name, type, opts)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:648:11: note: use '==' to turn this assignment into an equality comparison if (s = expand(mp, s, name, type, opts)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:666:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:666:29: note: place parentheses around the '&&' expression to silence this warning if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:666:88: warning: '&&' within '||' [-Wlogical-op-parentheses] if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:666:88: note: place parentheses around the '&&' expression to silence this warning if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:686:67: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:686:67: note: place parentheses around the '&&' expression to silence this warning if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:686:112: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:686:112: note: place parentheses around the '&&' expression to silence this warning if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:745:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while (isalnum(*v) || *v == *s && (*v == '_' || *v == '-' || *v == '/')) ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:745:33: note: place parentheses around the '&&' expression to silence this warning while (isalnum(*v) || *v == *s && (*v == '_' || *v == '-' || *v == '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:746:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = lower(*s++) - lower(*v++)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:746:9: note: place parentheses around the assignment to silence this warning if (n = lower(*s++) - lower(*v++)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mime.c:746:9: note: use '==' to turn this assignment into an equality comparison if (n = lower(*s++) - lower(*v++)) ^ == 26 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sig.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sig.sh ... iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sig.sh ... yes + cmp -s FEATURE/sig sig.h + rm -f sig.h + silent test -d . + /bin/cp FEATURE/sig sig.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/signal.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/sigflag.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/systrace.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include '-DERROR_CATALOG="libast"' -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:277:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *name++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:277:12: note: place parentheses around the assignment to silence this warning while (c = *name++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:277:12: note: use '==' to turn this assignment into an equality comparison while (c = *name++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:335:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sfgetr(error_state.tty, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:335:9: note: place parentheses around the assignment to silence this warning if (s = sfgetr(error_state.tty, '\n', 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:335:9: note: use '==' to turn this assignment into an equality comparison if (s = sfgetr(error_state.tty, '\n', 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:416:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:416:58: note: place parentheses around the '&&' expression to silence this warning if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:416:169: warning: '&&' within '||' [-Wlogical-op-parentheses] if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:416:169: note: place parentheses around the '&&' expression to silence this warning if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:435:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (off = stktell(stkstd)) ~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:435:11: note: place parentheses around the assignment to silence this warning if (off = stktell(stkstd)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:435:11: note: use '==' to turn this assignment into an equality comparison if (off = stktell(stkstd)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:446:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (file || opt_info.argv && (file = opt_info.argv[0])) ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:446:30: note: place parentheses around the '&&' expression to silence this warning if (file || opt_info.argv && (file = opt_info.argv[0])) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:563:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = memchr(s, '\f', n)) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:563:10: note: place parentheses around the assignment to silence this warning if (t = memchr(s, '\f', n)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:563:10: note: use '==' to turn this assignment into an equality comparison if (t = memchr(s, '\f', n)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:642:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = freecontext) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:642:10: note: place parentheses around the assignment to silence this warning if (p = freecontext) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/error.c:642:10: note: use '==' to turn this assignment into an equality comparison if (p = freecontext) ^ == 8 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/errorf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/errormsg.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/errorx.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/errorx.c:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = (*error_info.translate)(loc, cmd, cat, msg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/errorx.c:46:9: note: place parentheses around the assignment to silence this warning if (s = (*error_info.translate)(loc, cmd, cat, msg)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/errorx.c:46:9: note: use '==' to turn this assignment into an equality comparison if (s = (*error_info.translate)(loc, cmd, cat, msg)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/localeconv.c + cmp -s FEATURE/standards ast_standards.h + rm -f ast_standards.h + silent test -d . + /bin/cp FEATURE/standards ast_standards.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:397:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = t) ~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:397:8: note: place parentheses around the assignment to silence this warning if (e = t) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:397:8: note: use '==' to turn this assignment into an equality comparison if (e = t) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:624:73: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:624:73: note: place parentheses around the '&&' expression to silence this warning if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:624:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:624:42: note: place parentheses around the '&&' expression to silence this warning if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:2501:150: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:2501:150: note: place parentheses around the '&&' expression to silence this warning if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:2501:107: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:2501:107: note: place parentheses around the '&&' expression to silence this warning if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ^ ( ) 5 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:89:3: warning: expression result unused [-Wunused-value] sfstrseek(sp, 0, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:140:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (o = setlocale(LC_MESSAGES, NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:140:14: note: place parentheses around the assignment to silence this warning else if (o = setlocale(LC_MESSAGES, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:140:14: note: use '==' to turn this assignment into an equality comparison else if (o = setlocale(LC_MESSAGES, NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:201:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp->messages = dtopen(&state.message_disc, Dtset)) ~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:201:20: note: place parentheses around the assignment to silence this warning if (cp->messages = dtopen(&state.message_disc, Dtset)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:201:20: note: use '==' to turn this assignment into an equality comparison if (cp->messages = dtopen(&state.message_disc, Dtset)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:207:65: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:207:65: note: place parentheses around the '&&' expression to silence this warning if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:207:115: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:207:115: note: place parentheses around the '&&' expression to silence this warning if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:242:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:242:9: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:242:9: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:347:70: warning: '&&' within '||' [-Wlogical-op-parentheses] (!error_info.catalog || !(mp = match(error_info.catalog, msg))) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:347:70: note: place parentheses around the '&&' expression to silence this warning (!error_info.catalog || !(mp = match(error_info.catalog, msg))) && ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:426:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ~~~~^~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:426:30: note: place parentheses around the '&&' expression to silence this warning if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:426:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ~~ ~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/translate.c:426:59: note: place parentheses around the '&&' expression to silence this warning if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ^ ( ) 9 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/iconv iffe: test: is sys/types.h a header ... yes iffe: test: is iconv.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is iconv_open a library function ... yes iffe: test: is iconv_close a library function ... yes iffe: test: is iconv a library function ... yes iffe: test: is iconv an include path for the native header ... yes iffe: test: output{ ... }end ... yes + cmp -s FEATURE/iconv ast_iconv.h + rm -f ast_iconv.h + silent test -d . + /bin/cp FEATURE/iconv ast_iconv.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:106:9: warning: '&&' within '||' [-Wlogical-op-parentheses] if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:106:9: note: place parentheses around the '&&' expression to silence this warning if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:106:64: warning: '&&' within '||' [-Wlogical-op-parentheses] if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:106:64: note: place parentheses around the '&&' expression to silence this warning if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sfstruse(((Cc_t*)cat)->tmp)) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:157:10: note: place parentheses around the assignment to silence this warning if (s = sfstruse(((Cc_t*)cat)->tmp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:157:10: note: use '==' to turn this assignment into an equality comparison if (s = sfstruse(((Cc_t*)cat)->tmp)) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = bp) ~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:473:9: note: place parentheses around the assignment to silence this warning if (cp = bp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:473:9: note: use '==' to turn this assignment into an equality comparison if (cp = bp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:701:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:701:12: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:701:12: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:704:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; c = ume_M[i]; i++) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:704:17: note: place parentheses around the assignment to silence this warning for (i = 0; c = ume_M[i]; i++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:704:17: note: use '==' to turn this assignment into an equality comparison for (i = 0; c = ume_M[i]; i++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1060:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!t || !*t || *t == '-' && !*(t + 1) || !strcasecmp(t, name_local) || !strcasecmp(t, name_native)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1060:29: note: place parentheses around the '&&' expression to silence this warning if (!t || !*t || *t == '-' && !*(t + 1) || !strcasecmp(t, name_local) || !strcasecmp(t, name_native)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1062:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!f || !*f || *f == '-' && !*(f + 1) || !strcasecmp(t, name_local) || !strcasecmp(f, name_native)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1062:29: note: place parentheses around the '&&' expression to silence this warning if (!f || !*f || *f == '-' && !*(f + 1) || !strcasecmp(t, name_local) || !strcasecmp(f, name_native)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1076:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (fc != CC_ICONV && fc == tc || streq(fr, to)) ~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1076:21: note: place parentheses around the '&&' expression to silence this warning if (fc != CC_ICONV && fc == tc || streq(fr, to)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (oc = freelist[i]) ~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1212:11: note: place parentheses around the assignment to silence this warning if (oc = freelist[i]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1212:11: note: use '==' to turn this assignment into an equality comparison if (oc = freelist[i]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1285:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = cc->to.map) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1285:10: note: place parentheses around the assignment to silence this warning if (m = cc->to.map) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1285:10: note: use '==' to turn this assignment into an equality comparison if (m = cc->to.map) ^ == 8 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/locale iffe: test: is sys/types.h a header ... yes iffe: test: canonical UTF-8 name ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:258:78: warning: '&&' within '||' [-Wlogical-op-parentheses] return match(s, cp->code, 0, 1) || match(s, cp->alternates, 3, 1) || cp->ms && match(s, cp->ms, 0, 1); ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:258:78: note: place parentheses around the '&&' expression to silence this warning return match(s, cp->code, 0, 1) || match(s, cp->alternates, 3, 1) || cp->ms && match(s, cp->ms, 0, 1); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:462:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (al = newof(0, Lc_attribute_list_t, 1, 0)) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:462:16: note: place parentheses around the assignment to silence this warning else if (al = newof(0, Lc_attribute_list_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:462:16: note: use '==' to turn this assignment into an equality comparison else if (al = newof(0, Lc_attribute_list_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:474:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:474:43: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:474:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:474:57: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:476:75: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:476:75: note: place parentheses around the '&&' expression to silence this warning while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:527:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:527:56: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:527:70: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:527:70: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:529:76: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:529:76: note: place parentheses around the '&&' expression to silence this warning while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:695:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = attributes_name) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:695:8: note: place parentheses around the assignment to silence this warning if (s = attributes_name) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:695:8: note: use '==' to turn this assignment into an equality comparison if (s = attributes_name) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:714:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ai = newof(0, Lc_attribute_list_t, 1, 0)) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:714:14: note: place parentheses around the assignment to silence this warning if (ai = newof(0, Lc_attribute_list_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:714:14: note: use '==' to turn this assignment into an equality comparison if (ai = newof(0, Lc_attribute_list_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:739:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = charset_name) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:739:8: note: place parentheses around the assignment to silence this warning if (s = charset_name) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/lc.c:739:8: note: use '==' to turn this assignment into an equality comparison if (s = charset_name) ^ == 11 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c lctab.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/float iffe: test: is sys/types.h a header ... yes iffe: test: is float.h a header ... yes iffe: test: is limits.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is values.h a header ... no iffe: test: is -lm a library ... yes iffe: test: is frexp a library function ... yes iffe: test: is frexpl a library function ... yes iffe: test: is ldexp a library function ... yes iffe: test: is ldexpl a library function ... yes iffe: test: is finite a library function ... yes iffe: test: is finitel a library function ... no iffe: test: is isinfl a library function ... no iffe: test: is isnanl a library function ... no iffe: test: is copysign a library function ... yes iffe: test: is copysignl a library function ... yes iffe: test: is frexp a symbol that needs a prototype ... no iffe: test: is frexpl a symbol that needs a prototype ... no iffe: test: is ldexp a symbol that needs a prototype ... no iffe: test: is ldexpl a symbol that needs a prototype ... no iffe: test: is finite a symbol that needs a prototype ... no iffe: test: is finitel a symbol that needs a prototype ... yes iffe: test: is isinfl a symbol that needs a prototype ... yes iffe: test: is isnanl a symbol that needs a prototype ... yes iffe: test: is copysign a symbol that needs a prototype ... no iffe: test: is copysignl a symbol that needs a prototype ... no iffe: test: fpclassify present and works ... yes iffe: test: isinf present and works ... yes iffe: test: isnan present and works ... yes iffe: test: signbit present and works ... yes iffe: test: no unsigned intmax => floatmax cast ... no iffe: test: fpe on mpy overflow ... no iffe: test: fpe on div underflow ... no iffe: test: macro{ ... }end ... yes iffe: test: missing floating point limits ... yes iffe: test: double exponent bitfoolery ... yes iffe: test: long double exponent bitfoolery ... yes iffe: test: _ast_fltmax_t maximum integral type ... yes iffe: test: INF and NAN memory representations ... yes + cmp -s FEATURE/tty ast_tty.h + rm -f ast_tty.h + silent test -d . + /bin/cp FEATURE/tty ast_tty.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sfio iffe: test: is sys/types.h a header ... yes iffe: test: is float.h a header ... yes iffe: test: is floatingpoint.h a header ... no iffe: test: is math.h a header ... yes iffe: test: is values.h a header ... no iffe: test: is sys/filio.h a header ... yes iffe: test: is sys/ioctl.h a header ... yes iffe: test: is qfrexp a library function ... no iffe: test: is qldexp a library function ... no iffe: test: is signed a reserved keyword ... yes iffe: test: number of bits in pointer ... yes iffe: test: open files cannot be removed ... no iffe: test: voidptr is larger than int ... no iffe: test: long is larger than int ... no iffe: test: register layout ok for vax string operations ... no iffe: test: native floating point conversions ok ... yes iffe: test: Stdio fseek/fflush are X/Open-compliant ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; p = paths[i]; i += next) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:97:16: note: place parentheses around the assignment to silence this warning for (i = 0; p = paths[i]; i += next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:97:16: note: use '==' to turn this assignment into an equality comparison for (i = 0; p = paths[i]; i += next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:190:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:190:10: note: place parentheses around the assignment to silence this warning if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:190:10: note: use '==' to turn this assignment into an equality comparison if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = sfgetu(ip)) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:299:11: note: place parentheses around the assignment to silence this warning while (i = sfgetu(ip)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:299:11: note: use '==' to turn this assignment into an equality comparison while (i = sfgetu(ip)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:315:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = sfgetu(ip)) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:315:10: note: place parentheses around the assignment to silence this warning if (n = sfgetu(ip)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:315:10: note: use '==' to turn this assignment into an equality comparison if (n = sfgetu(ip)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:358:3: warning: expression result unused [-Wunused-value] sfstrseek(mc->tmp, p, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:485:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sp->msg[num]) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:485:8: note: place parentheses around the assignment to silence this warning if (s = sp->msg[num]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:485:8: note: use '==' to turn this assignment into an equality comparison if (s = sp->msg[num]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:586:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sp->msg[j]) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:586:11: note: place parentheses around the assignment to silence this warning if (s = sp->msg[j]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mc.c:586:11: note: use '==' to turn this assignment into an equality comparison if (s = sp->msg[j]) ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:71:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = (unsigned char*)tb) ~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:71:9: note: place parentheses around the assignment to silence this warning if (tp = (unsigned char*)tb) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:71:9: note: use '==' to turn this assignment into an equality comparison if (tp = (unsigned char*)tb) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:179:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (tp = (unsigned char*)alp; c = *tp; tp++) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:179:36: note: place parentheses around the assignment to silence this warning for (tp = (unsigned char*)alp; c = *tp; tp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:179:36: note: use '==' to turn this assignment into an equality comparison for (tp = (unsigned char*)alp; c = *tp; tp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:186:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = (unsigned char*)tb) ~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:186:9: note: place parentheses around the assignment to silence this warning if (tp = (unsigned char*)tb) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/base64.c:186:9: note: use '==' to turn this assignment into an equality comparison if (tp = (unsigned char*)tb) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/recfmt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/recstr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/reclen.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/reclen.c:44:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/reclen.c:44:9: note: place parentheses around the assignment to silence this warning if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/reclen.c:44:9: note: use '==' to turn this assignment into an equality comparison if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fmtrec.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fmtrec.c:64:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = REC_V_SIZE(f)) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fmtrec.c:64:9: note: place parentheses around the assignment to silence this warning if (n = REC_V_SIZE(f)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/fmtrec.c:64:9: note: use '==' to turn this assignment into an equality comparison if (n = REC_V_SIZE(f)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtbase.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtbuf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtclock.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtelapsed.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmterror.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:83:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*b = *qb++) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:83:13: note: place parentheses around the assignment to silence this warning while (*b = *qb++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:83:13: note: use '==' to turn this assignment into an equality comparison while (*b = *qb++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:92:19: warning: expression result unused [-Wunused-value] if ((m = mbsize(s)) > 1 && (s + m) <= e) ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:202:126: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:202:126: note: place parentheses around the '&&' expression to silence this warning else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:202:82: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:202:82: note: place parentheses around the '&&' expression to silence this warning else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:212:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*b = *qe++) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:212:14: note: place parentheses around the assignment to silence this warning while (*b = *qe++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:212:14: note: use '==' to turn this assignment into an equality comparison while (*b = *qe++) ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfmt.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfmt.c:185:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (extra[i] = x) ~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfmt.c:185:18: note: place parentheses around the assignment to silence this warning if (extra[i] = x) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfmt.c:185:18: note: use '==' to turn this assignment into an equality comparison if (extra[i] = x) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:75:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:75:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:75:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp = mntopen(NiL, "r")) ~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:78:9: note: place parentheses around the assignment to silence this warning if (mp = mntopen(NiL, "r")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:78:9: note: use '==' to turn this assignment into an equality comparison if (mp = mntopen(NiL, "r")) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtident.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtint.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtip4.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c:62:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *p++) ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c:62:12: note: place parentheses around the assignment to silence this warning while (*s = *p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c:62:12: note: use '==' to turn this assignment into an equality comparison while (*s = *p++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c:106:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((r[k] = i - k) > r[m] || r[k] == r[m] && i >= (n - 1)) ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c:106:45: note: place parentheses around the '&&' expression to silence this warning if ((r[k] = i - k) > r[m] || r[k] == r[m] && i >= (n - 1)) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtls.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:93:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *info++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:93:13: note: place parentheses around the assignment to silence this warning while (*s = *info++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:93:13: note: use '==' to turn this assignment into an equality comparison while (*s = *info++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:97:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *name++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:97:12: note: place parentheses around the assignment to silence this warning while (*s = *name++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:97:12: note: use '==' to turn this assignment into an equality comparison while (*s = *name++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:54:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = *s == '^') ~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:54:8: note: place parentheses around the assignment to silence this warning if (a = *s == '^') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:54:8: note: use '==' to turn this assignment into an equality comparison if (a = *s == '^') ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:146:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t = *s) ~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:146:16: note: place parentheses around the assignment to silence this warning while (*t = *s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:146:16: note: use '==' to turn this assignment into an equality comparison while (*t = *s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:267:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = !*s) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:267:10: note: place parentheses around the assignment to silence this warning if (e = !*s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:267:10: note: use '==' to turn this assignment into an equality comparison if (e = !*s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:280:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!a && (*b != '*' || *(b + 1) == '(' || (*(b + 1) == '-' || *(b + 1) == '~') && *(b + 2) == '(')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:280:82: note: place parentheses around the '&&' expression to silence this warning if (!a && (*b != '*' || *(b + 1) == '(' || (*(b + 1) == '-' || *(b + 1) == '~') && *(b + 2) == '(')) ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtnum.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:58:54: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s != '*' || *(s + 1) == '(' || *(s + 1) == '-' && *(s + 2) == '(') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:58:54: note: place parentheses around the '&&' expression to silence this warning if (*s != '*' || *(s + 1) == '(' || *(s + 1) == '-' && *(s + 2) == '(') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:111:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*x++ && (*x == '(' || *x == '-' && *(x + 1) == '(')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:111:40: note: place parentheses around the '&&' expression to silence this warning if (*x++ && (*x == '(' || *x == '-' && *(x + 1) == '(')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:118:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p->min = *s == '-') ~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:118:16: note: place parentheses around the assignment to silence this warning if (p->min = *s == '-') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:118:16: note: use '==' to turn this assignment into an equality comparison if (p->min = *s == '-') ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:138:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' || c != '~' && *s == '-' && *(s + 1) == '(') ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:138:43: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' || c != '~' && *s == '-' && *(s + 1) == '(') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:147:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s += 3; *t = *s; t++, s++); ~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:147:23: note: place parentheses around the assignment to silence this warning for (s += 3; *t = *s; t++, s++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:147:23: note: use '==' to turn this assignment into an equality comparison for (s += 3; *t = *s; t++, s++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:158:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p->min = *s == '-') ~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:158:17: note: place parentheses around the assignment to silence this warning if (p->min = *s == '-') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:158:17: note: use '==' to turn this assignment into an equality comparison if (p->min = *s == '-') ^ == 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmttime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:76:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, &uid)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:76:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, &uid)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:76:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, &uid)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwuid(uid)) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:78:9: note: place parentheses around the assignment to silence this warning if (pw = getpwuid(uid)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:78:9: note: use '==' to turn this assignment into an equality comparison if (pw = getpwuid(uid)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:76:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, &gid)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:76:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, &gid)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:76:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, &gid)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gr = getgrgid(gid)) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:78:9: note: place parentheses around the assignment to silence this warning if (gr = getgrgid(gid)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:78:9: note: use '==' to turn this assignment into an equality comparison if (gr = getgrgid(gid)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtsignal.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtscale.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/tmx iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: is ( _ast_int8_t ) true ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/tmx tmx.h + rm -f tmx.h + silent test -d . + /bin/cp FEATURE/tmx tmx.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmttmx.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmttv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = (v >> 24) & 0xff) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:46:9: note: place parentheses around the assignment to silence this warning if (n = (v >> 24) & 0xff) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:46:9: note: use '==' to turn this assignment into an equality comparison if (n = (v >> 24) & 0xff) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:48:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = (v >> 16) & 0xff) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:48:9: note: place parentheses around the assignment to silence this warning if (n = (v >> 16) & 0xff) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:48:9: note: use '==' to turn this assignment into an equality comparison if (n = (v >> 16) & 0xff) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strelapsed.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strperm.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struid.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struid.c:80:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, name)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struid.c:80:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, name)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struid.c:80:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, name)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struid.c:82:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwnam(name)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struid.c:82:9: note: place parentheses around the assignment to silence this warning if (pw = getpwnam(name)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/struid.c:82:9: note: use '==' to turn this assignment into an equality comparison if (pw = getpwnam(name)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:86:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, name)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:86:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, name)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:86:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, name)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:88:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gr = getgrnam(name)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:88:9: note: place parentheses around the assignment to silence this warning if (gr = getgrnam(name)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:88:9: note: use '==' to turn this assignment into an equality comparison if (gr = getgrnam(name)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:90:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (pw = getpwnam(name)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:90:14: note: place parentheses around the assignment to silence this warning else if (pw = getpwnam(name)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strgid.c:90:14: note: use '==' to turn this assignment into an equality comparison else if (pw = getpwnam(name)) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:93:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((s - b) == 1 && c != '/' || part > 4) ~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:93:19: note: place parentheses around the '&&' expression to silence this warning if ((s - b) == 1 && c != '/' || part > 4) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:95:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (old = part < 4) ~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:95:10: note: place parentheses around the assignment to silence this warning if (old = part < 4) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:95:10: note: use '==' to turn this assignment into an equality comparison if (old = part < 4) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:138:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*pbits = bits) ~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:138:14: note: place parentheses around the assignment to silence this warning if (*pbits = bits) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:138:14: note: use '==' to turn this assignment into an equality comparison if (*pbits = bits) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoip6.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stack.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stack.c:76:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = b) ~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stack.c:76:11: note: place parentheses around the assignment to silence this warning while (p = b) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stack.c:76:11: note: use '==' to turn this assignment into an equality comparison while (p = b) ^ == 1 warning generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/align.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/align.c ... ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/align.c ... yes + cmp -s FEATURE/align align.h + rm -f align.h + silent test -d . + /bin/cp FEATURE/align align.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stk.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stk.c:545:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp->nalias=nn) ~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stk.c:545:15: note: place parentheses around the assignment to silence this warning if(fp->nalias=nn) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/stk.c:545:15: note: use '==' to turn this assignment into an equality comparison if(fp->nalias=nn) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/swapget.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/swapmem.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/swapop.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/swapput.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/siglist iffe: test: is sys/types.h a header ... yes iffe: test: is string.h a header ... yes iffe: test: is signal.h a header ... yes iffe: test: is strsignal a library function ... yes iffe: test: run{ ... }end ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/signal.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/signal.c ... ./Kris43079.c:389:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (s = strsignal(i)) ~~^~~~~~~~~~~~~~ ./Kris43079.c:389:14: note: place parentheses around the assignment to silence this warning else if (s = strsignal(i)) ^ ( ) ./Kris43079.c:389:14: note: use '==' to turn this assignment into an equality comparison else if (s = strsignal(i)) ^ == 1 warning generated. ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/signal.c ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/sigdata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/sigcrit.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/sigunblock.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/wait iffe: test: is sys/types.h a header ... yes iffe: test: is wait a library function ... yes iffe: test: is wait2 a library function ... no iffe: test: is wait3 a library function ... yes iffe: test: is wait4 a library function ... yes iffe: test: is waitpid a library function ... yes iffe: test: is sys/wait.h a header ... yes iffe: test: posix wait macros ok ... no + cmp -s FEATURE/wait ast_wait.h + rm -f ast_wait.h + silent test -d . + /bin/cp FEATURE/wait ast_wait.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:472:85: warning: '&&' within '||' [-Wlogical-op-parentheses] if (environ && envv != (char**)environ && (envv || (flags & PROC_PARANOID) || argv && (environ[0][0] != '_' || environ[0][1] != '='))) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:472:85: note: place parentheses around the '&&' expression to silence this warning if (environ && envv != (char**)environ && (envv || (flags & PROC_PARANOID) || argv && (environ[0][0] != '_' || environ[0][1] != '='))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:670:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; n = modv[i]; i++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:670:18: note: place parentheses around the assignment to silence this warning for (i = 0; n = modv[i]; i++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:670:18: note: use '==' to turn this assignment into an equality comparison for (i = 0; n = modv[i]; i++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:765:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p++ = *argv++); ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:765:17: note: place parentheses around the assignment to silence this warning while (*p++ = *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:765:17: note: use '==' to turn this assignment into an equality comparison while (*p++ = *argv++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:829:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; n = modv[i]; i++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:829:18: note: place parentheses around the assignment to silence this warning for (i = 0; n = modv[i]; i++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:829:18: note: use '==' to turn this assignment into an equality comparison for (i = 0; n = modv[i]; i++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:915:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; n = modv[i]; i++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:915:17: note: place parentheses around the assignment to silence this warning for (i = 0; n = modv[i]; i++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:915:17: note: use '==' to turn this assignment into an equality comparison for (i = 0; n = modv[i]; i++) ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procrun.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/procfree.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmdate.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmequiv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:58:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:58:8: note: place parentheses around the assignment to silence this warning if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:58:8: note: use '==' to turn this assignment into an equality comparison if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:155:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = (w - p->tm_wday)) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:155:9: note: place parentheses around the assignment to silence this warning if (w = (w - p->tm_wday)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:155:9: note: use '==' to turn this assignment into an equality comparison if (w = (w - p->tm_wday)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmfmt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmform.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmgoff.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/tmlib iffe: test: is sys/types.h a header ... yes iffe: test: probe CC.EXPORT.DYNAMIC supported ... no iffe: test: tzset() bypasses user getenv() ... yes iffe: test: is ( _tzset_environ ) true ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:161:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = tp->tm_yday - n) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:161:8: note: place parentheses around the assignment to silence this warning if (n = tp->tm_yday - n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:161:8: note: use '==' to turn this assignment into an equality comparison if (n = tp->tm_yday - n) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = getenv("TZ")) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:226:9: note: place parentheses around the assignment to silence this warning if (s = getenv("TZ")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:226:9: note: use '==' to turn this assignment into an equality comparison if (s = getenv("TZ")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:313:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strchr(s, ',')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:313:9: note: place parentheses around the assignment to silence this warning if (s = strchr(s, ',')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:313:9: note: use '==' to turn this assignment into an equality comparison if (s = strchr(s, ',')) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmleap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlex.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:536:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:536:15: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:536:15: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:567:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = (char**)li->data) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:567:8: note: place parentheses around the assignment to silence this warning if (b = (char**)li->data) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:567:8: note: use '==' to turn this assignment into an equality comparison if (b = (char**)li->data) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:581:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (u = (unsigned char*)sfreserve(sp, 3, 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:581:9: note: place parentheses around the assignment to silence this warning if (u = (unsigned char*)sfreserve(sp, 3, 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:581:9: note: use '==' to turn this assignment into an equality comparison if (u = (unsigned char*)sfreserve(sp, 3, 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:585:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = sfstropen()) ~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:585:12: note: place parentheses around the assignment to silence this warning if (tp = sfstropen()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:585:12: note: use '==' to turn this assignment into an equality comparison if (tp = sfstropen()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:595:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = newof(0, char*, TM_NFORM, n + 2)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:595:9: note: place parentheses around the assignment to silence this warning if (b = newof(0, char*, TM_NFORM, n + 2)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:595:9: note: use '==' to turn this assignment into an equality comparison if (b = newof(0, char*, TM_NFORM, n + 2)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:600:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ~~~^~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:600:11: note: place parentheses around the '&&' expression to silence this warning if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:600:49: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:600:49: note: place parentheses around the '&&' expression to silence this warning if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ^ ( ) 7 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmmake.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmpoff.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmscan.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmsleep.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmtime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmtype.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c:67:21: warning: '&&' within '||' [-Wlogical-op-parentheses] week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52; ~~~~~~~~^~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c:67:21: note: place parentheses around the '&&' expression to silence this warning week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c:81:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = tm->tm_wday - day) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c:81:8: note: place parentheses around the assignment to silence this warning if (d = tm->tm_wday - day) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c:81:8: note: use '==' to turn this assignment into an equality comparison if (d = tm->tm_wday - day) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmword.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmword.c:52:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmword.c:52:12: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmword.c:52:12: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmword.c:56:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!isalpha(c) || c != *t && (islower(c) ? toupper(c) : tolower(c)) != *t) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmword.c:56:32: note: place parentheses around the '&&' expression to silence this warning if (!isalpha(c) || c != *t && (islower(c) ? toupper(c) : tolower(c)) != *t) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmzone.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:277:95: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((*s == 'P' || *s == 'p') && (!isalpha(*(s + 1)) || (*(s + 1) == 'T' || *(s + 1) == 't') && !isalpha(*(s + 2)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:277:95: note: place parentheses around the '&&' expression to silence this warning if ((*s == 'P' || *s == 'p') && (!isalpha(*(s + 1)) || (*(s + 1) == 'T' || *(s + 1) == 't') && !isalpha(*(s + 2)))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = t - s) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:508:10: note: place parentheses around the assignment to silence this warning if (w = t - s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:508:10: note: use '==' to turn this assignment into an equality comparison if (w = t - s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:729:19: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*++t && dig1(t, k) < 1 || k > 7) ~~~~~^~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:729:19: note: place parentheses around the '&&' expression to silence this warning else if (*++t && dig1(t, k) < 1 || k > 7) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:741:30: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == 6 || w == 8 && (n / 1000000) > 12) ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:741:30: note: place parentheses around the '&&' expression to silence this warning else if (w == 6 || w == 8 && (n / 1000000) > 12) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:745:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (w == 8 || w == 6 && *u != 'T' && *u != 't') ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:745:39: note: place parentheses around the '&&' expression to silence this warning if (w == 8 || w == 6 && *u != 'T' && *u != 't') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:761:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*t != 'T' && *t != 't' || !isdigit(*++t)) ~~~~~~~~~~^~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:761:19: note: place parentheses around the '&&' expression to silence this warning if (*t != 'T' && *t != 't' || !isdigit(*++t)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:821:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = strtol(s, &t, 10)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:821:12: note: place parentheses around the assignment to silence this warning if (n = strtol(s, &t, 10)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:821:12: note: use '==' to turn this assignment into an equality comparison if (n = strtol(s, &t, 10)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:249: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:249: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:115: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:115: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:214: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:214: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:59: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:305: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~ ~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:841:305: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:899:118: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!dig2(x, m) || m > 12 || !dig2(x, m) || m > 31 || dig2(x, m) > 24 || dig2(x, m) > 60 || dig2(x, m) <= 60 && !(tm_info.flags & TM_DATESTYLE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:899:118: note: place parentheses around the '&&' expression to silence this warning if (!dig2(x, m) || m > 12 || !dig2(x, m) || m > 31 || dig2(x, m) > 24 || dig2(x, m) > 60 || dig2(x, m) <= 60 && !(tm_info.flags & TM_DATESTYLE)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:972:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == ':' || *s == '.' && ((set|state) & (YEAR|MONTH|DAY|HOUR)) == (YEAR|MONTH|DAY)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:972:33: note: place parentheses around the '&&' expression to silence this warning if (*s == ':' || *s == '.' && ((set|state) & (YEAR|MONTH|DAY|HOUR)) == (YEAR|MONTH|DAY)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1046:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (i > k || i == k && j > l) ~~ ~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1046:29: note: place parentheses around the '&&' expression to silence this warning if (i > k || i == k && j > l) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1049:33: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (i < k || i == k && j < l) ~~ ~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1049:33: note: place parentheses around the '&&' expression to silence this warning else if (i < k || i == k && j < l) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1080:141: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1080:141: note: place parentheses around the '&&' expression to silence this warning if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1080:89: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1080:89: note: place parentheses around the '&&' expression to silence this warning if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1729:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1729:24: note: place parentheses around the '&&' expression to silence this warning if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1729:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:1729:55: note: place parentheses around the '&&' expression to silence this warning if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ^ ( ) 20 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxduration.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *format) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:371:10: note: place parentheses around the assignment to silence this warning if (c = *format) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:371:10: note: use '==' to turn this assignment into an equality comparison if (c = *format) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:476:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = zp->type) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:476:16: note: place parentheses around the assignment to silence this warning if (p = zp->type) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:476:16: note: use '==' to turn this assignment into an equality comparison if (p = zp->type) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:478:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (p = zp->type) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:478:19: note: place parentheses around the assignment to silence this warning else if (p = zp->type) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:478:19: note: use '==' to turn this assignment into an equality comparison else if (p = zp->type) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:478:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p = zp->type) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:497:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *format) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:497:15: note: place parentheses around the assignment to silence this warning while (n = *format) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:497:15: note: use '==' to turn this assignment into an equality comparison while (n = *format) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:607:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*arg++ = *format) ~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:607:15: note: place parentheses around the assignment to silence this warning if (*arg++ = *format) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:607:15: note: use '==' to turn this assignment into an equality comparison if (*arg++ = *format) ^ == 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxgettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxleap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxmake.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:374:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (zp = tmtype(s, &u)) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:374:12: note: place parentheses around the assignment to silence this warning if (zp = tmtype(s, &u)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:374:12: note: use '==' to turn this assignment into an equality comparison if (zp = tmtype(s, &u)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:401:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*format || *format == '%' && *(format + 1) == '|') ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:401:36: note: place parentheses around the '&&' expression to silence this warning if (!*format || *format == '%' && *(format + 1) == '|') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:486:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, char*, n, m)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:486:11: note: place parentheses around the assignment to silence this warning if (p = newof(0, char*, n, m)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:486:11: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, char*, n, m)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:511:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = datemask) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:511:9: note: place parentheses around the assignment to silence this warning if (p = datemask) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:511:9: note: use '==' to turn this assignment into an equality comparison if (p = datemask) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:512:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (v = *p++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:512:13: note: place parentheses around the assignment to silence this warning while (v = *p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:512:13: note: use '==' to turn this assignment into an equality comparison while (v = *p++) ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxsettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxsleep.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:99:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tm->tm_isdst = tl->tm_isdst) ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:99:22: note: place parentheses around the assignment to silence this warning if (tm->tm_isdst = tl->tm_isdst) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:99:22: note: use '==' to turn this assignment into an equality comparison if (tm->tm_isdst = tl->tm_isdst) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:133:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:133:37: note: place parentheses around the '&&' expression to silence this warning if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:133:76: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:133:76: note: place parentheses around the '&&' expression to silence this warning if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ^ ( ) 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmxtouch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvcmp.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/tvlib iffe: test: is sys/types.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is clock_settime a library function ... no iffe: test: is gettimeofday a library function ... yes iffe: test: is settimeofday a library function ... yes iffe: test: is stime a library function ... no iffe: test: is utimes a library function ... yes iffe: test: is nanosleep a library function ... yes iffe: test: is usleep a library function ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: complete utimensat implementation ... no iffe: test: is sys/time.h a header ... yes iffe: test: is timeval a type or typedef ... no iffe: test: is tv_sec a member of struct timeval ... yes iffe: test: execute{ ... }end ... no iffe: test: link{ ... }end ... no iffe: test: output{ ... }end ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvgettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvsettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvsleep.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:260:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:260:11: note: place parentheses around the assignment to silence this warning if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:260:11: note: use '==' to turn this assignment into an equality comparison if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:200:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p = *++argv) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:200:12: note: place parentheses around the assignment to silence this warning while (*p = *++argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:200:12: note: use '==' to turn this assignment into an equality comparison while (*p = *++argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:209:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:209:12: note: place parentheses around the assignment to silence this warning while (s = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:209:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:250:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = cmd->postarg) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:250:8: note: place parentheses around the assignment to silence this warning if (p = cmd->postarg) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:250:8: note: use '==' to turn this assignment into an equality comparison if (p = cmd->postarg) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:251:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*cmd->nextarg++ = *p++); ~~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:251:26: note: place parentheses around the assignment to silence this warning while (*cmd->nextarg++ = *p++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:251:26: note: use '==' to turn this assignment into an equality comparison while (*cmd->nextarg++ = *p++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:254:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = cmd->insert) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:254:8: note: place parentheses around the assignment to silence this warning if (s = cmd->insert) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:254:8: note: use '==' to turn this assignment into an equality comparison if (s = cmd->insert) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:270:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = cmd->insertarg[n]) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:270:10: note: place parentheses around the assignment to silence this warning if (t = cmd->insertarg[n]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:270:10: note: use '==' to turn this assignment into an equality comparison if (t = cmd->insertarg[n]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:310:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *++p) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:310:12: note: place parentheses around the assignment to silence this warning while (s = *++p) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:310:12: note: use '==' to turn this assignment into an equality comparison while (s = *++p) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:322:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = cmd->argv + 1; s = *p++;) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:322:29: note: place parentheses around the assignment to silence this warning for (p = cmd->argv + 1; s = *p++;) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:322:29: note: use '==' to turn this assignment into an equality comparison for (p = cmd->argv + 1; s = *p++;) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:370:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = cmdflush(cmd)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:370:10: note: place parentheses around the assignment to silence this warning if (i = cmdflush(cmd)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:370:10: note: use '==' to turn this assignment into an equality comparison if (i = cmdflush(cmd)) ^ == 9 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:65:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv = *vec++) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:65:12: note: place parentheses around the assignment to silence this warning while (s = *argv = *vec++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:65:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv = *vec++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:71:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*argv = *oargv++) argv++; ~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:71:16: note: place parentheses around the assignment to silence this warning while (*argv = *oargv++) argv++; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:71:16: note: use '==' to turn this assignment into an equality comparison while (*argv = *oargv++) argv++; ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecfree.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecload.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecload.c:78:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, char*, n + 3, 0)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecload.c:78:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, char*, n + 3, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecload.c:78:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, char*, n + 3, 0)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vec/vecstring.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/univdata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/touch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mnt.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mnt.c:73:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = (const char*)strchr(fs, ':')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mnt.c:73:8: note: place parentheses around the assignment to silence this warning if (x = (const char*)strchr(fs, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mnt.c:73:8: note: use '==' to turn this assignment into an equality comparison if (x = (const char*)strchr(fs, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mnt.c:85:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (x = (const char*)strchr(fs, '@')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mnt.c:85:13: note: place parentheses around the assignment to silence this warning else if (x = (const char*)strchr(fs, '@')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/mnt.c:85:13: note: use '==' to turn this assignment into an equality comparison else if (x = (const char*)strchr(fs, '@')) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/debug.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/memchr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/memcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/memcpy.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/memdup.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/memmove.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/memset.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mkdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mkfifo.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mknod.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/rmdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/remove.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/rename.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/link.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/unlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strdup.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strchr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strrchr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strstr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtod.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtold.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtol.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strton.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtonll.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntod.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntold.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strnton.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntonll.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntol.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntoll.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntoul.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntoull.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strcasecmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strncasecmp.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/errno iffe: test: is sys/types.h a header ... yes iffe: test: sys_nerr in default libs ... no iffe: test: sys_nerr declared in errno.h ... yes iffe: test: sys_errlist in default libs ... no iffe: test: sys_errlist declared in errno.h ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/strerror.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mktemp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mktemp.c:52:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(buf, '/')) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mktemp.c:52:8: note: place parentheses around the assignment to silence this warning if (s = strrchr(buf, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mktemp.c:52:8: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(buf, '/')) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/tmpnam.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/fsync.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execlp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execve.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:61:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:61:15: note: place parentheses around the assignment to silence this warning if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:61:15: note: use '==' to turn this assignment into an equality comparison if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:67:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*nv++ = *++ov); ~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:67:17: note: place parentheses around the assignment to silence this warning while (*nv++ = *++ov); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:67:17: note: use '==' to turn this assignment into an equality comparison while (*nv++ = *++ov); ^ == 2 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/vfork iffe: test: is sys/types.h a header ... yes iffe: test: is vfork.h a header ... no iffe: test: is sys/vfork.h a header ... no iffe: test: run{ ... }end ... yes + cmp -s FEATURE/vfork ast_vfork.h + rm -f ast_vfork.h + silent test -d . + /bin/cp FEATURE/vfork ast_vfork.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:54:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawnattr_init(&attr)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:54:10: note: place parentheses around the assignment to silence this warning if (err = posix_spawnattr_init(&attr)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:54:10: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawnattr_init(&attr)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:60:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawnattr_setpgroup(&attr, pgid)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:60:11: note: place parentheses around the assignment to silence this warning if (err = posix_spawnattr_setpgroup(&attr, pgid)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:60:11: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawnattr_setpgroup(&attr, pgid)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:62:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:62:11: note: place parentheses around the assignment to silence this warning if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:62:11: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:65:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:65:10: note: place parentheses around the assignment to silence this warning if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:65:10: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/vfork.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/killpg.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/hsearch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/tsearch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getlogin.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/putenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/unsetenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/lstat.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/hack iffe: test: is sys/types.h a header ... yes iffe: test: is locale_attr.h a header ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/gross.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/omitted iffe: test: is sys/types.h a header ... yes iffe: test: check for win32 .exe botches ... no iffe: test: win32 alarm(2) return botched ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/omitted.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/readlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/symlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getpgrp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setpgid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setsid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/waitpid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/creat64.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/fcntl.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/open.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/atexit.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir/getdents.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getwd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/dup2.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/errno.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/preroot/getpreroot.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/preroot/ispreroot.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/preroot/realopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/preroot/setpreroot.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getgroups.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mount.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/system.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/iblocks.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/modedata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/tm/tmdata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/memfatal.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/memfatal.c:78:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (disc = vmdisc(Vmregion, NiL)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/memfatal.c:78:11: note: place parentheses around the assignment to silence this warning if (disc = vmdisc(Vmregion, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/memfatal.c:78:11: note: use '==' to turn this assignment into an equality comparison if (disc = vmdisc(Vmregion, NiL)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:185:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = *--v) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:185:10: note: place parentheses around the assignment to silence this warning if (i = *--v) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:185:10: note: use '==' to turn this assignment into an equality comparison if (i = *--v) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:251:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!s && (!h || !fp->tmp[1] && !(fp->tmp[1] = sfstropen()) || sfprintf(fp->tmp[1], "%I*d", sizeof(n), n) <= 0 || !(s = sfstruse(fp->tmp[1])))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:251:32: note: place parentheses around the '&&' expression to silence this warning if (!s && (!h || !fp->tmp[1] && !(fp->tmp[1] = sfstropen()) || sfprintf(fp->tmp[1], "%I*d", sizeof(n), n) <= 0 || !(s = sfstruse(fp->tmp[1])))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:270:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%!", &fmt) <= 0 || !(s = sfstruse(fp->tmp[0]))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:270:23: note: place parentheses around the '&&' expression to silence this warning if (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%!", &fmt) <= 0 || !(s = sfstruse(fp->tmp[0]))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:326:101: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!fp->convert || !(value->s = (*fp->convert)(fp->handle, &fp->fmt, a, s, n))) && (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%%%c", fp->fmt.fmt) <= 0 || !(value->s = sfstruse(fp->tmp[0])))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:326:101: note: place parentheses around the '&&' expression to silence this warning if ((!fp->convert || !(value->s = (*fp->convert)(fp->handle, &fp->fmt, a, s, n))) && (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%%%c", fp->fmt.fmt) <= 0 || !(value->s = sfstruse(fp->tmp[0])))) ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:173:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:173:18: note: place parentheses around the assignment to silence this warning if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:173:18: note: use '==' to turn this assignment into an equality comparison if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:103:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = strlen(label)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:103:13: note: place parentheses around the assignment to silence this warning else if (n = strlen(label)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:103:13: note: use '==' to turn this assignment into an equality comparison else if (n = strlen(label)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:195:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (++more->col <= more->cols || s < e && *s == '\n') ~~ ~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:195:43: note: place parentheses around the '&&' expression to silence this warning if (++more->col <= more->cols || s < e && *s == '\n') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:227:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (more->match = strlen(more->pattern)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:227:20: note: place parentheses around the assignment to silence this warning if (more->match = strlen(more->pattern)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:227:20: note: use '==' to turn this assignment into an equality comparison if (more->match = strlen(more->pattern)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:273:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = more->input) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:273:9: note: place parentheses around the assignment to silence this warning if (f = more->input) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:273:9: note: use '==' to turn this assignment into an equality comparison if (f = more->input) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:278:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (f = more->error) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:278:14: note: place parentheses around the assignment to silence this warning else if (f = more->error) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:278:14: note: use '==' to turn this assignment into an equality comparison else if (f = more->error) ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/string/wc2utf8.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/basename.c + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/namval.h ast_namval.h + rm -f ast_namval.h + silent test -d . + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/namval.h ast_namval.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/closelog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/dirname.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/fmtmsglib.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/fnmatch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/ftw.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getdate.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getsubopt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:93:12: note: place parentheses around the assignment to silence this warning while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:93:12: note: use '==' to turn this assignment into an equality comparison while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:224:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*dp++ = c); ~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:224:17: note: place parentheses around the assignment to silence this warning } while (*dp++ = c); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:224:17: note: use '==' to turn this assignment into an equality comparison } while (*dp++ = c); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:458:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (starstar = (p[2]==0)) ~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:458:17: note: place parentheses around the assignment to silence this warning if (starstar = (p[2]==0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:458:17: note: use '==' to turn this assignment into an equality comparison if (starstar = (p[2]==0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:482:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTAR) == GLOB_DIR) && (dirf = (*gp->gl_diropen)(gp, dirname))) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:482:18: note: place parentheses around the '&&' expression to silence this warning if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTAR) == GLOB_DIR) && (dirf = (*gp->gl_diropen)(gp, dirname))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:488:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:488:14: note: place parentheses around the assignment to silence this warning if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:488:14: note: use '==' to turn this assignment into an equality comparison if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:503:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = regcomp(&rec, pat, gp->re_flags)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:503:14: note: place parentheses around the assignment to silence this warning if (err = regcomp(&rec, pat, gp->re_flags)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:503:14: note: use '==' to turn this assignment into an equality comparison if (err = regcomp(&rec, pat, gp->re_flags)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:531:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (notdir = (gp->gl_status & GLOB_NOTDIR)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:531:16: note: place parentheses around the assignment to silence this warning if (notdir = (gp->gl_status & GLOB_NOTDIR)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:531:16: note: use '==' to turn this assignment into an equality comparison if (notdir = (gp->gl_status & GLOB_NOTDIR)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:535:48: warning: '&&' within '||' [-Wlogical-op-parentheses] if (matchdir && (name[0] != '.' || name[1] && (name[1] != '.' || name[2])) && !notdir) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:535:48: note: place parentheses around the '&&' expression to silence this warning if (matchdir && (name[0] != '.' || name[1] && (name[1] != '.' || name[2])) && !notdir) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:547:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (err || errno && !errorcheck(gp, dirname)) ~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/glob.c:547:21: note: place parentheses around the '&&' expression to silence this warning if (err || errno && !errorcheck(gp, dirname)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/nftw.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/openlog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/re_comp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/resolvepath.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/realpath.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:92:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:92:13: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:92:13: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:151:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (s = va_arg(ap, char*)); ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:151:14: note: place parentheses around the assignment to silence this warning } while (s = va_arg(ap, char*)); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:151:14: note: use '==' to turn this assignment into an equality comparison } while (s = va_arg(ap, char*)); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:184:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (re->nsub = nsub) ~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:184:15: note: place parentheses around the assignment to silence this warning if (re->nsub = nsub) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:184:15: note: use '==' to turn this assignment into an equality comparison if (re->nsub = nsub) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:215:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = re->sub[n]) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:215:9: note: place parentheses around the assignment to silence this warning if (i = re->sub[n]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:215:9: note: use '==' to turn this assignment into an equality comparison if (i = re->sub[n]) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regexp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regexp.c:100:72: warning: '&&' within '||' [-Wlogical-op-parentheses] if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) ~~ ~~~~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regexp.c:100:72: note: place parentheses around the '&&' expression to silence this warning if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) ^ ( ) 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/setlogmask.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strftime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/strptime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/swab.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/syslog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/tempnam.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:72:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(offset=staktell()) ~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:72:11: note: place parentheses around the assignment to silence this warning if(offset=staktell()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:72:11: note: use '==' to turn this assignment into an equality comparison if(offset=staktell()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:88:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:88:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:88:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:97:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= *cp) ~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:97:9: note: place parentheses around the assignment to silence this warning if(c= *cp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:97:9: note: use '==' to turn this assignment into an equality comparison if(c= *cp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:144:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c=sfclose(iop)) ~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:144:6: note: place parentheses around the assignment to silence this warning if(c=sfclose(iop)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:144:6: note: use '==' to turn this assignment into an equality comparison if(c=sfclose(iop)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:157:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(av = (char**)malloc(c*sizeof(char*))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:157:13: note: place parentheses around the assignment to silence this warning else if(av = (char**)malloc(c*sizeof(char*))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:157:13: note: use '==' to turn this assignment into an equality comparison else if(av = (char**)malloc(c*sizeof(char*))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:186:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *cp++); ~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:186:10: note: place parentheses around the assignment to silence this warning while(c= *cp++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:186:10: note: use '==' to turn this assignment into an equality comparison while(c= *cp++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg=argnext) ~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:207:12: note: place parentheses around the assignment to silence this warning while(arg=argnext) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:207:12: note: use '==' to turn this assignment into an equality comparison while(arg=argnext) ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/mktime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regalloc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regclass.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcoll.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcoll.c:55:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcoll.c:55:37: note: place parentheses around the '&&' expression to silence this warning if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcoll.c:55:75: warning: '&&' within '||' [-Wlogical-op-parentheses] if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcoll.c:55:75: note: place parentheses around the '&&' expression to silence this warning if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:150:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:150:8: note: place parentheses around the assignment to silence this warning if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:150:8: note: use '==' to turn this assignment into an equality comparison if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:149:120: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0800,(sfprintf(sfstdout, "%s:%d node(%d,%d,%d,%u)\n", file, line, type, lo, hi, sizeof(Rex_t) + extra)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:223:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = x); ~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:223:14: note: place parentheses around the assignment to silence this warning } while (e = x); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:223:14: note: use '==' to turn this assignment into an equality comparison } while (e = x); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:263:14: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:263:14: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:301:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:301:13: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:301:13: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:478:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:478:27: note: place parentheses around the '&&' expression to silence this warning if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:478:73: warning: '&&' within '||' [-Wlogical-op-parentheses] if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:478:73: note: place parentheses around the '&&' expression to silence this warning if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:517:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = e->re.group.expr.binary.right) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:517:10: note: place parentheses around the assignment to silence this warning if (q = e->re.group.expr.binary.right) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:517:10: note: use '==' to turn this assignment into an equality comparison if (q = e->re.group.expr.binary.right) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:635:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:635:13: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:635:13: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:652:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp = state.magic[c]) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:652:9: note: place parentheses around the assignment to silence this warning if (mp = state.magic[c]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:652:9: note: use '==' to turn this assignment into an equality comparison if (mp = state.magic[c]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:781:41: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == SRE || c == T_BACK && !(env->flags & (REG_LENIENT|REG_REGEXP))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:781:41: note: place parentheses around the '&&' expression to silence this warning if (env->type == SRE || c == T_BACK && !(env->flags & (REG_LENIENT|REG_REGEXP))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:862:145: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:862:145: note: place parentheses around the '&&' expression to silence this warning if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:862:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:862:24: note: place parentheses around the '&&' expression to silence this warning if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:862:90: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:862:90: note: place parentheses around the '&&' expression to silence this warning if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:926:36: warning: expression result unused [-Wunused-value] if ((env->token.len = MBSIZE(env->cursor)) > 1) ~~~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:962:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (posixkludge = env->posixkludge) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:962:18: note: place parentheses around the assignment to silence this warning if (posixkludge = env->posixkludge) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:962:18: note: use '==' to turn this assignment into an equality comparison if (posixkludge = env->posixkludge) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:979:43: warning: expression result unused [-Wunused-value] env->token.len += MBSIZE(env->cursor + 1); ~~~~~~~~~~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:988:40: warning: expression result unused [-Wunused-value] env->token.len += MBSIZE(env->cursor + 1); ~~~~~~~~~~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1006:163: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1006:163: note: place parentheses around the '&&' expression to silence this warning if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1006:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1006:24: note: place parentheses around the '&&' expression to silence this warning if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1006:224: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1006:224: note: place parentheses around the '&&' expression to silence this warning if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1195:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == '^' || env->type >= SRE && *env->cursor == '!') ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1195:46: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == '^' || env->type >= SRE && *env->cursor == '!') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1203:25: warning: expression result unused [-Wunused-value] start = first + MBSIZE(first); ~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1204:215: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1204:215: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1204:156: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1204:156: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1206:36: warning: expression result unused [-Wunused-value] begin = env->cursor + MBSIZE(env->cursor); ~~~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1215:74: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(c = *env->cursor) || c == env->terminator || c == env->delimiter && (env->flags & REG_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1215:74: note: place parentheses around the '&&' expression to silence this warning if (!(c = *env->cursor) || c == env->terminator || c == env->delimiter && (env->flags & REG_ESCAPE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1217:35: warning: expression result unused [-Wunused-value] env->cursor += (w = MBSIZE(env->cursor)); ~~~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1218:87: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1218:87: note: place parentheses around the '&&' expression to silence this warning if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1249:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->token.len > 1 || w >= 0 && w < T_META) ~~ ~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1249:40: note: place parentheses around the '&&' expression to silence this warning if (env->token.len > 1 || w >= 0 && w < T_META) ~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1387:75: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1387:75: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1471:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ic = env->flags & REG_ICASE) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1471:11: note: place parentheses around the assignment to silence this warning if (ic = env->flags & REG_ICASE) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1471:11: note: use '==' to turn this assignment into an equality comparison if (ic = env->flags & REG_ICASE) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1482:86: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = *env->cursor) == 0 || c == env->terminator || (env->flags & REG_ESCAPE) && c == env->delimiter) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1482:86: note: place parentheses around the '&&' expression to silence this warning if ((c = *env->cursor) == 0 || c == env->terminator || (env->flags & REG_ESCAPE) && c == env->delimiter) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1485:37: warning: expression result unused [-Wunused-value] env->cursor += (w = MBSIZE(env->cursor)); ~~~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1486:89: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1486:89: note: place parentheses around the '&&' expression to silence this warning if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1515:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->token.len > 1 || w >= 0 && w < T_META) ~~ ~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1515:42: note: place parentheses around the '&&' expression to silence this warning if (env->token.len > 1 || w >= 0 && w < T_META) ~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1636:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == 'l' || c == 'L' && !(c = 0)) ~~ ~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1636:33: note: place parentheses around the '&&' expression to silence this warning if (c == 'l' || c == 'L' && !(c = 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1638:38: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c == 'u' || c == 'U' && !(c = 0)) ~~ ~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1638:38: note: place parentheses around the '&&' expression to silence this warning else if (c == 'u' || c == 'U' && !(c = 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1685:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1685:77: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1912:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1912:8: note: place parentheses around the assignment to silence this warning if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1912:8: note: use '==' to turn this assignment into an equality comparison if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2178:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2178:38: note: place parentheses around the '&&' expression to silence this warning if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2227:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2227:38: note: place parentheses around the '&&' expression to silence this warning if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2450:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *env->cursor) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2450:12: note: place parentheses around the assignment to silence this warning while (c = *env->cursor) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2450:12: note: use '==' to turn this assignment into an equality comparison while (c = *env->cursor) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2796:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = bra(env)) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2796:11: note: place parentheses around the assignment to silence this warning if (e = bra(env)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2796:11: note: use '==' to turn this assignment into an equality comparison if (e = bra(env)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2806:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = ccl(env, c)) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2806:11: note: place parentheses around the assignment to silence this warning if (e = ccl(env, c)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2806:11: note: use '==' to turn this assignment into an equality comparison if (e = ccl(env, c)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2831:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = node(env, REX_ONECHAR, 1, 1, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2831:11: note: place parentheses around the assignment to silence this warning if (e = node(env, REX_ONECHAR, 1, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2831:11: note: use '==' to turn this assignment into an equality comparison if (e = node(env, REX_ONECHAR, 1, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2958:61: warning: '&&' within '||' [-Wlogical-op-parentheses] if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2958:61: note: place parentheses around the '&&' expression to silence this warning if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2969:62: warning: '&&' within '||' [-Wlogical-op-parentheses] if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2969:62: note: place parentheses around the '&&' expression to silence this warning if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (x = x->sib); ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2998:13: note: place parentheses around the assignment to silence this warning } while (x = x->sib); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2998:13: note: use '==' to turn this assignment into an equality comparison } while (x = x->sib); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3025:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = p->env->rex) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3025:8: note: place parentheses around the assignment to silence this warning if (e = p->env->rex) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3025:8: note: use '==' to turn this assignment into an equality comparison if (e = p->env->rex) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3074:48: warning: '&&' within '||' [-Wlogical-op-parentheses] a->re.bm.complete = (env->stats.e || y != e && (e->type != REX_GROUP || y != e->re.group.expr.rex) || e->next || ((a->re.bm.left + a->re.bm.right) >= 0)) ? 0 : n; ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3074:48: note: place parentheses around the '&&' expression to silence this warning a->re.bm.complete = (env->stats.e || y != e && (e->type != REX_GROUP || y != e->re.group.expr.rex) || e->next || ((a->re.bm.left + a->re.bm.right) >= 0)) ? 0 : n; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3110:96: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,sfprintf(sfstderr, "CUT1: mask[%d][%c]=mask[%d][%c]\n", k, m, j, m), (0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3113:152: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,sfprintf(sfstderr, "BM#2: fail[%d]=%d => %d\n", k, a->re.bm.fail[k], (a->re.bm.fail[k] > n - j) ? (n - j) : a->re.bm.fail[k]), (0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3104:72: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,(sfprintf(sfstderr, "BM#0: k=%d j=%d\n", k, j)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3122:106: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,sfprintf(sfstderr, "BM#4: fail[%d]=%d => %d\n", i, a->re.bm.fail[i], n + k - i), (0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3375:71: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3375:71: note: place parentheses around the '&&' expression to silence this warning else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3375:116: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3375:116: note: place parentheses around the '&&' expression to silence this warning else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ^ ( ) 57 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcache.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:99:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) ~~~~~~~~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:99:25: note: place parentheses around the assignment to silence this warning if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:99:25: note: use '==' to turn this assignment into an equality comparison if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:183:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = regcomp(&cp->re, pattern, reflags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:183:9: note: place parentheses around the assignment to silence this warning if (i = regcomp(&cp->re, pattern, reflags)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:183:9: note: use '==' to turn this assignment into an equality comparison if (i = regcomp(&cp->re, pattern, reflags)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:68:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (x = x->son); ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:68:13: note: place parentheses around the assignment to silence this warning } while (x = x->son); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:68:13: note: use '==' to turn this assignment into an equality comparison } while (x = x->son); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:286:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (e->hi != 1 || e->lo == 0 && !ismeta('?', type, 0, delimiter)) ~~ ~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:286:39: note: place parentheses around the '&&' expression to silence this warning else if (e->hi != 1 || e->lo == 0 && !ismeta('?', type, 0, delimiter)) ~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:361:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = e->re.group.expr.binary.right) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:361:10: note: place parentheses around the assignment to silence this warning if (q = e->re.group.expr.binary.right) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:361:10: note: use '==' to turn this assignment into an equality comparison if (q = e->re.group.expr.binary.right) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:385:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:385:13: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:385:13: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regerror.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regexec.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regfatal.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reginit.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:316:402: warning: expression result unused [-Wunused-value] DEBUG_CODE(0x0080,{sfprintf(sfstdout, " %-*.*sold ", (level + 3) * 4, (level + 3) * 4, "");for (oe = os; oe < oend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n %-*.*snew ", (level + 3) * 4, (level + 3) * 4, "");for (oe = ns; oe < nend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n");},{0;}); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:102:31: note: expanded from macro 'DEBUG_CODE' #define DEBUG_CODE(f,y,n) do {n} while(0) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:357:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:357:9: note: place parentheses around the assignment to silence this warning if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:357:9: note: use '==' to turn this assignment into an equality comparison if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:444:405: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x PUSH %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo, env->match[2].rm_so, env->match[2].rm_eo)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:452:409: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x POP %d %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, r, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo, env->match[2].rm_so, env->match[2].rm_eo)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:447:157: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep parse %d %d `%-.*s'\n", __LINE__, debug_flag, rex->re.group.number, r, env->end - s, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:408:210: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep %s %d %d %d %d `%-.*s'\n", __LINE__, debug_flag, rexname(rex->re.group.expr.rex), rex->re.group.number, rex->lo, n, rex->hi, env->end - s, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:504:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:504:8: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:504:8: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:662:18: warning: expression result unused [-Wunused-value] if ((w = MBSIZE(s)) > 1) ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1117:26: warning: expression result unused [-Wunused-value] s += b[i] = MBSIZE(s); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1158:19: warning: expression result unused [-Wunused-value] s += MBSIZE(s); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1160:44: warning: expression result unused [-Wunused-value] for (; s <= e && i <= n; s += MBSIZE(s), i++) ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1179:131: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1201:170: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s=>%s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rexname(rex->re.group_catch.cont), env->end - s, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1284:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = rex->re.group.expr.binary.right) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1284:10: note: place parentheses around the assignment to silence this warning if (q = rex->re.group.expr.binary.right) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1284:10: note: use '==' to turn this assignment into an equality comparison if (q = rex->re.group.expr.binary.right) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1291:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = rex->re.group.expr.binary.left) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1291:10: note: place parentheses around the assignment to silence this warning if (q = rex->re.group.expr.binary.left) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1291:10: note: use '==' to turn this assignment into an equality comparison if (q = rex->re.group.expr.binary.left) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1304:59: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!rex->re.group.size || rex->re.group.size > 0 && env->match[rex->re.group.size].rm_so >= 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1304:59: note: place parentheses around the '&&' expression to silence this warning else if (!rex->re.group.size || rex->re.group.size > 0 && env->match[rex->re.group.size].rm_so >= 0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1308:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = catcher.re.cond_catch.next[r != NONE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1308:10: note: place parentheses around the assignment to silence this warning if (q = catcher.re.cond_catch.next[r != NONE]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1308:10: note: use '==' to turn this assignment into an equality comparison if (q = catcher.re.cond_catch.next[r != NONE]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1352:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1352:10: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1352:10: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1493:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1493:12: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1493:12: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1571:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1571:12: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1571:12: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1678:191: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0020,(sfprintf(sfstdout, "AHA#%04d 0x%04x %s n %d len %d s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rex->re.rep_catch.n, s - rex->re.rep_catch.beg, env->end - s, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1688:69: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!env->stack || s != rex->re.rep_catch.ref->re.rep_catch.beg && !rex->re.rep_catch.ref->re.group.expr.rex->re.group.back) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1688:69: note: place parentheses around the '&&' expression to silence this warning if (!env->stack || s != rex->re.rep_catch.ref->re.rep_catch.beg && !rex->re.rep_catch.ref->re.group.expr.rex->re.group.back) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1687:256: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0002,(sfprintf(sfstdout, "AHA#%04d %p re.group.back=%d re.group.expr.rex=%s\n", __LINE__, rex->re.rep_catch.ref->re.group.expr.rex, rex->re.rep_catch.ref->re.group.expr.rex->re.group.back, rexname(rex->re.rep_catch.ref->re.group.expr.rex))),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1704:183: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s \"%-.*s\" `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rex->re.string.size, rex->re.string.base, env->end - s, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1754:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!isword(*s) || s > env->beg && isword(*(s - 1))) ~~ ~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1754:36: note: place parentheses around the '&&' expression to silence this warning if (!isword(*s) || s > env->beg && isword(*(s - 1))) ~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1758:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isword(*s) || s > env->beg && !isword(*(s - 1))) ~~ ~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1758:35: note: place parentheses around the '&&' expression to silence this warning if (isword(*s) || s > env->beg && !isword(*(s - 1))) ~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1040:391: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0100,(sfprintf(sfstdout,"AHA#%04d 0x%04x %s (%z,%z)(%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)\n", __LINE__, debug_flag, rexname(rex), env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3].rm_so, env->best[3].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1071:391: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0100,(sfprintf(sfstdout,"AHA#%04d 0x%04x %s (%z,%z)(%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)\n", __LINE__, debug_flag, rexname(rex), env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3].rm_so, env->best[3].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:819:132: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0008,(sfprintf(sfstdout, "AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1865:100: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, len, env->min)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1875:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1875:58: note: place parentheses around the '&&' expression to silence this warning if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1875:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1875:17: note: place parentheses around the assignment to silence this warning if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1875:17: note: use '==' to turn this assignment into an equality comparison if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1879:17: warning: '&&' within '||' [-Wlogical-op-parentheses] !env->pos && !(env->pos = vecopen(16, sizeof(Pos_t))) || ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1879:17: note: place parentheses around the '&&' expression to silence this warning !env->pos && !(env->pos = vecopen(16, sizeof(Pos_t))) || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1880:21: warning: '&&' within '||' [-Wlogical-op-parentheses] !env->bestpos && !(env->bestpos = vecopen(16, sizeof(Pos_t)))) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1880:21: note: place parentheses around the '&&' expression to silence this warning !env->bestpos && !(env->bestpos = vecopen(16, sizeof(Pos_t)))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1901:107: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, len, e->re.bm.right)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1921:100: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, index, HIT)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1915:176: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REX_BM len=%d right=%d left=%d size=%d %d %d\n", __LINE__, len, e->re.bm.right, e->re.bm.left, e->re.bm.size, index, mid)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1898:74: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REX_BM\n", __LINE__)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1970:102: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((i = parse(env, e, &env->done, (unsigned char*)s)) == NONE || advance && !env->best[0].rm_eo && !(advance = 0)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1970:102: note: place parentheses around the '&&' expression to silence this warning while ((i = parse(env, e, &env->done, (unsigned char*)s)) == NONE || advance && !env->best[0].rm_eo && !(advance = 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1974:14: warning: expression result unused [-Wunused-value] i = MBSIZE(s); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1984:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = env->error) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1984:8: note: place parentheses around the assignment to silence this warning if (k = env->error) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1984:8: note: use '==' to turn this assignment into an equality comparison if (k = env->error) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1858:135: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0001,(sfprintf(sfstdout, "AHA#%04d 0x%04x regnexec %d 0x%08x `%-.*s'\n", __LINE__, debug_flag, nmatch, flags, len, s)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1894:42: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x1000,(list(env,env->rex)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1969:83: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d parse once=%d\n", __LINE__, j)),(0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ 44 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:185:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:185:10: note: place parentheses around the assignment to silence this warning if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:185:10: note: use '==' to turn this assignment into an equality comparison if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:269:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:269:10: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:269:10: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:278:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:278:10: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:278:10: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:334:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (op->len = (t - sub->re_rhs) - op->off) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:334:15: note: place parentheses around the assignment to silence this warning if (op->len = (t - sub->re_rhs) - op->off) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:334:15: note: use '==' to turn this assignment into an equality comparison if (op->len = (t - sub->re_rhs) - op->off) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c:173:14: warning: '&&' within '||' [-Wlogical-op-parentheses] if (m <= 0 && !(b->re_flags & REG_SUB_ALL) || !*s) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c:173:14: note: place parentheses around the '&&' expression to silence this warning if (m <= 0 && !(b->re_flags & REG_SUB_ALL) || !*s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c:175:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c:175:9: note: place parentheses around the assignment to silence this warning if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c:175:9: note: use '==' to turn this assignment into an equality comparison if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:123:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *sp) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:123:10: note: place parentheses around the assignment to silence this warning if (c = *sp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:123:10: note: use '==' to turn this assignment into an equality comparison if (c = *sp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:141:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *sp) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:141:10: note: place parentheses around the assignment to silence this warning if (c = *sp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:141:10: note: use '==' to turn this assignment into an equality comparison if (c = *sp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:260:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = subold(dp, op, sp, nmatch, match, flags, sre)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:260:10: note: place parentheses around the assignment to silence this warning if (r = subold(dp, op, sp, nmatch, match, flags, sre)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:260:10: note: use '==' to turn this assignment into an equality comparison if (r = subold(dp, op, sp, nmatch, match, flags, sre)) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrecord.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:109:62: warning: '&&' within '||' [-Wlogical-op-parentheses] if (complete || (env->rex = ((r - l) > 128) ? e : e->next) && !(n = regnexec(p, (char*)l, r - l, nmatch, match, flags))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:109:62: note: place parentheses around the '&&' expression to silence this warning if (complete || (env->rex = ((r - l) > 128) ? e : e->next) && !(n = regnexec(p, (char*)l, r - l, nmatch, match, flags))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:119:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = (*record)(handle, (char*)beg, x - beg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:119:12: note: place parentheses around the assignment to silence this warning if (n = (*record)(handle, (char*)beg, x - beg)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:119:12: note: use '==' to turn this assignment into an equality comparison if (n = (*record)(handle, (char*)beg, x - beg)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:124:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = (*record)(handle, (char*)l, r - l)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:124:15: note: place parentheses around the assignment to silence this warning else if (n = (*record)(handle, (char*)l, r - l)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:124:15: note: use '==' to turn this assignment into an equality comparison else if (n = (*record)(handle, (char*)l, r - l)) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regstat.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regstat.c:49:31: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!e || e->type == REX_END && !e->next) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/regex/regstat.c:49:31: note: place parentheses around the '&&' expression to silence this warning if (!e || e->type == REX_END && !e->next) ^ ( ) 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtdisc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtdisc.c:85:3: warning: expression result unused [-Wunused-value] dtrestore(dt, list); ^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/cdt.h:346:24: note: expanded from macro 'dtrestore' #define dtrestore(d,l) (Dtlink_t*)(*(_DT(d)->searchf))((d),(Void_t*)(l),DT_RESTORE) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dthash.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtlist.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtmethod.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtmethod.c:72:3: warning: expression result unused [-Wunused-value] dtrestore(dt, list); ^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/cdt.h:346:24: note: expanded from macro 'dtrestore' #define dtrestore(d,l) (Dtlink_t*)(*(_DT(d)->searchf))((d),(Void_t*)(l),DT_RESTORE) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtmethod.c:76:4: warning: expression result unused [-Wunused-value] { dtrestore(dt, list); ^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/cdt.h:346:24: note: expanded from macro 'dtrestore' #define dtrestore(d,l) (Dtlink_t*)(*(_DT(d)->searchf))((d),(Void_t*)(l),DT_RESTORE) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtstrhash.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dttree.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtview.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icdt -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtwalk.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtnew.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtnew.c:70:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dt = _dtopen(&dc.ndisc, meth, version)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtnew.c:70:9: note: place parentheses around the assignment to silence this warning if (dt = _dtopen(&dc.ndisc, meth, version)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtnew.c:70:9: note: use '==' to turn this assignment into an equality comparison if (dt = _dtopen(&dc.ndisc, meth, version)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/dtcomp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:42:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:45:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:141:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = isinf(f)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:141:9: note: place parentheses around the assignment to silence this warning if (n = isinf(f)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:141:9: note: use '==' to turn this assignment into an equality comparison if (n = isinf(f)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:319:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = isinf(f)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:319:9: note: place parentheses around the assignment to silence this warning if (n = isinf(f)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:319:9: note: use '==' to turn this assignment into an equality comparison if (n = isinf(f)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:48:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:47:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:121:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!found && (_Sfmaxr > 0 && un+n+1 >= _Sfmaxr || (f->flags&SF_STRING))) /* already exceed limit */ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:121:29: note: place parentheses around the '&&' expression to silence this warning if(!found && (_Sfmaxr > 0 && un+n+1 >= _Sfmaxr || (f->flags&SF_STRING))) /* already exceed limit */ ^ ( ) 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:46:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:59:16: warning: expression result unused [-Wunused-value] SFWPEEK(f,ps,p); ~~~~~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:966:48: note: expanded from macro 'SFWPEEK' #define SFWPEEK(f,s,n) (_SFAVAIL(f,s,n) > 0 ? (n) : \ ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:77:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:45:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:66:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:77:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(astsfio = getenv("SFIO_OPTIONS")) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:77:14: note: place parentheses around the assignment to silence this warning if(astsfio = getenv("SFIO_OPTIONS")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:77:14: note: use '==' to turn this assignment into an equality comparison if(astsfio = getenv("SFIO_OPTIONS")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:125:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:46:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:98:17: warning: expression result unused [-Wunused-value] GETLOCAL(origf,local); ~~~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sfinit.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sfinit.c ... ld: warning: option -m is obsolete and being ignored iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sfinit.c ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:75:22: warning: expression result unused [-Wunused-value] { form += SFMBLEN(form, &fmbs); ~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' #define SFMBLEN(s,mb) mbsize(s) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:212:22: warning: expression result unused [-Wunused-value] { if((n = SFMBLEN(form, &fmbs)) <= 0) ~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' #define SFMBLEN(s,mb) mbsize(s) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:1178:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if(fmt == 'e' || fmt == 'E' && (v |= SFFMT_UPPER)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:1178:32: note: place parentheses around the '&&' expression to silence this warning if(fmt == 'e' || fmt == 'E' && (v |= SFFMT_UPPER)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:1185:37: warning: '&&' within '||' [-Wlogical-op-parentheses] else if(fmt == 'f' || fmt == 'F' && (v |= SFFMT_UPPER)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:1185:37: note: place parentheses around the '&&' expression to silence this warning else if(fmt == 'f' || fmt == 'F' && (v |= SFFMT_UPPER)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:1191:37: warning: '&&' within '||' [-Wlogical-op-parentheses] else if(fmt == 'a' || fmt == 'A' && (v |= SFFMT_UPPER)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:1191:37: note: place parentheses around the '&&' expression to silence this warning else if(fmt == 'a' || fmt == 'A' && (v |= SFFMT_UPPER)) ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:35: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:179:47: warning: expression result unused [-Wunused-value] if((flags&SFFMT_LONG) && (n = (int)SFMBLEN(form,&mbs)) <= 0) ~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' #define SFMBLEN(s,mb) mbsize(s) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:355:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!form || f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:355:33: note: place parentheses around the '&&' expression to silence this warning if(!form || f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) ^ ( ) 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:144:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:45:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:74:13: warning: expression result unused [-Wunused-value] GETLOCAL(f,local); ~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:902:77: note: expanded from macro 'GETLOCAL' #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/feof.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fread.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/getc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/getw.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/popen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/printf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/putc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/puts.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/putw.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = sfstropen()) ~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:32:8: note: place parentheses around the assignment to silence this warning if (f = sfstropen()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:32:8: note: use '==' to turn this assignment into an equality comparison if (f = sfstropen()) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/uwin iffe: test: is sys/types.h a header ... yes iffe: test: is a64l a library function ... yes iffe: test: is acosh a library function ... yes iffe: test: is asinh a library function ... yes iffe: test: is atanh a library function ... yes iffe: test: is cbrt a library function ... yes iffe: test: is ceil a library function ... yes iffe: test: is crypt a library function ... yes iffe: test: is erf a library function ... yes iffe: test: is exp a library function ... yes iffe: test: is expm1 a library function ... yes iffe: test: is floor a library function ... yes iffe: test: is gamma a library function ... yes iffe: test: is getpass a library function ... yes iffe: test: is lgamma a library function ... yes iffe: test: is log a library function ... yes iffe: test: is log1p a library function ... yes iffe: test: is random a library function ... yes iffe: test: is rcmd a library function ... yes iffe: test: is rint a library function ... yes iffe: test: is srand48 a library function ... yes iffe: test: is copysign a library function ... yes iffe: test: is logb a library function ... yes iffe: test: is finite a library function ... yes iffe: test: is drem a library function ... yes iffe: test: is sqrt a library function ... yes iffe: test: is ilogb a library function ... yes iffe: test: is remainder a library function ... yes iffe: test: is scalb a library function ... yes iffe: test: is _copysign a library function ... no iffe: test: is _finite a library function ... no iffe: test: is _scalb a library function ... no iffe: test: is __iob_func a library function ... no iffe: test: is _p__iob a library function ... no iffe: test: is __p__iob a library function ... no iffe: test: is _iob a library data symbol ... no iffe: test: cat{ ... }end ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdfun.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:100:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = newof(0, Wide_t, 1, n)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:100:8: note: place parentheses around the assignment to silence this warning if (w = newof(0, Wide_t, 1, n)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:100:8: note: use '==' to turn this assignment into an equality comparison if (w = newof(0, Wide_t, 1, n)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:102:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:102:9: note: place parentheses around the assignment to silence this warning if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:102:9: note: use '==' to turn this assignment into an equality comparison if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:40:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = malloc(n + 1)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:40:8: note: place parentheses around the assignment to silence this warning if (m = malloc(n + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:40:8: note: use '==' to turn this assignment into an equality comparison if (m = malloc(n + 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:42:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = sfstropen()) ~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:42:9: note: place parentheses around the assignment to silence this warning if (t = sfstropen()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:42:9: note: use '==' to turn this assignment into an equality comparison if (t = sfstropen()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:52:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:52:11: note: place parentheses around the assignment to silence this warning if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:52:11: note: use '==' to turn this assignment into an equality comparison if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/stdio/getline.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/frexp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/frexpl.c + cmp -s FEATURE/mmap ast_mmap.h + rm -f ast_mmap.h + silent test -d . + /bin/cp FEATURE/mmap ast_mmap.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astcopy.c + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/libpath.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/libpath.sh ... iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/libpath.sh ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 '-DCONF_LIBSUFFIX=".dylib"' '-DCONF_LIBPREFIX="lib"' '-DHOSTTYPE="darwin.i386"' -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:347:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((s = getenv(state.name)) || getenv(state.strict) && (s = (char*)state.standard)) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:347:56: note: place parentheses around the '&&' expression to silence this warning if ((s = getenv(state.name)) || getenv(state.strict) && (s = (char*)state.standard)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:418:61: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!path || *path == *p && strlen(path) == (v - p - 1) && !memcmp(path, p, v - p - 1)) && strneq(v, value, n)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:418:61: note: place parentheses around the '&&' expression to silence this warning if ((!path || *path == *p && strlen(path) == (v - p - 1) && !memcmp(path, p, v - p - 1)) && strneq(v, value, n)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:422:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; *d = *s++; d++); ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:422:15: note: place parentheses around the assignment to silence this warning for (; *d = *s++; d++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:422:15: note: use '==' to turn this assignment into an equality comparison for (; *d = *s++; d++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:446:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!path || !path[0] || path[0] == '/' && !path[1]) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:446:42: note: place parentheses around the '&&' expression to silence this warning if (!path || !path[0] || path[0] == '/' && !path[1]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:466:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = (char*)fp->name; *d = *s++; d++); ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:466:31: note: place parentheses around the assignment to silence this warning for (s = (char*)fp->name; *d = *s++; d++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:466:31: note: use '==' to turn this assignment into an equality comparison for (s = (char*)fp->name; *d = *s++; d++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:468:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = (char*)path; *d = *s++; d++); ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:468:27: note: place parentheses around the assignment to silence this warning for (s = (char*)path; *d = *s++; d++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:468:27: note: use '==' to turn this assignment into an equality comparison for (s = (char*)path; *d = *s++; d++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:470:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = (char*)value; *d = *s++; d++); ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:470:28: note: place parentheses around the assignment to silence this warning for (s = (char*)value; *d = *s++; d++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:470:28: note: use '==' to turn this assignment into an equality comparison for (s = (char*)value; *d = *s++; d++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:531:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getenv("PATH")) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:531:9: note: place parentheses around the assignment to silence this warning if (p = getenv("PATH")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:531:9: note: use '==' to turn this assignment into an equality comparison if (p = getenv("PATH")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:540:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = sfstropen()) ~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:540:12: note: place parentheses around the assignment to silence this warning if (tmp = sfstropen()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:540:12: note: use '==' to turn this assignment into an equality comparison if (tmp = sfstropen()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = p - d - 1) ~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:551:14: note: place parentheses around the assignment to silence this warning if (r = p - d - 1) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:551:14: note: use '==' to turn this assignment into an equality comparison if (r = p - d - 1) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:985:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:985:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:985:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:46: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:120: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:120: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:27: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:177: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1085:177: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1090:50: warning: '&&' within '||' [-Wlogical-op-parentheses] switch (i = (p->op < 0 || (flags & CONF_MINMAX) && (p->flags & CONF_MINMAX_DEF)) ? 0 : p->call) ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1090:50: note: place parentheses around the '&&' expression to silence this warning switch (i = (p->op < 0 || (flags & CONF_MINMAX) && (p->flags & CONF_MINMAX_DEF)) ? 0 : p->call) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1354:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (call = sfstruse(sp)) ~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1354:12: note: place parentheses around the assignment to silence this warning if (call = sfstruse(sp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1354:12: note: use '==' to turn this assignment into an equality comparison if (call = sfstruse(sp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1389:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1389:10: note: place parentheses around the assignment to silence this warning if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1389:10: note: use '==' to turn this assignment into an equality comparison if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1391:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1391:10: note: place parentheses around the assignment to silence this warning if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1391:10: note: use '==' to turn this assignment into an equality comparison if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1483:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = sfstropen()) ~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1483:12: note: place parentheses around the assignment to silence this warning if (tmp = sfstropen()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1483:12: note: use '==' to turn this assignment into an equality comparison if (tmp = sfstropen()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1522:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = sfstropen()) ~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1522:12: note: place parentheses around the assignment to silence this warning if (tmp = sfstropen()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1522:12: note: use '==' to turn this assignment into an equality comparison if (tmp = sfstropen()) ^ == 21 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astdynamic.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:233:10: warning: expression result unused [-Wunused-value] PUT(b, *s++); ~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:259:35: warning: expression result unused [-Wunused-value] PUT(b, notice->cc[n > 0 ? 0 : 1]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:261:12: warning: expression result unused [-Wunused-value] PUT(b, cc); ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:262:35: warning: expression result unused [-Wunused-value] PUT(b, notice->cc[n > 0 ? 1 : 2]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:271:10: warning: expression result unused [-Wunused-value] PUT(b, cc); ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:276:11: warning: expression result unused [-Wunused-value] PUT(b, ' '); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:282:11: warning: expression result unused [-Wunused-value] PUT(b, i); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:285:11: warning: expression result unused [-Wunused-value] PUT(b, ' '); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:286:10: warning: expression result unused [-Wunused-value] PUT(b, cc); ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:288:9: warning: expression result unused [-Wunused-value] PUT(b, '\n'); ~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:308:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = item->data) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:308:8: note: place parentheses around the assignment to silence this warning if (t = item->data) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:308:8: note: use '==' to turn this assignment into an equality comparison if (t = item->data) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:338:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!m || c >= '0' && c <= '9') ~~ ~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:338:26: note: place parentheses around the '&&' expression to silence this warning if (!m || c >= '0' && c <= '9') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:339:15: warning: expression result unused [-Wunused-value] PUT(b, c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:365:12: warning: expression result unused [-Wunused-value] PUT(b, *t++); ~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:397:10: warning: expression result unused [-Wunused-value] PUT(b, '-'); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:402:10: warning: expression result unused [-Wunused-value] PUT(b, ' '); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:407:10: warning: expression result unused [-Wunused-value] PUT(b, ' '); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:411:11: warning: expression result unused [-Wunused-value] PUT(b, ' '); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:417:10: warning: expression result unused [-Wunused-value] PUT(b, ' '); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:443:12: warning: expression result unused [-Wunused-value] PUT(buf, 0); ~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:465:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:465:18: note: place parentheses around the assignment to silence this warning while (*t++ = *s++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:465:18: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:472:13: warning: expression result unused [-Wunused-value] PUT(buf, 0); ~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:482:12: warning: expression result unused [-Wunused-value] PUT(buf, 0); ~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:560:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s) ~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:560:12: note: place parentheses around the assignment to silence this warning while (c = *s) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:560:12: note: use '==' to turn this assignment into an equality comparison while (c = *s) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:562:46: warning: '&&' within '||' [-Wlogical-op-parentheses] while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:562:46: note: place parentheses around the '&&' expression to silence this warning while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:664:35: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:664:35: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:664:118: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:664:118: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:664:197: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:664:197: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:703:19: warning: expression result unused [-Wunused-value] PUT(&buf, '='); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:713:20: warning: expression result unused [-Wunused-value] PUT(&buf, '\''); ~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:716:20: warning: expression result unused [-Wunused-value] PUT(&buf, '\''); ~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:717:19: warning: expression result unused [-Wunused-value] PUT(&buf, '\n'); ~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:731:17: warning: expression result unused [-Wunused-value] PUT(&buf, '\n'); ~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:788:15: warning: expression result unused [-Wunused-value] PUT(&buf, 0); ~~~~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:935:15: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1101:18: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1135:17: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1173:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[NOTICE].data) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1173:9: note: place parentheses around the assignment to silence this warning if (v = notice.item[NOTICE].data) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1173:9: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[NOTICE].data) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1205:16: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1218:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[AUTHOR].data) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1218:8: note: place parentheses around the assignment to silence this warning if (v = notice.item[AUTHOR].data) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1218:8: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[AUTHOR].data) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1238:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if (q || item.size == notice.id[i].name.size && !strncmp(item.data, notice.id[i].name.data, item.size)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1238:50: note: place parentheses around the '&&' expression to silence this warning if (q || item.size == notice.id[i].name.size && !strncmp(item.data, notice.id[i].name.data, item.size)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1245:17: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1269:16: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1291:13: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1296:14: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ~~~~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1298:13: warning: expression result unused [-Wunused-value] PUT(&buf, '\n'); ~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ 46 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astquery.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astwinsize.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/astwinsize.c:131:9: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] if (!ioctl(fd, op, tt)) return(0); ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c conftab.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/port/aststatic.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getopt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:51:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!up && !(up = sfstropen()) || !(t = strdup(optstring))) ~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:51:11: note: place parentheses around the '&&' expression to silence this warning if (!up && !(up = sfstropen()) || !(t = strdup(optstring))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:61:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strchr(t, o->val)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:61:11: note: place parentheses around the assignment to silence this warning if (s = strchr(t, o->val)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:61:11: note: use '==' to turn this assignment into an equality comparison if (s = strchr(t, o->val)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:81:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:81:12: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:81:12: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 3 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/asometh iffe: test: is sys/types.h a header ... yes iffe: test: fcntl(F_SETLCK[W]) work ... yes iffe: test: semget semop semctl work ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iaso -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso.c:856:10: warning: incompatible integer to pointer conversion passing 'uint32_t' (aka 'unsigned int') to parameter of type 'void *'; return _aso_casptr((void**)p, o, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./FEATURE/aso:21:66: note: expanded from macro '_aso_casptr' #define _aso_casptr(p,o,n) ((void*)__sync_val_compare_and_swap(p,(uint32_t)o,(uint32_t)n)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso.c:856:10: warning: incompatible integer to pointer conversion passing 'uint32_t' (aka 'unsigned int') to parameter of type 'void *'; return _aso_casptr((void**)p, o, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./FEATURE/aso:21:78: note: expanded from macro '_aso_casptr' #define _aso_casptr(p,o,n) ((void*)__sync_val_compare_and_swap(p,(uint32_t)o,(uint32_t)n)) ^ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iaso -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/asolock.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iaso -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/asometh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iaso -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/asorelax.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iaso -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:84:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = (char*)details) ~~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:84:11: note: place parentheses around the assignment to silence this warning if (path = (char*)details) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:84:11: note: use '==' to turn this assignment into an equality comparison if (path = (char*)details) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:85:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (opt = strchr(path, ',')) ~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:85:14: note: place parentheses around the assignment to silence this warning while (opt = strchr(path, ',')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:85:14: note: use '==' to turn this assignment into an equality comparison while (opt = strchr(path, ',')) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iaso -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:92:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = (char*)details) ~~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:92:11: note: place parentheses around the assignment to silence this warning if (path = (char*)details) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:92:11: note: use '==' to turn this assignment into an equality comparison if (path = (char*)details) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:93:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (opt = strchr(path, ',')) ~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:93:14: note: place parentheses around the assignment to silence this warning while (opt = strchr(path, ',')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:93:14: note: use '==' to turn this assignment into an equality comparison while (opt = strchr(path, ',')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:120:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (fd >= 0 || (fd = open(path, O_RDWR|O_cloexec)) < 0 && (fd = open(path, O_CREAT|O_RDWR|O_cloexec, perm)) >= 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:120:57: note: place parentheses around the '&&' expression to silence this warning if (fd >= 0 || (fd = open(path, O_RDWR|O_cloexec)) < 0 && (fd = open(path, O_CREAT|O_RDWR|O_cloexec, perm)) >= 0) ^ ( ) 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmbest.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmclear.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmdcheap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmdebug.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmdisc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmexit.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmlast.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmpool.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmprivate.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmprofile.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmregion.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmsegment.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmset.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmstat.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmstrdup.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmtrace.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmwalk.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmmopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:388:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(vm = regionof((Void_t*)list)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:388:9: note: place parentheses around the assignment to silence this warning if(vm = regionof((Void_t*)list)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:388:9: note: use '==' to turn this assignment into an equality comparison if(vm = regionof((Void_t*)list)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:596:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if(vm == Vmregion && Vmregion != Vmheap || (_Vmassert & VM_free)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:596:21: note: place parentheses around the '&&' expression to silence this warning if(vm == Vmregion && Vmregion != Vmheap || (_Vmassert & VM_free)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1226:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1226:19: note: place parentheses around the '&&' expression to silence this warning if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1226:72: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1226:72: note: place parentheses around the '&&' expression to silence this warning if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1282:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = getenv("VMALLOC_OPTIONS")) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1282:8: note: place parentheses around the assignment to silence this warning if (s = getenv("VMALLOC_OPTIONS")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1282:8: note: use '==' to turn this assignment into an equality comparison if (s = getenv("VMALLOC_OPTIONS")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1397:68: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (v && vm && vm->meth.meth == VM_MTDEBUG && (n = atou(&v)) >= 0) ~~~~~~~~~~~~~~ ^ ~ 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/vmalloc/vmgetmem.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/a64l.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/acosh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/asinh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/atanh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/cbrt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/crypt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/erf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/err.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/exp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/exp__E.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/expm1.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/gamma.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/getpass.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/lgamma.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/log.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/log1p.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/log__L.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/rand48.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/random.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/rcmd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/rint.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Iuwin -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/uwin/support.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/disc/sfstrtmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast -Icomp -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include -Istd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:101:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:101:15: note: place parentheses around the assignment to silence this warning if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:101:15: note: use '==' to turn this assignment into an equality comparison if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:107:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*nv++ = *++ov); ~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:107:17: note: place parentheses around the assignment to silence this warning while (*nv++ = *++ov); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:107:17: note: use '==' to turn this assignment into an equality comparison while (*nv++ = *++ov); ^ == 2 warnings generated. + test '' = man/LIBAST.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/LIBAST.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/LIBAST.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/LIBAST.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/LIBAST.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/LIBAST.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/LIBAST.3 + test '' = man/aso.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/aso.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/aso.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/aso.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/aso.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/aso.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/aso.3 + test '' = man/ast.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/ast.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ast.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ast.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ast.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/ast.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ast.3 + test '' = man/astsa.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/astsa.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/astsa.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/astsa.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/astsa.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/astsa.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/astsa.3 + test '' = man/cdt.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/cdt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/cdt.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/cdt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/cdt.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/cdt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/cdt.3 + test '' = man/chr.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/chr.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/chr.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/chr.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/chr.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/chr.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/chr.3 + test '' = man/compat.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/compat.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/compat.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/compat.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/compat.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/compat.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/compat.3 + test '' = man/error.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/error.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/error.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/error.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/error.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/error.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/error.3 + test '' = man/find.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/find.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/find.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/find.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/find.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/find.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/find.3 + test '' = man/fmt.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/fmt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmt.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmt.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/fmt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmt.3 + test '' = man/fmtls.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/fmtls.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmtls.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmtls.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmtls.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/fmtls.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fmtls.3 + test '' = man/fs3d.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/fs3d.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fs3d.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fs3d.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fs3d.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/fs3d.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/fs3d.3 + test '' = man/ftwalk.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/ftwalk.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ftwalk.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ftwalk.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ftwalk.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/ftwalk.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ftwalk.3 + test '' = man/getcwd.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/getcwd.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/getcwd.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/getcwd.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/getcwd.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/getcwd.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/getcwd.3 + test '' = man/hash.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/hash.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/hash.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/hash.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/hash.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/hash.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/hash.3 + test '' = man/iblocks.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/iblocks.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/iblocks.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/iblocks.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/iblocks.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/iblocks.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/iblocks.3 + test '' = man/int.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/int.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/int.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/int.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/int.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/int.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/int.3 + test '' = man/ip6.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/ip6.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ip6.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ip6.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ip6.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/ip6.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/ip6.3 + test '' = man/magic.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/magic.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/magic.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/magic.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/magic.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/magic.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/magic.3 + test '' = man/mem.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/mem.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mem.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mem.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mem.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/mem.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mem.3 + test '' = man/mime.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/mime.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mime.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mime.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mime.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/mime.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/mime.3 + test '' = man/modecanon.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/modecanon.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/modecanon.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/modecanon.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/modecanon.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/modecanon.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/modecanon.3 + test '' = man/optget.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/optget.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/optget.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/optget.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/optget.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/optget.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/optget.3 + test '' = man/path.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/path.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/path.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/path.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/path.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/path.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/path.3 + test '' = man/preroot.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/preroot.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/preroot.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/preroot.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/preroot.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/preroot.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/preroot.3 + test '' = man/proc.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/proc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/proc.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/proc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/proc.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/proc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/proc.3 + test '' = man/re.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/re.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/re.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/re.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/re.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/re.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/re.3 + test '' = man/regex.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/regex.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/regex.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/regex.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/regex.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/regex.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/regex.3 + test '' = man/setenviron.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/setenviron.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/setenviron.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/setenviron.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/setenviron.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/setenviron.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/setenviron.3 + test '' = man/sfdisc.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/sfdisc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfdisc.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfdisc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfdisc.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/sfdisc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfdisc.3 + test '' = man/sfio.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/sfio.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfio.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfio.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfio.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/sfio.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sfio.3 + test '' = man/sig.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/sig.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sig.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sig.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sig.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/sig.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/sig.3 + test '' = man/spawnveg.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/spawnveg.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/spawnveg.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/spawnveg.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/spawnveg.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/spawnveg.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/spawnveg.3 + test '' = man/stak.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stak.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stak.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stak.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stak.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stak.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stak.3 + test '' = man/stk.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stk.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stk.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stk.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stk.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stk.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stk.3 + test '' = man/strcopy.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strcopy.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strcopy.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strcopy.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strcopy.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strcopy.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strcopy.3 + test '' = man/strdup.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strdup.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strdup.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strdup.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strdup.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strdup.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strdup.3 + test '' = man/strelapsed.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strelapsed.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strelapsed.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strelapsed.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strelapsed.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strelapsed.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strelapsed.3 + test '' = man/strerror.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strerror.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strerror.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strerror.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strerror.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strerror.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strerror.3 + test '' = man/stresc.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stresc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stresc.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stresc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stresc.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stresc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stresc.3 + test '' = man/streval.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/streval.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/streval.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/streval.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/streval.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/streval.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/streval.3 + test '' = man/strgid.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strgid.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strgid.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strgid.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strgid.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strgid.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strgid.3 + test '' = man/strmatch.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strmatch.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strmatch.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strmatch.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strmatch.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strmatch.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strmatch.3 + test '' = man/stropt.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stropt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stropt.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stropt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stropt.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/stropt.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/stropt.3 + test '' = man/strperm.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strperm.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strperm.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strperm.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strperm.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strperm.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strperm.3 + test '' = man/strsignal.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strsignal.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsignal.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsignal.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsignal.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strsignal.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsignal.3 + test '' = man/strsort.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strsort.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsort.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsort.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsort.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strsort.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strsort.3 + test '' = man/strtape.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strtape.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strtape.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strtape.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strtape.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strtape.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strtape.3 + test '' = man/strton.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strton.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strton.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strton.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strton.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/strton.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/strton.3 + test '' = man/struid.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/struid.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/struid.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/struid.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/struid.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/struid.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/struid.3 + test '' = man/swap.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/swap.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/swap.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/swap.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/swap.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/swap.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/swap.3 + test '' = man/tab.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tab.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tab.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tab.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tab.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tab.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tab.3 + test '' = man/tm.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tm.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tm.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tm.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tm.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tm.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tm.3 + test '' = man/tmx.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tmx.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tmx.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tmx.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tmx.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tmx.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tmx.3 + test '' = man/tok.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tok.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tok.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tok.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tok.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tok.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tok.3 + test '' = man/touch.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/touch.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/touch.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/touch.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/touch.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/touch.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/touch.3 + test '' = man/tv.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tv.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tv.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tv.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tv.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/tv.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/tv.3 + test '' = man/vecargs.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/vecargs.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vecargs.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vecargs.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vecargs.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/vecargs.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vecargs.3 + test '' = man/vmalloc.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/vmalloc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vmalloc.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vmalloc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vmalloc.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/man/vmalloc.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/vmalloc.3 + test '' = ast.req + /usr/bin/cmp -s ast.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/ast + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/ast /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/ast.old + true + /bin/cp ast.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/ast + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_common.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_common.h 1.47382.x + mv 1.47382.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_common.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h 1.47386.x + mv 1.47386.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_dir.h 1.47390.x + mv 1.47390.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_dir.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast_getopt.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_getopt.h 1.47394.x + mv 1.47394.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_getopt.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast_std.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_std.h 1.47398.x + mv 1.47398.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_std.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_namval.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_namval.h 1.47402.x + mv 1.47402.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_namval.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ast_windows.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_windows.h 1.47406.x + mv 1.47406.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_windows.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ccode.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ccode.h 1.47410.x + mv 1.47410.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ccode.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/cdt.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cdt.h 1.47414.x + mv 1.47414.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cdt.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/cdt/cdtlib.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cdtlib.h 1.47418.x + mv 1.47418.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cdtlib.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/cmdarg.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmdarg.h 1.47422.x + mv 1.47422.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmdarg.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/debug.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/debug.h 1.47426.x + mv 1.47426.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/debug.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/dt.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/dt.h 1.47430.x + mv 1.47430.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/dt.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/error.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/error.h 1.47434.x + mv 1.47434.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/error.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/find.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/find.h 1.47438.x + mv 1.47438.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/find.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/ftw.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ftw.h 1.47442.x + mv 1.47442.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ftw.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ftwalk.h 1.47446.x + mv 1.47446.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ftwalk.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/fts.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fts.h 1.47450.x + mv 1.47450.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fts.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/fs3d.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fs3d.h 1.47454.x + mv 1.47454.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fs3d.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/getopt.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/getopt.h 1.47458.x + mv 1.47458.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/getopt.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/glob.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/glob.h 1.47462.x + mv 1.47462.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/glob.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/hash.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/hash.h 1.47466.x + mv 1.47466.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/hash.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/hashkey.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/hashkey.h 1.47470.x + mv 1.47470.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/hashkey.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/hashpart.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/hashpart.h 1.47474.x + mv 1.47474.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/hashpart.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ip6.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ip6.h 1.47478.x + mv 1.47478.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ip6.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' lc.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/lc.h 1.47482.x + mv 1.47482.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/lc.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/ls.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ls.h 1.47486.x + mv 1.47486.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ls.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/magic.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/magic.h 1.47490.x + mv 1.47490.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/magic.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/mc.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/mc.h 1.47494.x + mv 1.47494.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/mc.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/mime.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/mime.h 1.47498.x + mv 1.47498.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/mime.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/mnt.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/mnt.h 1.47502.x + mv 1.47502.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/mnt.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/modecanon.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/modecanon.h 1.47506.x + mv 1.47506.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/modecanon.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/modex.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/modex.h 1.47510.x + mv 1.47510.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/modex.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/namval.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/namval.h 1.47514.x + mv 1.47514.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/namval.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/option.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/option.h 1.47518.x + mv 1.47518.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/option.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/proc.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/proc.h 1.47522.x + mv 1.47522.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/proc.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/re_comp.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/re_comp.h 1.47526.x + mv 1.47526.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/re_comp.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/recfmt.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/recfmt.h 1.47530.x + mv 1.47530.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/recfmt.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/regex.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/regex.h 1.47534.x + mv 1.47534.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/regex.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/regexp.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/regexp.h 1.47538.x + mv 1.47538.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/regexp.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio.h 1.47542.x + mv 1.47542.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio_s.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio_s.h 1.47546.x + mv 1.47546.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio_s.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfio_t.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio_t.h 1.47550.x + mv 1.47550.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio_t.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/sfdisc.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfdisc.h 1.47554.x + mv 1.47554.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfdisc.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/shcmd.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/shcmd.h 1.47558.x + mv 1.47558.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/shcmd.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/stack.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stack.h 1.47562.x + mv 1.47562.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stack.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/stak.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stak.h 1.47566.x + mv 1.47566.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stak.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/stk.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stk.h 1.47570.x + mv 1.47570.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stk.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/swap.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/swap.h 1.47574.x + mv 1.47574.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/swap.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/tar.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tar.h 1.47578.x + mv 1.47578.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tar.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/times.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/times.h 1.47582.x + mv 1.47582.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/times.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/tm.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tm.h 1.47586.x + mv 1.47586.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tm.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/tok.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tok.h 1.47590.x + mv 1.47590.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tok.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/usage.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/usage.h 1.47594.x + mv 1.47594.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/usage.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/vdb.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vdb.h 1.47598.x + mv 1.47598.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vdb.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/vecargs.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vecargs.h 1.47602.x + mv 1.47602.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vecargs.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/vmalloc.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vmalloc.h 1.47606.x + mv 1.47606.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vmalloc.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/wait.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wait.h 1.47610.x + mv 1.47610.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wait.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/wordexp.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wordexp.h 1.47614.x + mv 1.47614.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wordexp.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/bytesex.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/bytesex.h 1.47618.x + mv 1.47618.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/bytesex.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/endian.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/endian.h 1.47622.x + mv 1.47622.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/endian.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/comp/fnmatch.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fnmatch.h 1.47626.x + mv 1.47626.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fnmatch.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/magicid.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/magicid.h 1.47630.x + mv 1.47630.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/magicid.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/fnv.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fnv.h 1.47634.x + mv 1.47634.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/fnv.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/include/aso.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/aso.h 1.47638.x + mv 1.47638.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/aso.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/dirent.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/dirent.h 1.47642.x + mv 1.47642.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/dirent.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/iconv.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/iconv.h 1.47646.x + mv 1.47646.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/iconv.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/nl_types.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/nl_types.h 1.47650.x + mv 1.47650.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/nl_types.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/stdio.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stdio.h 1.47654.x + mv 1.47654.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/stdio.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/wchar.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wchar.h 1.47658.x + mv 1.47658.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wchar.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/std/wctype.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wctype.h 1.47662.x + mv 1.47662.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/wctype.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' align.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/align.h 1.47666.x + mv 1.47666.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/align.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' preroot.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/preroot.h 1.47670.x + mv 1.47670.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/preroot.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' sig.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sig.h 1.47674.x + mv 1.47674.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sig.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' tmx.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tmx.h 1.47678.x + mv 1.47678.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tmx.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' tv.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tv.h 1.47682.x + mv 1.47682.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/tv.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_api.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_api.h 1.47686.x + mv 1.47686.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_api.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_botch.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_botch.h 1.47690.x + mv 1.47690.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_botch.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_ccode.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_ccode.h 1.47694.x + mv 1.47694.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_ccode.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_fcntl.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_fcntl.h 1.47698.x + mv 1.47698.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_fcntl.h + cmp -s FEATURE/float ast_float.h + rm -f ast_float.h + silent test -d . + /bin/cp FEATURE/float ast_float.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_float.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_float.h 1.47707.x + mv 1.47707.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_float.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_fs.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_fs.h 1.47711.x + mv 1.47711.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_fs.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_lib.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_lib.h 1.47715.x + mv 1.47715.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_lib.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_map.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_map.h 1.47719.x + mv 1.47719.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_map.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_mmap.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_mmap.h 1.47723.x + mv 1.47723.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_mmap.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_mode.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_mode.h 1.47727.x + mv 1.47727.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_mode.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/ndbm iffe: test: is sys/types.h a header ... yes iffe: test: is -ldb a library ... no iffe: test: sleepycat ndbm compatibility ... no iffe: test: is gdbm-ndbm.h a header ... no iffe: test: is gdbm/ndbm.h a header ... no iffe: test: is ndbm.h a header ... yes + cmp -s FEATURE/ndbm ast_ndbm.h + rm -f ast_ndbm.h + silent test -d . + /bin/cp FEATURE/ndbm ast_ndbm.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_ndbm.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_ndbm.h 1.47923.x + mv 1.47923.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_ndbm.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_param.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_param.h 1.47927.x + mv 1.47927.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_param.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_sys.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_sys.h 1.47931.x + mv 1.47931.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_sys.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_time.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_time.h 1.47935.x + mv 1.47935.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_time.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_tty.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_tty.h 1.47939.x + mv 1.47939.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_tty.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_vfork.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_vfork.h 1.47943.x + mv 1.47943.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_vfork.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_wait.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_wait.h 1.47947.x + mv 1.47947.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_wait.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_limits.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_limits.h 1.47951.x + mv 1.47951.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_limits.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_standards.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_standards.h 1.47955.x + mv 1.47955.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_standards.h + iffe -v -X ast -X std -c 'cc -D_BLD_DLL -fPIC -D_BLD_ast -O ' run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/features/sizeof iffe: test: is sys/types.h a header ... yes iffe: test: sizeof(integral-type) ... yes + cmp -s FEATURE/sizeof ast_sizeof.h + rm -f ast_sizeof.h + silent test -d . + /bin/cp FEATURE/sizeof ast_sizeof.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_sizeof.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_sizeof.h 1.48083.x + mv 1.48083.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_sizeof.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_dirent.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_dirent.h 1.48087.x + mv 1.48087.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_dirent.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_iconv.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_iconv.h 1.48091.x + mv 1.48091.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_iconv.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_nl_types.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_nl_types.h 1.48095.x + mv 1.48095.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_nl_types.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_stdio.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_stdio.h 1.48099.x + mv 1.48099.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_stdio.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_wchar.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_wchar.h 1.48103.x + mv 1.48103.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_wchar.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_wctype.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_wctype.h 1.48107.x + mv 1.48107.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast_wctype.h + silent test '!' -d /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/file + mkdir -p /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/file + test '' = misc/magic.tab + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.tab /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/file/magic + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/file/magic /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/file/magic.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libast/misc/magic.tab /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/file/magic mamake: *** exit code 1 making lib/libast + mamake -C lib/libdll -k install + set - + iffe -v -c 'cc -D_BLD_DLL -fPIC -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/features/dll iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is dl.h a header ... no iffe: test: is dlfcn.h a header ... yes iffe: test: is dll.h a header ... no iffe: test: is rld_interface.h a header ... no iffe: test: is mach-o/dyld.h a header ... yes iffe: test: is sys/ldr.h a header ... no iffe: test: is -ldl a library ... yes iffe: test: is dlopen a library function ... yes iffe: test: is dllload a library function ... no iffe: test: is loadbind a library function ... no iffe: test: is shl_load a library function ... no iffe: test: link{ ... }end ... no iffe: test: run{ ... }end ... yes iffe: test: output{ ... }end ... no + cmp -s FEATURE/dll dlldefs.h + rm -f dlldefs.h + silent test -d . + cp FEATURE/dll dlldefs.h + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_dll -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dlfcn.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_dll -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllopen.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllopen.c:90:9: warning: implicit declaration of function 'dlopen' is invalid in C99 [-Wimplicit-function-declaration] return dlopen(name, mode); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllopen.c:90:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *'; return dlopen(name, mode); ^~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_dll -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllfind.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllfind.c:43:37: warning: implicit declaration of function 'dllplug' is invalid in C99 [-Wimplicit-function-declaration] if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllfind.c:43:35: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int'; if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllfind.c:45:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *'; return dllplug(NiL, lib, ver, flags, path, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_dll -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:41:2: error: unknown type name 'Dllscan_t'; did you mean 'Dllstate_t'? Dllscan_t* dls; ^~~~~~~~~ Dllstate_t /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dlllib.h:32:3: note: 'Dllstate_t' declared here } Dllstate_t; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:42:2: error: use of undeclared identifier 'Dllent_t' Dllent_t* dle; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:42:12: error: use of undeclared identifier 'dle' Dllent_t* dle; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:13: warning: implicit declaration of function 'dllsopen' is invalid in C99 [-Wimplicit-function-declaration] if (dls = dllsopen(lib, name, ver)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: warning: incompatible integer to pointer conversion assigning to 'Dllstate_t *' (aka 'struct Dllstate_s *') from 'int'; if (dls = dllsopen(lib, name, ver)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dls = dllsopen(lib, name, ver)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: note: place parentheses around the assignment to silence this warning if (dls = dllsopen(lib, name, ver)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: note: use '==' to turn this assignment into an equality comparison if (dls = dllsopen(lib, name, ver)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:11: error: use of undeclared identifier 'dle' while (dle = dllsread(dls)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:17: warning: implicit declaration of function 'dllsread' is invalid in C99 [-Wimplicit-function-declaration] while (dle = dllsread(dls)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:15: warning: implicit declaration of function 'dllopen' is invalid in C99 [-Wimplicit-function-declaration] if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:23: error: use of undeclared identifier 'dle' if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:57:11: warning: implicit declaration of function 'dllcheck' is invalid in C99 [-Wimplicit-function-declaration] if (!dllcheck(dll, dle->path, rel, cur)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:57:25: error: use of undeclared identifier 'dle' if (!dllcheck(dll, dle->path, rel, cur)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:60:7: warning: implicit declaration of function 'dlclose' is invalid in C99 [-Wimplicit-function-declaration] dlclose(dll); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:65:21: error: use of undeclared identifier 'dle' strlcpy(path, dle->path, size); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:93:63: error: use of undeclared identifier 'dle' errorf("dll", NiL, 1, "dllplugin: %s dlopen failed: %s", dle->path, dllerror(1)); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:97:4: warning: implicit declaration of function 'dllsclose' is invalid in C99 [-Wimplicit-function-declaration] dllsclose(dls); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:109:10: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int'; if (dll = dllopen(name, flags)) ^ ~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dll = dllopen(name, flags)) ~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:109:10: note: place parentheses around the assignment to silence this warning if (dll = dllopen(name, flags)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllplug.c:109:10: note: use '==' to turn this assignment into an equality comparison if (dll = dllopen(name, flags)) ^ == 10 warnings and 8 errors generated. mamake [lib/libdll]: *** exit code 1 making dllplug.o + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_dll -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:42:1: error: unknown type name 'Dllnames_t' Dllnames_t* ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:43:44: error: unknown type name 'Dllnames_t' dllnames(const char* id, const char* name, Dllnames_t* names) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:56:21: error: use of undeclared identifier 'Dllnames_t'; did you mean 'dllnames'? s = fmtbuf(sizeof(Dllnames_t*) + sizeof(names) - 1); ^~~~~~~~~~ dllnames /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:43:1: note: 'dllnames' declared here dllnames(const char* id, const char* name, Dllnames_t* names) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:56:32: error: expected expression s = fmtbuf(sizeof(Dllnames_t*) + sizeof(names) - 1); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:59:12: error: use of undeclared identifier 'Dllnames_t'; did you mean 'dllnames'? names = (Dllnames_t*)s; ^~~~~~~~~~ dllnames /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:43:1: note: 'dllnames' declared here dllnames(const char* id, const char* name, Dllnames_t* names) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:59:23: error: expected expression names = (Dllnames_t*)s; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:83:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(s, ':')) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:83:8: note: place parentheses around the assignment to silence this warning if (t = strrchr(s, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:83:8: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(s, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:110:9: error: unknown type name 'Dllnames_t' dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:110:51: error: unknown type name 'Dllerror_f' dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:138:14: warning: implicit declaration of function 'dllplugin' is invalid in C99 [-Wimplicit-function-declaration] if (!(dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names->base) || !(dll = dllplugin(names->id, names->base, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:152:26: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] if (!(libf = (Dll_lib_f)dlllook(dll, sym))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:185:2: error: use of undeclared identifier 'Dllnames_t'; did you mean 'dllnames'? Dllnames_t names; ^~~~~~~~~~ dllnames /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:43:1: note: 'dllnames' declared here dllnames(const char* id, const char* name, Dllnames_t* names) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:187:37: error: use of undeclared identifier 'names'; did you mean 'name'? return dll_lib(dllnames(id, name, &names), version, 0, 0); ^~~~~ name /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:183:37: note: 'name' declared here dllmeth(const char* id, const char* name, unsigned long version) ^ 3 warnings and 10 errors generated. mamake [lib/libdll]: *** exit code 1 making dll_lib.o + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_dll -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllnext.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllnext.c:210:17: warning: implicit declaration of function 'dllopen' is invalid in C99 [-Wimplicit-function-declaration] while (!(dll = dllopen(path, flags))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllnext.c:210:15: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int'; while (!(dll = dllopen(path, flags))) ^ ~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_dll -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dlllook.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dlllook.c:40:15: warning: implicit declaration of function 'dlsym' is invalid in C99 [-Wimplicit-function-declaration] if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dlllook.c:40:13: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int'; if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) ^ ~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dlllook.c:45:8: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int'; addr = dlsym(dll, name); ^ ~~~~~~~~~~~~~~~~ 3 warnings generated. + cc -D_BLD_DLL -fPIC -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_dll -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:85:1: error: unknown type name 'Dllinfo_t' Dllinfo_t* ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:98:9: error: unknown type name 'Dllinfo_t' static Dllinfo_t info; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:135:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*s || !p || !h && !*(h = astconf("HOSTTYPE", NiL, NiL))) ~~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:135:26: note: place parentheses around the '&&' expression to silence this warning if (!*s || !p || !h && !*(h = astconf("HOSTTYPE", NiL, NiL))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:165:18: error: use of undeclared identifier 'DLL_INFO_PREVER' info.flags |= DLL_INFO_PREVER; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:167:18: error: use of undeclared identifier 'DLL_INFO_DOTVER' info.flags |= DLL_INFO_DOTVER; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:197:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = *a - *b) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:197:9: note: place parentheses around the assignment to silence this warning if (n = *a - *b) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:197:9: note: use '==' to turn this assignment into an equality comparison if (n = *a - *b) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:211:1: error: unknown type name 'Dllscan_t' Dllscan_t* ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:216:2: error: use of undeclared identifier 'Dllscan_t' Dllscan_t* scan; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:216:13: error: use of undeclared identifier 'scan' Dllscan_t* scan; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:217:2: error: use of undeclared identifier 'Dllinfo_t'; did you mean 'dllinfo'? Dllinfo_t* info; ^~~~~~~~~ dllinfo /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:86:1: note: 'dllinfo' declared here dllinfo(void) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:217:13: error: use of undeclared identifier 'info' Dllinfo_t* info; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:232:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(lib, ':')) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:232:9: note: place parentheses around the assignment to silence this warning if (s = strrchr(lib, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:232:9: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(lib, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:241:47: warning: '&&' within '||' [-Wlogical-op-parentheses] if (version && (!*version || *version == '-' && !*(version + 1))) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:241:47: note: place parentheses around the '&&' expression to silence this warning if (version && (!*version || *version == '-' && !*(version + 1))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:8: error: use of undeclared identifier 'scan' if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:30: error: use of undeclared identifier 'Dllscan_t' if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vmalloc.h:329:29: note: expanded from macro 'vmnewof' #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:15: error: expected expression if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vmalloc.h:329:31: note: expanded from macro 'vmnewof' #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:30: error: use of undeclared identifier 'Dllscan_t' if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vmalloc.h:329:58: note: expanded from macro 'vmnewof' #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/vmalloc.h:313:26: note: expanded from macro 'vmresize' ((vm),(Void_t*)(d),(sz),(type),0) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:53: error: use of undeclared identifier 'scan' if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:248:2: error: use of undeclared identifier 'scan' scan->vm = vm; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:249:2: error: use of undeclared identifier 'info' info = dllinfo(); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:250:2: error: use of undeclared identifier 'scan' scan->flags = info->flags; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:250:16: error: use of undeclared identifier 'info' scan->flags = info->flags; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllscan.c:253:3: error: use of undeclared identifier 'scan' scan->lib = (char**)(scan + 1); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. mamake [lib/libdll]: *** exit code 1 making dllscan.o + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_dll -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:2: error: use of undeclared identifier 'Dll_plugin_version_f'; did you mean 'plugin_version'? Dll_plugin_version_f pvf; ^~~~~~~~~~~~~~~~~~~~ plugin_version /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:422:33: note: 'plugin_version' declared here extern __MANGLE__ unsigned long plugin_version __PROTO__((void)); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:22: error: expected ';' after expression Dll_plugin_version_f pvf; ^ ; /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:23: error: use of undeclared identifier 'pvf' Dll_plugin_version_f pvf; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:6: error: use of undeclared identifier 'pvf' if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:13: error: use of undeclared identifier 'Dll_plugin_version_f'; did you mean 'plugin_version'? if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) ^~~~~~~~~~~~~~~~~~~~ plugin_version /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:422:33: note: 'plugin_version' declared here extern __MANGLE__ unsigned long plugin_version __PROTO__((void)); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:40:12: error: use of undeclared identifier 'pvf' return (*pvf)(); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:2: warning: expression result unused [-Wunused-value] Dll_plugin_version_f pvf; ^~~~~~~~~~~~~~~~~~~~ 1 warning and 6 errors generated. mamake [lib/libdll]: *** exit code 1 making dllcheck.o + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_dll -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllerror.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllerror.c:45:6: warning: implicit declaration of function 'dlerror' is invalid in C99 [-Wimplicit-function-declaration] s = dlerror(); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libdll/dllerror.c:45:4: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int'; s = dlerror(); ^ ~~~~~~~~~ 2 warnings generated. + test '' = dll.req + /usr/bin/cmp -s dll.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dll + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dll /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dll.old + true + /bin/cp dll.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/dll + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1997,author=gsf' dlldefs.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/dlldefs.h 1.49264.x + mv 1.49264.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/dlldefs.h mamake: *** exit code 1 making lib/libdll + mamake -C lib/libcoshell -k install + set - + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:112:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *v++) ~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:112:15: note: place parentheses around the assignment to silence this warning while (*s = *v++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:112:15: note: use '==' to turn this assignment into an equality comparison while (*s = *v++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(s = av[0], '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:237:11: note: place parentheses around the assignment to silence this warning if (t = strrchr(s = av[0], '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:237:11: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(s = av[0], '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:239:41: warning: '&&' within '||' [-Wlogical-op-parentheses] if (flags || (co->flags & CO_DEVFD) && strmatch(s, "*ksh*")) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:239:41: note: place parentheses around the '&&' expression to silence this warning if (flags || (co->flags & CO_DEVFD) && strmatch(s, "*ksh*")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:277:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = getenv(CO_ENV_ATTRIBUTES)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:277:9: note: place parentheses around the assignment to silence this warning if (t = getenv(CO_ENV_ATTRIBUTES)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:277:9: note: use '==' to turn this assignment into an equality comparison if (t = getenv(CO_ENV_ATTRIBUTES)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:328:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ',')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:328:11: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ',')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:328:11: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ',')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:288:3: warning: expression result unused [-Wunused-value] sfstrseek(sp, 0, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:396:90: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(s = sh[1]) || (s = (t = strrchr(s, '/')) ? (t + 1) : s) && !strmatch(s, "?(k)sh") && !streq(s, CO_ID)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:396:90: note: place parentheses around the '&&' expression to silence this warning if (!(s = sh[1]) || (s = (t = strrchr(s, '/')) ? (t + 1) : s) && !strmatch(s, "?(k)sh") && !streq(s, CO_ID)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 7 warnings generated. + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coclose.c + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:75:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cvt = *n == '%') ~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:75:10: note: place parentheses around the assignment to silence this warning if (cvt = *n == '%') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:75:10: note: use '==' to turn this assignment into an equality comparison if (cvt = *n == '%') ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:86:75: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:86:75: note: place parentheses around the '&&' expression to silence this warning if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:86:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ~~~~~~~~~~~~~~~~^~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:86:23: note: place parentheses around the '&&' expression to silence this warning if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:86:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:86:37: note: place parentheses around the '&&' expression to silence this warning if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:190:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (n = 0; s = co_export[n]; n++) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:190:19: note: place parentheses around the assignment to silence this warning for (n = 0; s = co_export[n]; n++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:190:19: note: use '==' to turn this assignment into an equality comparison for (n = 0; s = co_export[n]; n++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:204:12: note: place parentheses around the assignment to silence this warning if (v = strchr(s, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:204:12: note: use '==' to turn this assignment into an equality comparison if (v = strchr(s, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:206:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (e = *ep++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:206:15: note: place parentheses around the assignment to silence this warning while (e = *ep++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:206:15: note: use '==' to turn this assignment into an equality comparison while (e = *ep++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:207:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((t = strsubmatch(e, s, 1)) && (*t == '=' || !*t && (t = strchr(e, '=')))) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:207:59: note: place parentheses around the '&&' expression to silence this warning if ((t = strsubmatch(e, s, 1)) && (*t == '=' || !*t && (t = strchr(e, '=')))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:212:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (n = 0; xs = co_export[n]; n++) ~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:212:24: note: place parentheses around the assignment to silence this warning for (n = 0; xs = co_export[n]; n++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:212:24: note: use '==' to turn this assignment into an equality comparison for (n = 0; xs = co_export[n]; n++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:244:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:244:13: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:244:13: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:295:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!sync && (*s == ':' || *s == '.' && *(s + 1) == ':')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:295:42: note: place parentheses around the '&&' expression to silence this warning if (!sync && (*s == ':' || *s == '.' && *(s + 1) == ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:297:6: warning: expression result unused [-Wunused-value] sfstrseek(sp, 0, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:318:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:318:13: note: place parentheses around the assignment to silence this warning while (n = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:318:13: note: use '==' to turn this assignment into an equality comparison while (n = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:368:8: warning: expression result unused [-Wunused-value] sfstrseek(sp, strlen(t), SEEK_CUR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:378:5: warning: expression result unused [-Wunused-value] sfstrseek(sp, p, SEEK_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sfio.h:424:37: note: expanded from macro 'sfstrseek' (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \ ^ ~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:411:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:411:23: note: place parentheses around the assignment to silence this warning if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:411:23: note: use '==' to turn this assignment into an equality comparison if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) ^ == 16 warnings generated. + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexec.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:292:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:292:21: note: place parentheses around the assignment to silence this warning else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:292:21: note: use '==' to turn this assignment into an equality comparison else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:367:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:367:21: note: place parentheses around the assignment to silence this warning else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:367:21: note: use '==' to turn this assignment into an equality comparison else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ == 2 warnings generated. + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/costash.c + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:42:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfopen(NiL, *path, "r")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:42:9: note: place parentheses around the assignment to silence this warning if (sp = sfopen(NiL, *path, "r")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:42:9: note: use '==' to turn this assignment into an equality comparison if (sp = sfopen(NiL, *path, "r")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:150:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if (co || job && (co = job->coshell)) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:150:16: note: place parentheses around the '&&' expression to silence this warning if (co || job && (co = job->coshell)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:183:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (cj->service && !cj->service->pid) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:275:66: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(type = *s) || type != 'a' && type != 'j' && type != 'k' && type != 'x') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:275:66: note: place parentheses around the '&&' expression to silence this warning if (!(type = *s) || type != 'a' && type != 'j' && type != 'k' && type != 'x') ^ ( ) 4 warnings generated. + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cokill.c + iffe -v -c 'cc -fPIC -O ' ref -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -last -liconv : def nfsd iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is nfsd a command ... no iffe: test: is nfsd a library data symbol ... no iffe: test: is nfsd.h a header ... no iffe: test: is nfsd a reserved keyword ... no iffe: test: is nfsd a library function ... no iffe: test: is nfsd a math library symbol ... no iffe: test: is sys/nfsd.h a header ... no iffe: test: is nfsd a type or typedef ... no + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/cosync.c + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coquote.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coquote.c:38:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coquote.c:38:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coquote.c:38:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 1 warning generated. + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/codata.c + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coexport.c + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/procrun.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/procrun.c:45:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *++a) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/procrun.c:45:11: note: place parentheses around the assignment to silence this warning while (s = *++a) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/procrun.c:45:11: note: use '==' to turn this assignment into an equality comparison while (s = *++a) ^ == 1 warning generated. + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/system.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/system.c:41:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/system.c:41:9: note: place parentheses around the assignment to silence this warning if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/system.c:41:9: note: use '==' to turn this assignment into an equality comparison if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) ^ == 1 warning generated. + /usr/bin/ar rc libcoshell.a coopen.o coclose.o coinit.o coexec.o costash.o cowait.o cokill.o cosync.o coquote.o codata.o coexport.o procrun.o system.o + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/ignore.sh ignore + silent test -w ignore -a -x ignore + chmod u+w,+x ignore + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/silent.sh silent + silent test -w silent -a -x silent + chmod u+w,+x silent + test '' = libcoshell.a + /usr/bin/cmp -s libcoshell.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a.old + true + /bin/cp libcoshell.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a + test '' = coshell.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coshell.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/coshell.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/coshell.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/coshell.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coshell.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/coshell.3 + test '' = coshell.req + /usr/bin/cmp -s coshell.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/coshell + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/coshell /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/coshell.old + true + /bin/cp coshell.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/coshell + test '' = ignore + /usr/bin/cmp -s ignore /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ignore + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ignore /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ignore.old + true + /bin/cp ignore /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/ignore + test '' = silent + /usr/bin/cmp -s silent /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/silent + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/silent /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/silent.old + true + /bin/cp silent /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/bin/silent + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1990,author=gsf' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcoshell/coshell.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/coshell.h 1.49542.x + mv 1.49542.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/coshell.h + mamake -C lib/libsum -k install + set - + iffe -v -c 'cc -fPIC -O ' ref -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/features/sum iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is md4.h a header ... no iffe: test: is -lmd a library ... no iffe: test: is MD4Init a library function ... no iffe: test: is md5.h a header ... no iffe: test: is MD5Init a library function ... no iffe: test: is sha1.h a header ... no iffe: test: is SHA1Init a library function ... no iffe: test: is sha2.h a header ... no iffe: test: is SHA2Init a library function ... no + cc -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:84:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, Integral_t, 1, 0)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:84:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, Integral_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:84:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, Integral_t, 1, 0)) ^ == In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:153: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-ast4.c:72:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, Ast4_t, 1, 0)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-ast4.c:72:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, Ast4_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-ast4.c:72:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, Ast4_t, 1, 0)) ^ == In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:155: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-crc.c:71:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sum = newof(0, Crc_t, 1, 0)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-crc.c:71:10: note: place parentheses around the assignment to silence this warning if (sum = newof(0, Crc_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-crc.c:71:10: note: use '==' to turn this assignment into an equality comparison if (sum = newof(0, Crc_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-crc.c:84:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isdigit(*t) || v && i >= 4 && strneq(t, "poly", 4) && (t = v + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-crc.c:84:58: note: place parentheses around the '&&' expression to silence this warning if (isdigit(*t) || v && i >= 4 && strneq(t, "poly", 4) && (t = v + 1)) ^ ( ) In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:156: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-prng.c:62:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sum = newof(0, Prng_t, 1, 0)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-prng.c:62:10: note: place parentheses around the assignment to silence this warning if (sum = newof(0, Prng_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-prng.c:62:10: note: use '==' to turn this assignment into an equality comparison if (sum = newof(0, Prng_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-prng.c:74:47: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isdigit(*t) || v && strneq(t, "mpy", i) && (t = v + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-prng.c:74:47: note: place parentheses around the '&&' expression to silence this warning if (isdigit(*t) || v && strneq(t, "mpy", i) && (t = v + 1)) ^ ( ) In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:164: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-md5.c:117:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, Md5_t, 1, 0)) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-md5.c:117:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, Md5_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-md5.c:117:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, Md5_t, 1, 0)) ^ == In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:165: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha1.c:254:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha1_t, 1, 0)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha1.c:254:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha1_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha1.c:254:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha1_t, 1, 0)) ^ == In file included from /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:166: /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:695:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha256_t, 1, 0)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:695:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha256_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:695:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha256_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1058:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha512_t, 1, 0)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1058:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha512_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1058:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha512_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1195:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha384_t, 1, 0)) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1195:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha384_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1195:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha384_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:278:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!name || !name[0] || name[0] == '-' && !name[1]) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sumlib.c:278:42: note: place parentheses around the '&&' expression to silence this warning if (!name || !name[0] || name[0] == '-' && !name[1]) ^ ( ) 12 warnings generated. + /usr/bin/ar rc libsum.a sumlib.o + test '' = libsum.a + /usr/bin/cmp -s libsum.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libsum.a + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libsum.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libsum.a.old + true + /bin/cp libsum.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libsum.a + test '' = sum.req + /usr/bin/cmp -s sum.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/sum + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/sum /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/sum.old + true + /bin/cp sum.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/sum + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1996,author=gsf' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libsum/sum.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sum.h 1.49808.x + mv 1.49808.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/sum.h + mamake -C lib/libcmd -k install + set - + iffe -v -c 'cc -D_BLD_DLL -fPIC -O ' ref -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -lutil -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/features/symlink iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: lchmod implemented ... yes iffe: test: lchown implemented ... yes + iffe -v -c 'cc -D_BLD_DLL -fPIC -O ' ref -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -lutil -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/features/sockets iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is arpa/inet.h a header ... yes iffe: test: is netinet/in.h a header ... yes iffe: test: is getsockname a library function ... yes iffe: test: is getsockopt a library function ... yes iffe: test: is inet_ntoa a library function ... yes + iffe -v -c 'cc -D_BLD_DLL -fPIC -O ' ref -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -lutil -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/features/ids iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is endgrent a library function ... yes iffe: test: is getgrent a library function ... yes iffe: test: is setgrent a library function ... yes iffe: test: is sys/fss.h a header ... no iffe: test: is fsg.h a header ... no iffe: test: is -lfsg a library ... no iffe: test: is fsid a library function ... no iffe: test: is getfsgid a library function ... no iffe: test: is isfsg a library function ... no iffe: test: is unistd.h a header ... yes iffe: test: is getsid a library function ... yes iffe: test: is fsid a macro ... no iffe: test: cat{ ... }end ... yes + iffe -v -c 'cc -D_BLD_DLL -fPIC -O ' ref -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -lutil -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/features/utsname iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is getdomainname a library function ... yes iffe: test: is gethostid a library function ... yes iffe: test: is gethostname a library function ... yes iffe: test: is sethostname a library function ... yes iffe: test: is syscall a library function ... yes iffe: test: is systeminfo a library function ... no iffe: test: is uname a library function ... yes iffe: test: is syssgi a library function ... no iffe: test: is sys/utsname.h a header ... yes iffe: test: is utsname a type or typedef ... no iffe: test: is base_rel a member of struct utsname ... no iffe: test: is idnumber a member of struct utsname ... no iffe: test: is m_type a member of struct utsname ... no iffe: test: is nodeext a member of struct utsname ... no iffe: test: is sys/syscall.h a header ... yes iffe: test: is sys/systeminfo.h a header ... no iffe: test: is sys/syssgi.h a header ... no iffe: test: cross{ ... }end ... yes + cat + sort -u + sed -e '/^b_[a-z_][a-z_0-9]*(/!d' -e 's/^b_//' -e 's/(.*//' -e 's/.*/extern int b_&(int, char**, Shbltin_t*);/' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/basename.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chmod.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chown.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/dirname.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fds.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/ln.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/logname.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/md5sum.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkdir.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mktemp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mv.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/pathchk.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/pids.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rmdir.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/sum.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/sync.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tty.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/vmstate.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/revlib.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/lib.c + cmp -s 1.51037.h cmdext.h + mv 1.51037.h cmdext.h + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strrchr(argv[0], '/')) ~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c:50:9: note: place parentheses around the assignment to silence this warning if (cp = strrchr(argv[0], '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c:50:9: note: use '==' to turn this assignment into an equality comparison if (cp = strrchr(argv[0], '/')) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/basename.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/basename.c:131:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || argc < 1 || !all && argc > 2) ~~ ~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/basename.c:131:44: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || argc < 1 || !all && argc > 2) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/basename.c:136:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (string = *argv++) ~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/basename.c:136:17: note: place parentheses around the assignment to silence this warning while (string = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/basename.c:136:17: note: use '==' to turn this assignment into an equality comparison while (string = *argv++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:176:25: warning: expression result unused [-Wunused-value] if ((m = mbsize(pp)) == c) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:213:26: warning: expression result unused [-Wunused-value] if ((m = mbsize(tmp)) >= c) ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:515:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:515:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:515:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp = *argv++); ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:551:14: note: place parentheses around the assignment to silence this warning } while (cp = *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cat.c:551:14: note: use '==' to turn this assignment into an equality comparison } while (cp = *argv++); ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:355:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = sfgetr(sp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:355:12: note: place parentheses around the assignment to silence this warning while (s = sfgetr(sp, '\n', 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:355:12: note: use '==' to turn this assignment into an equality comparison while (s = sfgetr(sp, '\n', 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:434:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = (Map_t*)dtmatch(map, &keys[i])) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:434:12: note: place parentheses around the assignment to silence this warning if (m = (Map_t*)dtmatch(map, &keys[i])) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:434:12: note: use '==' to turn this assignment into an equality comparison if (m = (Map_t*)dtmatch(map, &keys[i])) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:465:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:465:38: note: place parentheses around the '&&' expression to silence this warning if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:465:86: warning: '&&' within '||' [-Wlogical-op-parentheses] if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:465:86: note: place parentheses around the '&&' expression to silence this warning if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 4 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chmod.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chmod.c:237:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || !*argv || !amode && !*(argv + 1)) ~~ ~~~~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chmod.c:237:44: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || !*argv || !amode && !*(argv + 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chmod.c:298:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chmod.c:298:36: note: place parentheses around the '&&' expression to silence this warning if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM)) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/chown.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:189:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfgetr(ip, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:189:12: note: place parentheses around the assignment to silence this warning while (p = sfgetr(ip, '\n', 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:189:12: note: use '==' to turn this assignment into an equality comparison while (p = sfgetr(ip, '\n', 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:200:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfreserve(ip, SF_UNBOUND, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:200:12: note: place parentheses around the assignment to silence this warning while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:200:12: note: use '==' to turn this assignment into an equality comparison while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:209:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (r = memchr(p, '\r', e - p)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:209:13: note: place parentheses around the assignment to silence this warning while (r = memchr(p, '\r', e - p)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:209:13: note: use '==' to turn this assignment into an equality comparison while (r = memchr(p, '\r', e - p)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:226:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfreserve(ip, SF_UNBOUND, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:226:12: note: place parentheses around the assignment to silence this warning while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:226:12: note: use '==' to turn this assignment into an equality comparison while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:243:88: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:243:88: note: place parentheses around the '&&' expression to silence this warning (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:243:153: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:243:153: note: place parentheses around the '&&' expression to silence this warning (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:244:88: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:244:88: note: place parentheses around the '&&' expression to silence this warning (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:244:143: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:244:143: note: place parentheses around the '&&' expression to silence this warning (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:270:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*s || *s == '#' && (!*(s + 1) || *(s + 1) == ' ' || *(s + 1) == '\t')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:270:23: note: place parentheses around the '&&' expression to silence this warning if (!*s || *s == '#' && (!*(s + 1) || *(s + 1) == ' ' || *(s + 1) == '\t')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:272:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ' ')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:272:8: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ' ')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:272:8: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ' ')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:281:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(++e, ' ')) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:281:10: note: place parentheses around the assignment to silence this warning if (t = strchr(++e, ' ')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:281:10: note: use '==' to turn this assignment into an equality comparison if (t = strchr(++e, ' ')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:291:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = strchr(++t, ' ')) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:291:11: note: place parentheses around the assignment to silence this warning if (e = strchr(++t, ' ')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:291:11: note: use '==' to turn this assignment into an equality comparison if (e = strchr(++t, ' ')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:306:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(file, "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:306:10: note: place parentheses around the assignment to silence this warning if (sp = openfile(file, "rb")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:306:10: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(file, "rb")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:411:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (file = sfgetr(lp, '\n', 1)) ~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:411:14: note: place parentheses around the assignment to silence this warning while (file = sfgetr(lp, '\n', 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:411:14: note: use '==' to turn this assignment into an equality comparison while (file = sfgetr(lp, '\n', 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(file, state->check ? "rt" : "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:412:10: note: place parentheses around the assignment to silence this warning if (sp = openfile(file, state->check ? "rt" : "rb")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:412:10: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(file, state->check ? "rt" : "rb")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:577:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (file = *argv++) ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:577:16: note: place parentheses around the assignment to silence this warning while (file = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:577:16: note: use '==' to turn this assignment into an equality comparison while (file = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:578:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(file, "rt")) ~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:578:12: note: place parentheses around the assignment to silence this warning if (sp = openfile(file, "rt")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:578:12: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(file, "rt")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:584:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (sp = openfile(NiL, "rt")) ~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:584:15: note: place parentheses around the assignment to silence this warning else if (sp = openfile(NiL, "rt")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:584:15: note: use '==' to turn this assignment into an equality comparison else if (sp = openfile(NiL, "rt")) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:600:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(flags & FTS_PHYSICAL) || (flags & FTS_META) && ent->fts_level == 1) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:600:55: note: place parentheses around the '&&' expression to silence this warning if (!(flags & FTS_PHYSICAL) || (flags & FTS_META) && ent->fts_level == 1) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:604:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(ent->fts_accpath, "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:604:12: note: place parentheses around the assignment to silence this warning if (sp = openfile(ent->fts_accpath, "rb")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cksum.c:604:12: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(ent->fts_accpath, "rb")) ^ == 20 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:167:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((e2 - p2) > 0 || sfreserve(f2, SF_UNBOUND, 0) && sfvalue(f2) > 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:167:55: note: place parentheses around the '&&' expression to silence this warning if ((e2 - p2) > 0 || sfreserve(f2, SF_UNBOUND, 0) && sfvalue(f2) > 0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:236:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!differences || differences < 0 && !(flags & CMP_VERBOSE)) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:236:42: note: place parentheses around the '&&' expression to silence this warning if (!differences || differences < 0 && !(flags & CMP_VERBOSE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:332:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:332:8: note: place parentheses around the assignment to silence this warning if (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:332:8: note: use '==' to turn this assignment into an equality comparison if (s = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:340:9: note: place parentheses around the assignment to silence this warning if (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmp.c:340:9: note: use '==' to turn this assignment into an equality comparison if (s = *argv++) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:70:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp1 = sfgetr(in1,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:70:9: note: place parentheses around the assignment to silence this warning if(cp1 = sfgetr(in1,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:70:9: note: use '==' to turn this assignment into an equality comparison if(cp1 = sfgetr(in1,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:72:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp2 = sfgetr(in2,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:72:9: note: place parentheses around the assignment to silence this warning if(cp2 = sfgetr(in2,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:72:9: note: use '==' to turn this assignment into an equality comparison if(cp2 = sfgetr(in2,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:90:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp1 = sfgetr(in1,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:90:11: note: place parentheses around the assignment to silence this warning if(cp1 = sfgetr(in1,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:90:11: note: use '==' to turn this assignment into an equality comparison if(cp1 = sfgetr(in1,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:92:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp2 = sfgetr(in2,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:92:11: note: place parentheses around the assignment to silence this warning if(cp2 = sfgetr(in2,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:92:11: note: use '==' to turn this assignment into an equality comparison if(cp2 = sfgetr(in2,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:104:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp2 = sfgetr(in2,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:104:11: note: place parentheses around the assignment to silence this warning if(cp2 = sfgetr(in2,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:104:11: note: use '==' to turn this assignment into an equality comparison if(cp2 = sfgetr(in2,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp1 = sfgetr(in1,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:111:11: note: place parentheses around the assignment to silence this warning if(cp1 = sfgetr(in1,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/comm.c:111:11: note: use '==' to turn this assignment into an equality comparison if(cp1 = sfgetr(in1,'\n',0)) ^ == 6 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:300:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (e = strchr(s, '/')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:300:13: note: place parentheses around the assignment to silence this warning while (e = strchr(s, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:300:13: note: use '==' to turn this assignment into an equality comparison while (e = strchr(s, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:306:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(s, '/')) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:306:12: note: place parentheses around the assignment to silence this warning if (s = strrchr(s, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:306:12: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(s, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:327:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:327:23: note: place parentheses around the '&&' expression to silence this warning if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:327:64: warning: '&&' within '||' [-Wlogical-op-parentheses] if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:327:64: note: place parentheses around the '&&' expression to silence this warning if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:453:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (S_ISLNK(st.st_mode) && (n = -1) || (n = open(state->path, O_RDWR|O_BINARY|O_cloexec)) >= 0) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:453:28: note: place parentheses around the '&&' expression to silence this warning if (S_ISLNK(st.st_mode) && (n = -1) || (n = open(state->path, O_RDWR|O_BINARY|O_cloexec)) >= 0) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(state->path, '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:502:10: note: place parentheses around the assignment to silence this warning if (s = strrchr(state->path, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:502:10: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(state->path, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:513:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:513:12: note: place parentheses around the assignment to silence this warning if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:513:12: note: use '==' to turn this assignment into an equality comparison if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:515:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sub = fts_read(fts)) ~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:515:16: note: place parentheses around the assignment to silence this warning while (sub = fts_read(fts)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:515:16: note: use '==' to turn this assignment into an equality comparison while (sub = fts_read(fts)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:626:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (sfsync(op) || state->sync && fsync(wfd) || sfclose(op)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:626:35: note: place parentheses around the '&&' expression to silence this warning if (sfsync(op) || state->sync && fsync(wfd) || sfclose(op)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:956:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(file, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:956:8: note: place parentheses around the assignment to silence this warning if (s = strrchr(file, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:956:8: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(file, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:960:49: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ~~ ~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:960:49: note: place parentheses around the '&&' expression to silence this warning if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:960:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:960:26: note: place parentheses around the '&&' expression to silence this warning if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:986:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fts = fts_open(argv, state->flags, NiL)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:986:10: note: place parentheses around the assignment to silence this warning if (fts = fts_open(argv, state->flags, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cp.c:986:10: note: use '==' to turn this assignment into an equality comparison if (fts = fts_open(argv, state->flags, NiL)) ^ == 13 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:142:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cut->mb = mbwide()) ~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:142:14: note: place parentheses around the assignment to silence this warning if (cut->mb = mbwide()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:142:14: note: use '==' to turn this assignment into an equality comparison if (cut->mb = mbwide()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:265:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (len = cut->reclen) ~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:265:11: note: place parentheses around the assignment to silence this warning if (len = cut->reclen) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:265:11: note: use '==' to turn this assignment into an equality comparison if (len = cut->reclen) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:288:28: warning: expression result unused [-Wunused-value] else if ((z = mbnsize(s, w)) <= 0) ~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:201:62: note: expanded from macro 'mbnsize' #define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:318:39: warning: expression result unused [-Wunused-value] if (!(*s & 0x80) || (z = mbnsize(s, w)) <= 0) ~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:201:62: note: expanded from macro 'mbnsize' #define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:395:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (nfields = *(lp = cut->list)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:395:17: note: place parentheses around the assignment to silence this warning if (nfields = *(lp = cut->list)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:395:17: note: use '==' to turn this assignment into an equality comparison if (nfields = *(lp = cut->list)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:679:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:679:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:679:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:696:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while(cp = *argv++); ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:696:13: note: place parentheses around the assignment to silence this warning } while(cp = *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cut.c:696:13: note: use '==' to turn this assignment into an equality comparison } while(cp = *argv++); ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/dirname.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:270:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (f = f->next); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:270:13: note: place parentheses around the assignment to silence this warning } while (f = f->next); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:270:13: note: use '==' to turn this assignment into an equality comparison } while (f = f->next); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:408:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:408:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:408:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:427:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:427:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:441:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:441:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:441:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:492:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (s = *++argv); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:492:16: note: place parentheses around the assignment to silence this warning } while (s = *++argv); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/date.c:492:16: note: use '==' to turn this assignment into an equality comparison } while (s = *++argv); ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c:312:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c:312:9: note: place parentheses around the assignment to silence this warning if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c:312:9: note: use '==' to turn this assignment into an equality comparison if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c:506:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n=optget(argv, usage)) ~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c:506:11: note: place parentheses around the assignment to silence this warning while (n=optget(argv, usage)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/expr.c:506:11: note: use '==' to turn this assignment into an equality comparison while (n=optget(argv, usage)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fds.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fds.c:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fds.c:328:10: note: place parentheses around the assignment to silence this warning if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fds.c:328:10: note: use '==' to turn this assignment into an equality comparison if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *ep) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:175:12: note: place parentheses around the assignment to silence this warning while (c = *ep) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:175:12: note: use '==' to turn this assignment into an equality comparison while (c = *ep) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:225:146: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!splice && !fp->retain && (!fp->quote || (fp->outp - fp->outbuf) < 2 || fp->outp[-2] != '\\' || fp->outp[-1] != 'n' && fp->outp[-1] != 't' && fp->outp[-1] != ' ')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:225:146: note: place parentheses around the '&&' expression to silence this warning if (!splice && !fp->retain && (!fp->quote || (fp->outp - fp->outbuf) < 2 || fp->outp[-2] != '\\' || fp->outp[-1] != 'n' && fp->outp[-1] != 't' && fp->outp[-1] != ' ')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:245:63: warning: '&&' within '||' [-Wlogical-op-parentheses] while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:245:63: note: place parentheses around the '&&' expression to silence this warning while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:245:155: warning: '&&' within '||' [-Wlogical-op-parentheses] while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:245:155: note: place parentheses around the '&&' expression to silence this warning while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:319:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*cp == ']' || *cp == '@' && *(cp + 1) == '(') ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:319:39: note: place parentheses around the '&&' expression to silence this warning if (*cp == ']' || *cp == '@' && *(cp + 1) == '(') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:399:64: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c == ']' && (cp >= lp || *cp != ':' && *cp != '#' && *cp != '!')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:399:64: note: place parentheses around the '&&' expression to silence this warning else if (c == ']' && (cp >= lp || *cp != ':' && *cp != '#' && *cp != '!')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:616:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:616:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:616:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:630:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp = *argv++); ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:630:14: note: place parentheses around the assignment to silence this warning } while (cp = *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fmt.c:630:14: note: use '==' to turn this assignment into an equality comparison } while (cp = *argv++); ^ == 8 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:197:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = *opt_info.arg) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:197:10: note: place parentheses around the assignment to silence this warning if (n = *opt_info.arg) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:197:10: note: use '==' to turn this assignment into an equality comparison if (n = *opt_info.arg) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:222:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:222:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:222:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:238:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:238:10: note: place parentheses around the assignment to silence this warning while(cp= *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fold.c:238:10: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++); ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = *++argv) ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:232:12: note: place parentheses around the assignment to silence this warning if (path = *++argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:232:12: note: use '==' to turn this assignment into an equality comparison if (path = *++argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:239:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || !name && *argv) ~~ ~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:239:33: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || !name && *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:350:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = getenv("PATH")) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:350:8: note: place parentheses around the assignment to silence this warning if (s = getenv("PATH")) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/getconf.c:350:8: note: use '==' to turn this assignment into an equality comparison if (s = getenv("PATH")) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c:122:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c:122:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c:122:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c:146:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp = *argv++); ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c:146:14: note: place parentheses around the assignment to silence this warning } while (cp = *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/head.c:146:14: note: use '==' to turn this assignment into an equality comparison } while (cp = *argv++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:308:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (grp = getgrent()) ~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:308:15: note: place parentheses around the assignment to silence this warning while (grp = getgrent()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:308:15: note: use '==' to turn this assignment into an equality comparison while (grp = getgrent()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:309:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = grp->gr_mem) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:309:11: note: place parentheses around the assignment to silence this warning if (p = grp->gr_mem) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:309:11: note: use '==' to turn this assignment into an equality comparison if (p = grp->gr_mem) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:310:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *p++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:310:15: note: place parentheses around the assignment to silence this warning while (s = *p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:310:15: note: use '==' to turn this assignment into an equality comparison while (s = *p++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:343:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (grp = getgrgid(group)) ~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:343:14: note: place parentheses around the assignment to silence this warning if (grp = getgrgid(group)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:343:14: note: use '==' to turn this assignment into an equality comparison if (grp = getgrgid(group)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:378:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (grp = getgrent()) ~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:378:15: note: place parentheses around the assignment to silence this warning while (grp = getgrent()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:378:15: note: use '==' to turn this assignment into an equality comparison while (grp = getgrent()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:379:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = grp->gr_mem) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:379:11: note: place parentheses around the assignment to silence this warning if (p = grp->gr_mem) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:379:11: note: use '==' to turn this assignment into an equality comparison if (p = grp->gr_mem) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:380:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *p++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:380:15: note: place parentheses around the assignment to silence this warning while (s = *p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/id.c:380:15: note: use '==' to turn this assignment into an equality comparison while (s = *p++) ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:191:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (jp = newof(0, Join_t, 1, 0)) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:191:9: note: place parentheses around the assignment to silence this warning if (jp = newof(0, Join_t, 1, 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:191:9: note: use '==' to turn this assignment into an equality comparison if (jp = newof(0, Join_t, 1, 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:193:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (jp->mb = mbwide()) ~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:193:14: note: place parentheses around the assignment to silence this warning if (jp->mb = mbwide()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:193:14: note: use '==' to turn this assignment into an equality comparison if (jp->mb = mbwide()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:226:11: note: place parentheses around the assignment to silence this warning while (c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:226:11: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:258:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:258:12: note: place parentheses around the assignment to silence this warning while (cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:258:12: note: use '==' to turn this assignment into an equality comparison while (cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:563:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (out = jp->outlist) ~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:563:10: note: place parentheses around the assignment to silence this warning if (out = jp->outlist) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:563:10: note: use '==' to turn this assignment into an equality comparison if (out = jp->outlist) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:575:17: warning: '&&' within '||' [-Wlogical-op-parentheses] j = (mode<0 && i || mode>0 && !i) ? ~~~~~~~^~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:575:17: note: place parentheses around the '&&' expression to silence this warning j = (mode<0 && i || mode>0 && !i) ? ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:575:32: warning: '&&' within '||' [-Wlogical-op-parentheses] j = (mode<0 && i || mode>0 && !i) ? ~~ ~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:575:32: note: place parentheses around the '&&' expression to silence this warning j = (mode<0 && i || mode>0 && !i) ? ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:643:31: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((cp1 = getrec(jp, 0, 0)) && (cp2 = getrec(jp, 1, 0)) || (cp2 = 0)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:643:31: note: place parentheses around the '&&' expression to silence this warning if ((cp1 = getrec(jp, 0, 0)) && (cp2 = getrec(jp, 1, 0)) || (cp2 = 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:657:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:657:11: note: place parentheses around the '&&' expression to silence this warning if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:657:177: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:657:177: note: place parentheses around the '&&' expression to silence this warning if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:662:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp1 = getrec(jp, 0, 1)) ~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:662:14: note: place parentheses around the assignment to silence this warning if (cp1 = getrec(jp, 0, 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:662:14: note: use '==' to turn this assignment into an equality comparison if (cp1 = getrec(jp, 0, 1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:687:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp2 = getrec(jp, 1, lo < 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:687:13: note: place parentheses around the assignment to silence this warning if (cp2 = getrec(jp, 1, lo < 0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:687:13: note: use '==' to turn this assignment into an equality comparison if (cp2 = getrec(jp, 1, lo < 0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:731:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp2 = getrec(jp, 1, 1)) ~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:731:13: note: place parentheses around the assignment to silence this warning if (cp2 = getrec(jp, 1, 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/join.c:731:13: note: use '==' to turn this assignment into an equality comparison if (cp2 = getrec(jp, 1, 1)) ^ == 13 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/ln.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/logname.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/md5sum.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkdir.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:122:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (path = *argv++) ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:122:14: note: place parentheses around the assignment to silence this warning while (path = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:122:14: note: use '==' to turn this assignment into an equality comparison while (path = *argv++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:90:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (arg = *argv++) ~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:90:13: note: place parentheses around the assignment to silence this warning while (arg = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:90:13: note: use '==' to turn this assignment into an equality comparison while (arg = *argv++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mktemp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:124:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || (pfx = *argv++) && *argv) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:124:43: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || (pfx = *argv++) && *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:136:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(pfx, '/')) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:136:8: note: place parentheses around the assignment to silence this warning if (t = strrchr(pfx, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:136:8: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(pfx, '/')) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/mv.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:95:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=streams[n]) ~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:95:9: note: place parentheses around the assignment to silence this warning if(fp=streams[n]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:95:9: note: use '==' to turn this assignment into an equality comparison if(fp=streams[n]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:97:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = sfgetr(fp,'\n',0)) ~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:97:11: note: place parentheses around the assignment to silence this warning if(cp = sfgetr(fp,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:97:11: note: use '==' to turn this assignment into an equality comparison if(cp = sfgetr(fp,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:134:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(c=delim[d]) ~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:134:14: note: place parentheses around the assignment to silence this warning else if(c=delim[d]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:134:14: note: use '==' to turn this assignment into an equality comparison else if(c=delim[d]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:154:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=sfgetr(in, '\n',0)) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:154:10: note: place parentheses around the assignment to silence this warning while(cp=sfgetr(in, '\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:154:10: note: use '==' to turn this assignment into an equality comparison while(cp=sfgetr(in, '\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:163:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(c=delim[d]) ~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:163:13: note: place parentheses around the assignment to silence this warning else if(c=delim[d]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:163:13: note: use '==' to turn this assignment into an equality comparison else if(c=delim[d]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:226:4: warning: expression result unused [-Wunused-value] mbchar(cp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:197:118: note: expanded from macro 'mbchar' #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:241:5: warning: expression result unused [-Wunused-value] mbchar(cp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:197:118: note: expanded from macro 'mbchar' #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:247:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:247:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:247:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:275:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while(cp= *argv++); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:275:12: note: place parentheses around the assignment to silence this warning } while(cp= *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/paste.c:275:12: note: use '==' to turn this assignment into an equality comparison } while(cp= *argv++); ^ == 9 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/pathchk.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:262:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:262:11: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:262:11: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/pids.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:71:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = bp = sfgetr(in,'\n',0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:71:12: note: place parentheses around the assignment to silence this warning while(cp = bp = sfgetr(in,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:71:12: note: use '==' to turn this assignment into an equality comparison while(cp = bp = sfgetr(in,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:101:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = bp = sfgetr(in,'\n',0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:101:12: note: place parentheses around the assignment to silence this warning while(cp = bp = sfgetr(in,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:101:12: note: use '==' to turn this assignment into an equality comparison while(cp = bp = sfgetr(in,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:145:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:145:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:145:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:166:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:166:10: note: place parentheses around the assignment to silence this warning while(cp= *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rev.c:166:10: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++); ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:145:53: warning: '&&' within '||' [-Wlogical-op-parentheses] if (path[0] == '.' && (!path[1] || path[1] == '.' && !path[2]) && (ent->fts_level > 0 || path[1])) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:145:53: note: place parentheses around the '&&' expression to silence this warning if (path[0] == '.' && (!path[1] || path[1] == '.' && !path[2]) && (ent->fts_level > 0 || path[1])) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:178:78: warning: '&&' within '||' [-Wlogical-op-parentheses] v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_parent->fts_statp->st_dev || strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'l'); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:178:78: note: place parentheses around the '&&' expression to silence this warning v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_parent->fts_statp->st_dev || strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'l'); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:386:34: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || !*argv && !state.force) ~~ ~~~~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:386:34: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || !*argv && !state.force) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:407:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:407:10: note: place parentheses around the assignment to silence this warning if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rm.c:407:10: note: use '==' to turn this assignment into an equality comparison if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rmdir.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:94:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dir = *argv++) ~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:94:13: note: place parentheses around the assignment to silence this warning while (dir = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:94:13: note: use '==' to turn this assignment into an equality comparison while (dir = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:105:9: warning: '&&' within '||' [-Wlogical-op-parentheses] && errno != ENOTEMPTY ^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:105:9: note: place parentheses around the '&&' expression to silence this warning && errno != ENOTEMPTY ^~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c:639:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c:639:11: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c:639:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c:725:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c:725:13: note: place parentheses around the assignment to silence this warning if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/stty.c:725:13: note: use '==' to turn this assignment into an equality comparison if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/sum.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/sync.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:285:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (number < 0 || !number && (flags & POSITIVE)) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:285:29: note: place parentheses around the '&&' expression to silence this warning if (number < 0 || !number && (flags & POSITIVE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:467:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = opt_info.arg) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:467:10: note: place parentheses around the assignment to silence this warning if (s = opt_info.arg) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:467:10: note: use '==' to turn this assignment into an equality comparison if (s = opt_info.arg) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:530:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = *(s - 1) == '-' || *(s - 1) == '+') ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:530:10: note: place parentheses around the assignment to silence this warning if (i = *(s - 1) == '-' || *(s - 1) == '+') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:530:10: note: use '==' to turn this assignment into an equality comparison if (i = *(s - 1) == '-' || *(s - 1) == '+') ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:622:29: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] fp->expire = timeout ? (NOW + timeout + 1) : 0; ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:121:29: note: expanded from macro 'NOW' #define NOW (unsigned long)time(NiL) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:638:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (fp = files) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:638:13: note: place parentheses around the assignment to silence this warning while (fp = files) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:638:13: note: use '==' to turn this assignment into an equality comparison while (fp = files) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:659:112: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((s = sfreserve(fp->sp, z, SF_LOCKR)) || (z = sfvalue(fp->sp)) && (s = sfreserve(fp->sp, z, SF_LOCKR)) && (i = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:659:112: note: place parentheses around the '&&' expression to silence this warning if ((s = sfreserve(fp->sp, z, SF_LOCKR)) || (z = sfvalue(fp->sp)) && (s = sfreserve(fp->sp, z, SF_LOCKR)) && (i = 1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:663:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((w = r - s) || i && (w = z)) ~~ ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:663:28: note: place parentheses around the '&&' expression to silence this warning if ((w = r - s) || i && (w = z)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:727:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (file = *argv) ~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:727:12: note: place parentheses around the assignment to silence this warning if (file = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:727:12: note: use '==' to turn this assignment into an equality comparison if (file = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:746:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (number < 0 || !number && (flags & POSITIVE)) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tail.c:746:30: note: place parentheses around the '&&' expression to silence this warning if (number < 0 || !number && (flags & POSITIVE)) ^ ( ) 9 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c:170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) ~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c:170:10: note: place parentheses around the assignment to silence this warning if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c:170:10: note: use '==' to turn this assignment into an equality comparison if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c:178:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argv++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c:178:14: note: place parentheses around the assignment to silence this warning while (cp = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tee.c:178:14: note: use '==' to turn this assignment into an equality comparison while (cp = *argv++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/tty.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' '-DHOSTTYPE="darwin.i386"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:343:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:343:33: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:343:66: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ~~ ~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:343:66: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:363:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:363:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:363:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:405:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(hosttype, '.')) ~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:405:11: note: place parentheses around the assignment to silence this warning if (t = strchr(hosttype, '.')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uname.c:405:11: note: use '==' to turn this assignment into an equality comparison if (t = strchr(hosttype, '.')) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_BLD_cmd -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:95:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bufp = sfgetr(fdin,'\n',0)) ~~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:95:11: note: place parentheses around the assignment to silence this warning if(bufp = sfgetr(fdin,'\n',0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:95:11: note: use '==' to turn this assignment into an equality comparison if(bufp = sfgetr(fdin,'\n',0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:97:16: note: place parentheses around the assignment to silence this warning else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:97:16: note: use '==' to turn this assignment into an equality comparison else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = fields) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:109:10: note: place parentheses around the assignment to silence this warning if (f = fields) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:109:10: note: use '==' to turn this assignment into an equality comparison if (f = fields) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:112:19: warning: '&&' within '||' [-Wlogical-op-parentheses] while (cp0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:139:7: warning: expression result unused [-Wunused-value] mbchar(mp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:197:118: note: expanded from macro 'mbchar' #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:213:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(count = next) ~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:213:12: note: place parentheses around the assignment to silence this warning if(count = next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:213:12: note: use '==' to turn this assignment into an equality comparison if(count = next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:322:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:322:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/uniq.c:322:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == 8 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/vmstate.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libcmd"' -D_PACKAGE_ast -D_BLD_cmd '-DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c:151:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c:151:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c:151:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c:179:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp= *argv++); ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c:179:13: note: place parentheses around the assignment to silence this warning } while (cp= *argv++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wc.c:179:13: note: use '==' to turn this assignment into an equality comparison } while (cp= *argv++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/revlib.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -D_BLD_cmd -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c:255:19: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c:255:19: note: place parentheses around the '&&' expression to silence this warning else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c:255:61: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c:255:61: note: place parentheses around the '&&' expression to silence this warning else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c:313:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (c = type[*cp++]); ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c:313:17: note: place parentheses around the assignment to silence this warning } while (c = type[*cp++]); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/wclib.c:313:17: note: use '==' to turn this assignment into an equality comparison } while (c = type[*cp++]); ^ == 3 warnings generated. + /usr/bin/ar x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libsum.a sumlib.o + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c + cc -D_BLD_DLL -fPIC -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/lib.c + /usr/bin/ar rc libcmd.a cmdinit.o basename.o cat.o chgrp.o chmod.o chown.o cksum.o cmp.o comm.o cp.o cut.o dirname.o date.o expr.o fds.o fmt.o fold.o getconf.o head.o id.o join.o ln.o logname.o md5sum.o mkdir.o mkfifo.o mktemp.o mv.o paste.o pathchk.o + /usr/bin/ar rc libcmd.a pids.o rev.o rm.o rmdir.o stty.o sum.o sync.o tail.o tee.o tty.o uname.o uniq.o vmstate.o wc.o revlib.o wclib.o sumlib.o fts_fix.o lib.o + test '' = libcmd.a + /usr/bin/cmp -s libcmd.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a.old + true + /bin/cp libcmd.a /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a + test '' = cmd.req + /usr/bin/cmp -s cmd.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/cmd + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/cmd /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/cmd.old + true + /bin/cp cmd.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/cmd + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1992,author=gsf+dgk' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/lib/libcmd/cmd.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmd.h 1.51203.x + mv 1.51203.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmd.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1992,author=gsf+dgk' cmdext.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmdext.h 1.51207.x + mv 1.51207.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmdext.h + cat + sed -e '/^b_[a-z_][a-z_0-9]*(/!d' -e 's/^b_//' -e 's/(.*//' -e 's/.*/CMDLIST(&)/' + sort -u + cmp -s 1.51211.h cmdlist.h + mv 1.51211.h cmdlist.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1992,author=gsf+dgk' cmdlist.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmdlist.h 1.51217.x + mv 1.51217.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/cmdlist.h + mamake -C cmd/ksh93 -k install + set - iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is nc.h a header ... no iffe: test: is exec_attr.h a header ... no iffe: test: is math.h a header ... yes iffe: test: is exception a type or typedef ... no iffe: test: is name a member of struct exception ... yes iffe: test: is _exception a type or typedef ... no iffe: test: is name a member of struct _exception ... no iffe: test: is setreuid a library function ... yes iffe: test: is setregid a library function ... yes iffe: test: is nice a library function ... yes iffe: test: is fork a library function ... yes iffe: test: is spawnveg a library function ... no iffe: test: is fchdir a library function ... yes iffe: test: is pathnative a library function ... no iffe: test: is pathposix a library function ... no iffe: test: is uwin_path a library function ... no iffe: test: is uwin_unpath a library function ... no iffe: test: is fts_notify a library function ... no iffe: test: is sys/mman.h a header ... yes iffe: test: is memcntl a library function ... no iffe: test: is -lsecdb a library ... no iffe: test: is getexecuser a library function ... no iffe: test: is free_execattr a library function ... no iffe: test: is unistd.h a header ... yes iffe: test: is nice a symbol that needs a prototype ... no iffe: test: is setreuid a symbol that needs a prototype ... no iffe: test: is setregid a symbol that needs a prototype ... no + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/pmain.c + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/time iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is utime.h a header ... yes iffe: test: is gettimeofday a library function ... yes iffe: test: is setitimer a library function ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is timeval a type or typedef ... no iffe: test: is tv_usec a member of struct timeval ... yes iffe: test: 2 arg gettimeofday() ... yes iffe: test: 1 arg gettimeofday() ... no iffe: test: cat{ ... }end ... yes + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/dynamic iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: cat{ ... }end ... yes + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/options iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: cross{ ... }end ... yes iffe: test: cat{ ... }end ... yes + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/sigfeatures iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is sigblock a library function ... yes iffe: test: is sigrelse a library function ... yes iffe: test: is sigsetmask a library function ... yes iffe: test: is sigprocmask a library function ... yes iffe: test: is sigvec a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is ast.h a header ... yes iffe: test: is signal.h a header ... yes iffe: test: is sigset_t a type or typedef ... yes iffe: test: is sigvec a type or typedef ... no iffe: test: is sv_mask a member of struct sigvec ... yes iffe: test: cat{ ... }end ... yes iffe: test: output{ ... }end ... yes + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/setjmp iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is sigsetjmp a library function ... yes iffe: test: is _setjmp a library function ... yes iffe: test: is _longjmp a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is setjmp.h a header ... yes iffe: test: is sigjmp_buf a type or typedef ... yes iffe: test: cat{ ... }end ... yes + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/alarm.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/alarm.c:239:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv, sh_optalarm)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/alarm.c:239:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv, sh_optalarm)) switch (n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/alarm.c:239:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv, sh_optalarm)) switch (n) ^ == 1 warning generated. + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : def acct iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is acct a command ... no iffe: test: is acct a library data symbol ... no iffe: test: is acct.h a header ... no iffe: test: is acct a reserved keyword ... no iffe: test: is acct a library function ... yes iffe: test: is acct a math library symbol ... no iffe: test: is sys/acct.h a header ... yes iffe: test: is acct a type or typedef ... no + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_FIXEDARRAY -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:47:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:47:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:103:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:103:13: note: place parentheses around the assignment to silence this warning if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:103:13: note: use '==' to turn this assignment into an equality comparison if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:236:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:236:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ 5 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cflow.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cflow.c:103:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg= *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cflow.c:103:8: note: place parentheses around the assignment to silence this warning if(arg= *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/cflow.c:103:8: note: use '==' to turn this assignment into an equality comparison if(arg= *argv) ^ == 1 warning generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/deparse.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/deparse.c:560:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv); ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/deparse.c:560:12: note: place parentheses around the assignment to silence this warning while(cp = *argv); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/deparse.c:560:12: note: use '==' to turn this assignment into an equality comparison while(cp = *argv); ^ == 1 warning generated. + cc -O -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DERROR_CATALOG="libshell"' '-DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"' -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:116:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(v=ep->values[n++]) ~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:116:14: note: place parentheses around the assignment to silence this warning else while(v=ep->values[n++]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:116:14: note: use '==' to turn this assignment into an equality comparison else while(v=ep->values[n++]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:149:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(v=ep->values[i]) ~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:149:9: note: place parentheses around the assignment to silence this warning while(v=ep->values[i]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:149:9: note: use '==' to turn this assignment into an equality comparison while(v=ep->values[i]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:224:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:224:11: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:224:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == 3 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_NAMESPACE -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mode= (*options==':')) ~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:109:9: note: place parentheses around the assignment to silence this warning if(mode= (*options==':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:109:9: note: use '==' to turn this assignment into an equality comparison if(mode= (*options==':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:111:28: warning: '&&' within '||' [-Wlogical-op-parentheses] extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:111:28: note: place parentheses around the '&&' expression to silence this warning extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:111:66: warning: '&&' within '||' [-Wlogical-op-parentheses] extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:111:66: note: place parentheses around the '&&' expression to silence this warning extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ^ ( ) 3 warnings generated. + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/ttys iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is termios.h a header ... yes iffe: test: is termio.h a header ... no iffe: test: is sgtty.h a header ... yes iffe: test: is sys/termios.h a header ... yes iffe: test: is sys/termio.h a header ... no iffe: test: is sys/ioctl.h a header ... yes iffe: test: is sys/bsdtty.h a header ... no iffe: test: is sys/nttyio.h a header ... no iffe: test: is sys/filio.h a header ... yes iffe: test: is tcgetattr a library function ... yes iffe: test: is tcgetpgrp a library function ... yes + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/locale iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is locale.h a header ... yes iffe: test: is wchar.h a header ... yes iffe: test: is wctype.h a header ... yes iffe: test: is locale a library function ... no iffe: test: is localeconv a library function ... yes iffe: test: is wctype a library function ... yes iffe: test: is iswctype a library function ... yes iffe: test: is iswblank a library function ... yes iffe: test: is wctrans a library function ... yes iffe: test: is towctrans a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is wctrans_t a type or typedef ... yes iffe: test: cat{ ... }end ... yes + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_BLD_shell -DSHOPT_DYNAMIC -D_API_ast=20100309 -DSHOPT_FIXEDARRAY -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:58:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:107:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg=argv[1]) ~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:107:12: note: place parentheses around the assignment to silence this warning while(arg=argv[1]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:107:12: note: use '==' to turn this assignment into an equality comparison while(arg=argv[1]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:58:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ 3 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_MULTIBYTE -DSHOPT_PFSH -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_ESH -DSHOPT_FIXEDARRAY -DKSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:68:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv, sh_optexec)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:68:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv, sh_optexec)) switch (n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:68:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv, sh_optexec)) switch (n) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:94:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:94:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:164:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (r = optget(argv,sh_optlet)) switch (r) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:165:11: note: place parentheses around the assignment to silence this warning while (r = optget(argv,sh_optlet)) switch (r) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:165:11: note: use '==' to turn this assignment into an equality comparison while (r = optget(argv,sh_optlet)) switch (r) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg= *argv++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:177:11: note: place parentheses around the assignment to silence this warning while(arg= *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:177:11: note: use '==' to turn this assignment into an equality comparison while(arg= *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:164:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:186:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:187:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (r = optget(argv,sh_opteval)) switch (r) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:187:11: note: place parentheses around the assignment to silence this warning while (r = optget(argv,sh_opteval)) switch (r) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:187:11: note: use '==' to turn this assignment into an equality comparison while (r = optget(argv,sh_opteval)) switch (r) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:186:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:221:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv,sh_optdot)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:221:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv,sh_optdot)) switch (n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:221:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv,sh_optdot)) switch (n) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:327:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:328:2: warning: expression result unused [-Wunused-value] NOT_USED(argv[0]); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:329:2: warning: expression result unused [-Wunused-value] NOT_USED(context); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:327:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:328:2: warning: expression result unused [-Wunused-value] NOT_USED(argv[0]); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:329:2: warning: expression result unused [-Wunused-value] NOT_USED(context); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:338:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:339:2: warning: expression result unused [-Wunused-value] NOT_USED(argv[0]); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:340:2: warning: expression result unused [-Wunused-value] NOT_USED(context); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:338:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:339:2: warning: expression result unused [-Wunused-value] NOT_USED(argv[0]); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:340:2: warning: expression result unused [-Wunused-value] NOT_USED(context); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:527:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(n = optget(argv, optstr)) switch(n) ~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:527:10: note: place parentheses around the assignment to silence this warning while(n = optget(argv, optstr)) switch(n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:527:10: note: use '==' to turn this assignment into an equality comparison while(n = optget(argv, optstr)) switch(n) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:564:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(flag = *vend++) ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:564:14: note: place parentheses around the assignment to silence this warning while(flag = *vend++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:564:14: note: use '==' to turn this assignment into an equality comparison while(flag = *vend++) ^ == 25 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_DYNAMIC -DKSHELL -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:111:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:116:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(universe=astconf("UNIVERSE",0,0)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:116:14: note: place parentheses around the assignment to silence this warning if(universe=astconf("UNIVERSE",0,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:116:14: note: use '==' to turn this assignment into an equality comparison if(universe=astconf("UNIVERSE",0,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:111:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:148:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:148:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:472:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *(unsigned char*)cp++) ~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:472:10: note: place parentheses around the assignment to silence this warning while(c= *(unsigned char*)cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:472:10: note: use '==' to turn this assignment into an equality comparison while(c= *(unsigned char*)cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:476:19: warning: expression result unused [-Wunused-value] if((s=mbsize(cp-1)) > 1) ~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *(unsigned char*)cp++) ~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:502:10: note: place parentheses around the assignment to silence this warning while(c= *(unsigned char*)cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:502:10: note: use '==' to turn this assignment into an equality comparison while(c= *(unsigned char*)cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:652:16: warning: expression result unused [-Wunused-value] len = mbsize(str); ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:777:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (np->nvalue.lp = new_of(int32_t,0)) ~~~~~~~~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:777:22: note: place parentheses around the assignment to silence this warning if (np->nvalue.lp = new_of(int32_t,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:777:22: note: use '==' to turn this assignment into an equality comparison if (np->nvalue.lp = new_of(int32_t,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:822:31: warning: expression result unused [-Wunused-value] if(mbwide() && (n = mbsize(argp)) > 1) ~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:854:27: warning: expression result unused [-Wunused-value] if(mbwide() && mbsize(w) > 1) ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1038:24: warning: expression result unused [-Wunused-value] if ((chlen = mbsize(cp)) > 1) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1053:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; c= *cp; cp++) ~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1053:9: note: place parentheses around the assignment to silence this warning for(; c= *cp; cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1053:9: note: use '==' to turn this assignment into an equality comparison for(; c= *cp; cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1056:36: warning: expression result unused [-Wunused-value] if (mbwide() && ((chlen = mbsize(cp)) > 1)) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ 15 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_MULTIBYTE -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_FIXEDARRAY -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:236:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(val= strchr(name,'?')) ~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:236:9: note: place parentheses around the assignment to silence this warning if(val= strchr(name,'?')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:236:9: note: use '==' to turn this assignment into an equality comparison if(val= strchr(name,'?')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = sfreserve(iop,c,SF_LOCKR)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:383:12: note: place parentheses around the assignment to silence this warning if(cp = sfreserve(iop,c,SF_LOCKR)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:383:12: note: use '==' to turn this assignment into an equality comparison if(cp = sfreserve(iop,c,SF_LOCKR)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:435:38: warning: expression result unused [-Wunused-value] while (up < cur && (z = mbsize(up)) > 0) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:446:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!binary && mbwide() && (up == var || (flags & NN_FLAG) && size)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:446:63: note: place parentheses around the '&&' expression to silence this warning if(!binary && mbwide() && (up == var || (flags & NN_FLAG) && size)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:484:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = (unsigned char*)sfgetr(iop,delim,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:484:13: note: place parentheses around the assignment to silence this warning else if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:484:13: note: use '==' to turn this assignment into an equality comparison else if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:486:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:486:13: note: place parentheses around the assignment to silence this warning else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:486:13: note: use '==' to turn this assignment into an equality comparison else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:556:25: warning: expression result unused [-Wunused-value] c = mbsize((char*)cp-1); ~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:616:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = (unsigned char*)sfgetr(iop,delim,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:616:11: note: place parentheses around the assignment to silence this warning if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:616:11: note: use '==' to turn this assignment into an equality comparison if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:618:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:618:15: note: place parentheses around the assignment to silence this warning else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:618:15: note: use '==' to turn this assignment into an equality comparison else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:645:30: warning: expression result unused [-Wunused-value] if((c = mbsize((char*)cp-1))>1) ~~~~~~~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:706:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = (unsigned char*)sfgetr(iop,delim,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:706:14: note: place parentheses around the assignment to silence this warning if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:706:14: note: use '==' to turn this assignment into an equality comparison if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:708:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:708:19: note: place parentheses around the assignment to silence this warning else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:708:19: note: use '==' to turn this assignment into an equality comparison else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ == 12 warnings generated. + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/poll iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is -lnsl a library ... no iffe: test: is -lsocket a library ... no iffe: test: is poll.h a header ... yes iffe: test: is socket.h a header ... no iffe: test: is netinet/in.h a header ... yes iffe: test: is sys/poll.h a header ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is sys/netinet/in.h a header ... no iffe: test: is select a library function ... yes iffe: test: is poll a library function ... yes iffe: test: is socket a library function ... yes iffe: test: is htons a library function ... yes iffe: test: is htonl a library function ... yes iffe: test: is netdb.h a header ... yes iffe: test: is getaddrinfo a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is sys/select.h a header ... yes iffe: test: is fd_set a type or typedef ... yes iffe: test: is unistd.h a header ... yes iffe: test: is socklen_t a type or typedef ... yes iffe: test: use socketpair() for peekable pipe() ... no iffe: test: /dev/fd/N handles socketpair() ... no iffe: test: fchmod() after socketpair() shutdown() ... no iffe: test: cat{ ... }end ... yes + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:68:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:68:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:68:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:89:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pp = sfprints("exact %s", cp)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:89:11: note: place parentheses around the assignment to silence this warning if(pp = sfprints("exact %s", cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:89:11: note: use '==' to turn this assignment into an equality comparison if(pp = sfprints("exact %s", cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:186:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=(int)(1000*t)) ~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:186:6: note: place parentheses around the assignment to silence this warning if(n=(int)(1000*t)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:186:6: note: use '==' to turn this assignment into an equality comparison if(n=(int)(1000*t)) ^ == 3 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:49:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:50:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sig = optget(argv, sh_opttrap)) switch (sig) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:50:13: note: place parentheses around the assignment to silence this warning while (sig = optget(argv, sh_opttrap)) switch (sig) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:50:13: note: use '==' to turn this assignment into an equality comparison while (sig = optget(argv, sh_opttrap)) switch (sig) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:66:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg = *argv) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:66:9: note: place parentheses around the assignment to silence this warning if(arg = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:66:9: note: use '==' to turn this assignment into an equality comparison if(arg = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:94:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg = *argv++) ~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:94:13: note: place parentheses around the assignment to silence this warning while(arg = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:94:13: note: use '==' to turn this assignment into an equality comparison while(arg = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:114:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg=trap[sig]) ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:114:12: note: place parentheses around the assignment to silence this warning if(arg=trap[sig]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:114:12: note: use '==' to turn this assignment into an equality comparison if(arg=trap[sig]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:141:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg=trapcom[sig]) ~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:141:11: note: place parentheses around the assignment to silence this warning if(arg=trapcom[sig]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:141:11: note: use '==' to turn this assignment into an equality comparison if(arg=trapcom[sig]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:49:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:173:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:210:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(signame = *argv++) ~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:210:22: note: place parentheses around the assignment to silence this warning else while(signame = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:210:22: note: use '==' to turn this assignment into an equality comparison else while(signame = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:173:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ 10 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DKSHELL -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:90:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:90:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:90:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:449:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = nv_arrayptr(np)) ~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:449:9: note: place parentheses around the assignment to silence this warning if(ap = nv_arrayptr(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:449:9: note: use '==' to turn this assignment into an equality comparison if(ap = nv_arrayptr(np)) ^ == 2 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_FIXEDARRAY -DSHOPT_DYNAMIC -DSHOPT_NAMESPACE -DSHOPT_TYPEDEF -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_ESH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:92:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:92:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:142:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:142:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:216:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:216:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:555:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(name = *++argv) ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:555:14: note: place parentheses around the assignment to silence this warning while(name = *++argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:555:14: note: use '==' to turn this assignment into an equality comparison while(name = *++argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:594:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(name,troot,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:594:11: note: place parentheses around the assignment to silence this warning if(np=nv_search(name,troot,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:594:11: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(name,troot,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:599:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(memcmp(name,".sh.math.",9)==0 && sh_mathstd(name+9)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:640:86: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:640:86: note: place parentheses around the == expression to silence this warning np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:640:86: note: place parentheses around the & expression to evaluate it first np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:726:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(last=strchr(name,'=')) ~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:726:11: note: place parentheses around the assignment to silence this warning if(last=strchr(name,'=')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:726:11: note: use '==' to turn this assignment into an equality comparison if(last=strchr(name,'=')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:738:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=nv_mapchar(np,tp->wctname)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:738:10: note: place parentheses around the assignment to silence this warning if(fp=nv_mapchar(np,tp->wctname)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:738:10: note: use '==' to turn this assignment into an equality comparison if(fp=nv_mapchar(np,tp->wctname)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:917:32: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] else if ((initfn = (Libinit_f)dlllook(dll, "lib_init"))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:981:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:987:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv,sh_optbuiltin)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:987:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv,sh_optbuiltin)) switch (n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:987:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv,sh_optbuiltin)) switch (n) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1031:18: warning: implicit declaration of function 'dllplugin' is invalid in C99 [-Wimplicit-function-declaration] if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path)))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1031:70: error: use of undeclared identifier 'RTLD_LAZY' if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path)))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1033:48: warning: implicit declaration of function 'dllerror' is invalid in C99 [-Wimplicit-function-declaration] errormsg(SH_DICT,ERROR_exit(0),"%s: %s",arg,dllerror(0)); ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1060:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg = *argv) ~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1060:12: note: place parentheses around the assignment to silence this warning while(arg = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1060:12: note: use '==' to turn this assignment into an equality comparison while(arg = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1078:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1078:12: note: place parentheses around the assignment to silence this warning if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1078:12: note: use '==' to turn this assignment into an equality comparison if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:981:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1162:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1171:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(r = optget(argv,name)) switch(r) ~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1171:10: note: place parentheses around the assignment to silence this warning while(r = optget(argv,name)) switch(r) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1171:10: note: use '==' to turn this assignment into an equality comparison while(r = optget(argv,name)) switch(r) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1207:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(name = *argv++) ~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1207:13: note: place parentheses around the assignment to silence this warning while(name = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1207:13: note: use '==' to turn this assignment into an equality comparison while(name = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1162:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1370:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=nv_getval(np)) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1370:7: note: place parentheses around the assignment to silence this warning if(cp=nv_getval(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1370:7: note: use '==' to turn this assignment into an equality comparison if(cp=nv_getval(np)) ^ == 25 warnings and 1 error generated. mamake [cmd/ksh93]: *** exit code 1 making typeset.o + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/rlimits iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is sys/time.h a header ... yes iffe: test: is resource.h a header ... no iffe: test: is vlimit.h a header ... no iffe: test: is sys/resource.h a header ... yes iffe: test: is sys/vlimit.h a header ... no iffe: test: is getrlimit a library function ... yes iffe: test: is getrlimit64 a library function ... no iffe: test: is ulimit a library function ... yes iffe: test: is vlimit a library function ... no iffe: test: is time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is rlim_t a type or typedef ... yes iffe: test: is rlim64_t a type or typedef ... no iffe: test: cat{ ... }end ... yes + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_FIXEDARRAY -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/ulimit.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:45:2: warning: expression result unused [-Wunused-value] NOT_USED(context); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:61:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mask = *argv) ~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:61:10: note: place parentheses around the assignment to silence this warning if(mask = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:61:10: note: use '==' to turn this assignment into an equality comparison if(mask = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:66:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *mask++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:66:12: note: place parentheses around the assignment to silence this warning while(c = *mask++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:66:12: note: use '==' to turn this assignment into an equality comparison while(c = *mask++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:45:2: warning: expression result unused [-Wunused-value] NOT_USED(context); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ 4 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_KIA -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:99:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:99:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:148:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(name= *argv++) ~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:148:12: note: place parentheses around the assignment to silence this warning while(name= *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:148:12: note: use '==' to turn this assignment into an equality comparison while(name= *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:188:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np= nv_bfsearch(name, root, &nq, ¬used)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:188:8: note: place parentheses around the assignment to silence this warning if(np= nv_bfsearch(name, root, &nq, ¬used)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:188:8: note: use '==' to turn this assignment into an equality comparison if(np= nv_bfsearch(name, root, &nq, ¬used)) ^ == 4 warnings generated. + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : def execargs iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is execargs a command ... no iffe: test: is execargs a library data symbol ... no iffe: test: is execargs.h a header ... no iffe: test: is execargs a reserved keyword ... no iffe: test: is execargs a library function ... no iffe: test: is execargs a math library symbol ... no iffe: test: is sys/execargs.h a header ... no iffe: test: is execargs a type or typedef ... no + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : def pstat iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is pstat a command ... no iffe: test: is pstat a library data symbol ... no iffe: test: is pstat.h a header ... no iffe: test: is pstat a reserved keyword ... no iffe: test: is pstat a library function ... no iffe: test: is pstat a math library symbol ... no iffe: test: is sys/pstat.h a header ... no iffe: test: is pstat a type or typedef ... no + cc -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_BRACEPAT -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_ESH -D_BLD_shell -DSHOPT_KIA -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_BGX -DSHOPT_COSHELL -DKSHELL -DSHOPT_SUID_EXEC -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_DYNAMIC -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:143:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(rshflag=sh_isoption(SH_RESTRICTED)) ~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:143:12: note: place parentheses around the assignment to silence this warning if(rshflag=sh_isoption(SH_RESTRICTED)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:143:12: note: use '==' to turn this assignment into an equality comparison if(rshflag=sh_isoption(SH_RESTRICTED)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:226:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(name = sh_mactry(shp,nv_getval(ENVNOD))) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:226:14: note: place parentheses around the assignment to silence this warning if(name = sh_mactry(shp,nv_getval(ENVNOD))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:226:14: note: use '==' to turn this assignment into an equality comparison if(name = sh_mactry(shp,nv_getval(ENVNOD))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:439:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(top = fcfile()) ~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:439:10: note: place parentheses around the assignment to silence this warning if(top = fcfile()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:439:10: note: use '==' to turn this assignment into an equality comparison if(top = fcfile()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:443:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(top=sfstack(iop,SF_POPSTACK)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:443:13: note: place parentheses around the assignment to silence this warning while(top=sfstack(iop,SF_POPSTACK)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:443:13: note: use '==' to turn this assignment into an equality comparison while(top=sfstack(iop,SF_POPSTACK)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:731:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:731:12: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:731:12: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:735:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(argv=environ; cp = *argv; cp++) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:735:25: note: place parentheses around the assignment to silence this warning for(argv=environ; cp = *argv; cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:735:25: note: use '==' to turn this assignment into an equality comparison for(argv=environ; cp = *argv; cp++) ^ == 6 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_TYPEDEF -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -D_BLD_shell -DSHOPT_STATS -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_DYNAMIC -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:400:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = nv_getval(SH_VALNOD)) ~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:400:14: note: place parentheses around the assignment to silence this warning else if(cp = nv_getval(SH_VALNOD)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:400:14: note: use '==' to turn this assignment into an equality comparison else if(cp = nv_getval(SH_VALNOD)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:473:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(type=0; name=nv_discnames[type]; type++) ~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:473:19: note: place parentheses around the assignment to silence this warning for(type=0; name=nv_discnames[type]; type++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:473:19: note: use '==' to turn this assignment into an equality comparison for(type=0; name=nv_discnames[type]; type++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:500:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(fp = fp->next) ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:500:12: note: place parentheses around the assignment to silence this warning while(fp = fp->next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:500:12: note: use '==' to turn this assignment into an equality comparison while(fp = fp->next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:572:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(type=0; name=discnames[type]; type++) ~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:572:18: note: place parentheses around the assignment to silence this warning for(type=0; name=discnames[type]; type++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:572:18: note: use '==' to turn this assignment into an equality comparison for(type=0; name=discnames[type]; type++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:761:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = np->nvfun) ~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:761:14: note: place parentheses around the assignment to silence this warning else if(fp = np->nvfun) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:761:14: note: use '==' to turn this assignment into an equality comparison else if(fp = np->nvfun) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:926:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=np->nvfun) ~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:926:7: note: place parentheses around the assignment to silence this warning if(fp=np->nvfun) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:926:7: note: use '==' to turn this assignment into an equality comparison if(fp=np->nvfun) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1074:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(next=dtvnext(root)) ~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1074:14: note: place parentheses around the assignment to silence this warning while(next=dtvnext(root)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1074:14: note: use '==' to turn this assignment into an equality comparison while(next=dtvnext(root)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1200:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = nv_search(name,sh.bltin_tree,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1200:8: note: place parentheses around the assignment to silence this warning if(np = nv_search(name,sh.bltin_tree,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1200:8: note: use '==' to turn this assignment into an equality comparison if(np = nv_search(name,sh.bltin_tree,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1417:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp = (struct table*)nv_hasdisc(np,&table_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1417:9: note: place parentheses around the assignment to silence this warning if(tp = (struct table*)nv_hasdisc(np,&table_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1417:9: note: use '==' to turn this assignment into an equality comparison if(tp = (struct table*)nv_hasdisc(np,&table_disc)) ^ == 9 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_TYPEDEF -DSHOPT_FIXEDARRAY -DSHOPT_NAMESPACE '-DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"' -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DKSHELL -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:301:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=nv_hasdisc(nq,&chtype_disc)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:301:7: note: place parentheses around the assignment to silence this warning if(fp=nv_hasdisc(nq,&chtype_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:301:7: note: use '==' to turn this assignment into an equality comparison if(fp=nv_hasdisc(nq,&chtype_disc)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:344:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(i=nv_size(nq)) ~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:344:9: note: place parentheses around the assignment to silence this warning if(i=nv_size(nq)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:344:9: note: use '==' to turn this assignment into an equality comparison if(i=nv_size(nq)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:444:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(ap=nv_arrayptr(nr)) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:444:15: note: place parentheses around the assignment to silence this warning else if(ap=nv_arrayptr(nr)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:444:15: note: use '==' to turn this assignment into an equality comparison else if(ap=nv_arrayptr(nr)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=nv_arrayptr(nq)) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:575:9: note: place parentheses around the assignment to silence this warning if(ap=nv_arrayptr(nq)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:575:9: note: use '==' to turn this assignment into an equality comparison if(ap=nv_arrayptr(nq)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:669:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:669:8: note: place parentheses around the assignment to silence this warning if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:669:8: note: use '==' to turn this assignment into an equality comparison if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:685:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp=nv_type(nq)) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:685:8: note: place parentheses around the assignment to silence this warning if(tp=nv_type(nq)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:685:8: note: use '==' to turn this assignment into an equality comparison if(tp=nv_type(nq)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:760:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(argv=nv_discnames; sp=*argv; argv++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:760:27: note: place parentheses around the assignment to silence this warning for(argv=nv_discnames; sp=*argv; argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:760:27: note: use '==' to turn this assignment into an equality comparison for(argv=nv_discnames; sp=*argv; argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:812:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(name=strrchr(np->nvname,'.')) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:812:9: note: place parentheses around the assignment to silence this warning if(name=strrchr(np->nvname,'.')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:812:9: note: use '==' to turn this assignment into an equality comparison if(name=strrchr(np->nvname,'.')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:817:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bp=(Namval_t*)shp->namespace) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:817:7: note: place parentheses around the assignment to silence this warning if(bp=(Namval_t*)shp->namespace) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:817:7: note: use '==' to turn this assignment into an equality comparison if(bp=(Namval_t*)shp->namespace) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1047:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1047:9: note: place parentheses around the assignment to silence this warning if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1047:9: note: use '==' to turn this assignment into an equality comparison if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1081:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1081:9: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1081:9: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1096:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=nv_hasdisc(nq,&chtype_disc)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1096:9: note: place parentheses around the assignment to silence this warning if(fp=nv_hasdisc(nq,&chtype_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1096:9: note: use '==' to turn this assignment into an equality comparison if(fp=nv_hasdisc(nq,&chtype_disc)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1098:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1098:10: note: place parentheses around the assignment to silence this warning if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1098:10: note: use '==' to turn this assignment into an equality comparison if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1262:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(v=strrchr(cp,'.')) ~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1262:6: note: place parentheses around the assignment to silence this warning if(v=strrchr(cp,'.')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1262:6: note: use '==' to turn this assignment into an equality comparison if(v=strrchr(cp,'.')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1465:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1465:10: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1465:10: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1506:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1506:10: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1506:10: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1508:10: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1508:10: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1620:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=shp->prefix) ~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1620:7: note: place parentheses around the assignment to silence this warning if(cp=shp->prefix) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1620:7: note: use '==' to turn this assignment into an equality comparison if(cp=shp->prefix) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1661:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1661:15: note: place parentheses around the assignment to silence this warning for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1661:15: note: use '==' to turn this assignment into an equality comparison for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1666:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=strrchr(mp->nvname,'.')) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1666:9: note: place parentheses around the assignment to silence this warning if(cp=strrchr(mp->nvname,'.')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1666:9: note: use '==' to turn this assignment into an equality comparison if(cp=strrchr(mp->nvname,'.')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1681:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(xp=mp->nvalue.rp->fname) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1681:15: note: place parentheses around the assignment to silence this warning else if(xp=mp->nvalue.rp->fname) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1681:15: note: use '==' to turn this assignment into an equality comparison else if(xp=mp->nvalue.rp->fname) ^ == 21 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_FIXEDARRAY -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_opensub(np)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:177:10: note: place parentheses around the assignment to silence this warning if(nq = nv_opensub(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:177:10: note: use '==' to turn this assignment into an equality comparison if(nq = nv_opensub(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:280:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:280:10: note: place parentheses around the assignment to silence this warning if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:280:10: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:415:5: warning: '&&' within '||' [-Wlogical-op-parentheses] 16 && (c == 'p' || c == 'P')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:415:5: note: place parentheses around the '&&' expression to silence this warning 16 && (c == 'p' || c == 'P')) ^ 3 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_OPTIMIZE -DSHOPT_RAWONLY -DSHOPT_HISTEXPAND -DSHOPT_PFSH -D_BLD_shell -DKSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_KIA -DSHOPT_MULTIBYTE -DSHOPT_EDPREDICT -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_DYNAMIC -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:234:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; o = tp->sh_number; tp++) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:234:29: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; o = tp->sh_number; tp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:234:29: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; o = tp->sh_number; tp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:276:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=strchr(optksh,n)) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:276:9: note: place parentheses around the assignment to silence this warning if(cp=strchr(optksh,n)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:276:9: note: use '==' to turn this assignment into an equality comparison if(cp=strchr(optksh,n)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:392:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:392:26: note: place parentheses around the '&&' expression to silence this warning if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:392:189: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:392:189: note: place parentheses around the '&&' expression to silence this warning if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:486:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(argblk=argr) ~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:486:11: note: place parentheses around the assignment to silence this warning if(argblk=argr) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:486:11: note: use '==' to turn this assignment into an equality comparison if(argblk=argr) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:525:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(sp= *pp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:525:10: note: place parentheses around the assignment to silence this warning while(sp= *pp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:525:10: note: use '==' to turn this assignment into an equality comparison while(sp= *pp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:563:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ap->argfor=sh_argfree(shp,ap->argfor,0)); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:563:18: note: place parentheses around the assignment to silence this warning while(ap->argfor=sh_argfree(shp,ap->argfor,0)); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:563:18: note: use '==' to turn this assignment into an equality comparison while(ap->argfor=sh_argfree(shp,ap->argfor,0)); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:565:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap->dolh = blk) ~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:565:14: note: place parentheses around the assignment to silence this warning if(ap->dolh = blk) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:565:14: note: use '==' to turn this assignment into an equality comparison if(ap->dolh = blk) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:579:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dh=ap->dolh) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:579:7: note: place parentheses around the assignment to silence this warning if(dh=ap->dolh) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:579:7: note: use '==' to turn this assignment into an equality comparison if(dh=ap->dolh) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:605:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; value=tp->sh_number; tp++) ~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:605:30: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; value=tp->sh_number; tp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:605:30: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; value=tp->sh_number; tp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:620:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; value=tp->sh_number; tp++) ~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:620:30: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; value=tp->sh_number; tp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:620:30: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; value=tp->sh_number; tp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:654:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; value=tp->sh_number; tp++) ~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:654:29: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; value=tp->sh_number; tp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:654:29: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; value=tp->sh_number; tp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:806:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(monitor = (sh_isstate(SH_MONITOR)!=0)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:806:13: note: place parentheses around the assignment to silence this warning if(monitor = (sh_isstate(SH_MONITOR)!=0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:806:13: note: use '==' to turn this assignment into an equality comparison if(monitor = (sh_isstate(SH_MONITOR)!=0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:853:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=argp->argchn.ap) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:853:8: note: place parentheses around the assignment to silence this warning if(ap=argp->argchn.ap) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:853:8: note: use '==' to turn this assignment into an equality comparison if(ap=argp->argchn.ap) ^ == 14 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_TYPEDEF -DSHOPT_FIXEDARRAY -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:103:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = (struct fixed_array*)ap->fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:103:13: note: place parentheses around the assignment to silence this warning else if(fp = (struct fixed_array*)ap->fixed) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:103:13: note: use '==' to turn this assignment into an equality comparison else if(fp = (struct fixed_array*)ap->fixed) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:218:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = (struct fixed_array*)arp->fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:218:13: note: place parentheses around the assignment to silence this warning else if(fp = (struct fixed_array*)arp->fixed) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:218:13: note: use '==' to turn this assignment into an equality comparison else if(fp = (struct fixed_array*)arp->fixed) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:285:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(wasundef = ap->header.nelem&ARRAY_UNDEF) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:285:14: note: place parentheses around the assignment to silence this warning if(wasundef = ap->header.nelem&ARRAY_UNDEF) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:285:14: note: use '==' to turn this assignment into an equality comparison if(wasundef = ap->header.nelem&ARRAY_UNDEF) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:414:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_search(sub, ap->table, NV_ADD)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:414:8: note: place parentheses around the assignment to silence this warning if(nq = nv_search(sub, ap->table, NV_ADD)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:414:8: note: use '==' to turn this assignment into an equality comparison if(nq = nv_search(sub, ap->table, NV_ADD)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:462:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq=nv_opensub(np)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:462:10: note: place parentheses around the assignment to silence this warning if(nq=nv_opensub(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:462:10: note: use '==' to turn this assignment into an equality comparison if(nq=nv_opensub(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:514:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq=nv_opensub(np)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:514:8: note: place parentheses around the assignment to silence this warning if(nq=nv_opensub(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:514:8: note: use '==' to turn this assignment into an equality comparison if(nq=nv_opensub(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:668:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp=(struct fixed_array*)ap->fixed) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:668:16: note: place parentheses around the assignment to silence this warning else if(fp=(struct fixed_array*)ap->fixed) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:668:16: note: use '==' to turn this assignment into an equality comparison else if(fp=(struct fixed_array*)ap->fixed) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:705:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = (struct fixed_array*)ap->fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:705:9: note: place parentheses around the assignment to silence this warning if(fp = (struct fixed_array*)ap->fixed) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:705:9: note: use '==' to turn this assignment into an equality comparison if(fp = (struct fixed_array*)ap->fixed) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:957:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while( n = digit ) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:957:18: note: place parentheses around the assignment to silence this warning else while( n = digit ) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:957:18: note: use '==' to turn this assignment into an equality comparison else while( n = digit ) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1091:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = (struct fixed_array*)ap->header.fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1091:13: note: place parentheses around the assignment to silence this warning else if(fp = (struct fixed_array*)ap->header.fixed) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1091:13: note: use '==' to turn this assignment into an equality comparison else if(fp = (struct fixed_array*)ap->header.fixed) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1249:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=ap->maxi-ap->maxi) ~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1249:9: note: place parentheses around the assignment to silence this warning if(n=ap->maxi-ap->maxi) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1249:9: note: use '==' to turn this assignment into an equality comparison if(n=ap->maxi-ap->maxi) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1286:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=(struct fixed_array*)ap->header.fixed) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1286:7: note: place parentheses around the assignment to silence this warning if(fp=(struct fixed_array*)ap->header.fixed) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1286:7: note: use '==' to turn this assignment into an equality comparison if(fp=(struct fixed_array*)ap->header.fixed) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1618:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(n=dot) ~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1618:14: note: place parentheses around the assignment to silence this warning else while(n=dot) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1618:14: note: use '==' to turn this assignment into an equality comparison else while(n=dot) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1674:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1674:9: note: place parentheses around the assignment to silence this warning if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1674:9: note: use '==' to turn this assignment into an equality comparison if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1719:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(;ap->cur=ap->pos; ap->pos=ap->nextpos) ~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1719:15: note: place parentheses around the assignment to silence this warning for(;ap->cur=ap->pos; ap->pos=ap->nextpos) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1719:15: note: use '==' to turn this assignment into an equality comparison for(;ap->cur=ap->pos; ap->pos=ap->nextpos) ^ == 15 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_MULTIBYTE -DSHOPT_ESH -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DKSHELL -DSHOPT_VSH -DSHOPT_PFSH -D_BLD_shell -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:50:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(string=cp;c=mbchar(cp);string=cp) ~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:50:17: note: place parentheses around the assignment to silence this warning for(string=cp;c=mbchar(cp);string=cp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:50:17: note: use '==' to turn this assignment into an equality comparison for(string=cp;c=mbchar(cp);string=cp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:122:5: warning: expression result unused [-Wunused-value] mbchar(cp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:197:118: note: expanded from macro 'mbchar' #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:134:6: warning: expression result unused [-Wunused-value] mbchar(cp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:197:118: note: expanded from macro 'mbchar' #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:308:148: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' ))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:308:148: note: place parentheses around the '&&' expression to silence this warning if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' ))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:335:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*com==0 || (narg <= 1 && (strcmp(ap->argval,*com)==0) || (addstar && com[0][strlen(*com)-1]=='*'))) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:335:29: note: place parentheses around the '&&' expression to silence this warning if (*com==0 || (narg <= 1 && (strcmp(ap->argval,*com)==0) || (addstar && com[0][strlen(*com)-1]=='*'))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:369:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:369:14: note: place parentheses around the assignment to silence this warning if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:369:14: note: use '==' to turn this assignment into an equality comparison if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:498:4: warning: expression result unused [-Wunused-value] mbchar(out); ^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:197:118: note: expanded from macro 'mbchar' #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ 7 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_KIA -D_API_ast=20100309 -D_BLD_shell -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/defs.c + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/cmds iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: is newgrp a command ... yes iffe: test: is test a command ... yes iffe: test: is id a command ... yes iffe: test: is wc a command ... yes iffe: test: is cut a command ... yes iffe: test: is logname a command ... yes iffe: test: is universe a command ... no iffe: test: is pfexec a command ... no iffe: test: is tput a command ... yes iffe: test: is ed a file ... yes + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_EDPREDICT -DSHOPT_RAWONLY -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_MULTIBYTE -DSHOPT_HISTEXPAND -DKSHELL -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:656:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(n=1; c = *last++; n++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:656:16: note: place parentheses around the assignment to silence this warning for(n=1; c = *last++; n++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:656:16: note: use '==' to turn this assignment into an equality comparison for(n=1; c = *last++; n++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:768:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pp=nv_getval(SH_SUBSCRNOD)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:768:9: note: place parentheses around the assignment to silence this warning if(pp=nv_getval(SH_SUBSCRNOD)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:768:9: note: use '==' to turn this assignment into an equality comparison if(pp=nv_getval(SH_SUBSCRNOD)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:791:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *str++) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:791:10: note: place parentheses around the assignment to silence this warning while(c = *str++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:791:10: note: use '==' to turn this assignment into an equality comparison while(c = *str++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1084:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1084:9: note: place parentheses around the assignment to silence this warning if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1084:9: note: use '==' to turn this assignment into an equality comparison if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1317:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(r=poff;c= *sp;sp++) ~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1317:14: note: place parentheses around the assignment to silence this warning for(r=poff;c= *sp;sp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1317:14: note: use '==' to turn this assignment into an equality comparison for(r=poff;c= *sp;sp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1441:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*dp++ = *sp++); ~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1441:14: note: place parentheses around the assignment to silence this warning while(*dp++ = *sp++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1441:14: note: use '==' to turn this assignment into an equality comparison while(*dp++ = *sp++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(n=0;c = mbchar(cp);oldcp=cp,col++) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1625:12: note: place parentheses around the assignment to silence this warning for(n=0;c = mbchar(cp);oldcp=cp,col++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1625:12: note: use '==' to turn this assignment into an equality comparison for(n=0;c = mbchar(cp);oldcp=cp,col++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1739:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1739:27: note: place parentheses around the assignment to silence this warning for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1739:27: note: use '==' to turn this assignment into an equality comparison for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1755:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1755:23: note: place parentheses around the assignment to silence this warning for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1755:23: note: use '==' to turn this assignment into an equality comparison for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1832:12: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] while((r=ioctl(fd,cmd,val)) < 0 && errno==EINTR) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1854:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sh_tcgetattr(int fd, struct termios *tty) ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1863:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sh_tcsetattr(int fd, int cmd, struct termios *tty) ^~~~~~~~~~~~ 12 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_BRACEPAT -DSHOPT_SUID_EXEC -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_DYNAMIC -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:352:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if((cp[2]=='}' || cp[2]=='.' && cp[3]=='.') && ((*pat>='a' && *pat<='z' && cp[1]>='a' && cp[1]<='z') || (*pat>='A' && *pat<='Z' && cp[1]>='A' && cp[1]<='Z'))) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:352:39: note: place parentheses around the '&&' expression to silence this warning else if((cp[2]=='}' || cp[2]=='.' && cp[3]=='.') && ((*pat>='a' && *pat<='z' && cp[1]>='a' && cp[1]<='z') || (*pat>='A' && *pat<='Z' && cp[1]>='A' && cp[1]<='Z'))) ^ ( ) 1 warning generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"' -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DKSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/bltins/regress.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_KIA -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_TYPEDEF -DSHOPT_BGX -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DKSHELL -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:80:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(v = cols) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:80:8: note: place parentheses around the assignment to silence this warning if(v = cols) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:80:8: note: use '==' to turn this assignment into an equality comparison if(v = cols) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:82:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(v = rows) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:82:8: note: place parentheses around the assignment to silence this warning if(v = rows) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:82:8: note: use '==' to turn this assignment into an equality comparison if(v = rows) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:171:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if(pp->mode==SH_JMPCMD || (pp->mode==1 && shp->bltinfun) && !(flag&SH_SIGIGNORE)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:171:59: note: place parentheses around the '&&' expression to silence this warning if(pp->mode==SH_JMPCMD || (pp->mode==1 && shp->bltinfun) && !(flag&SH_SIGIGNORE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:256:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_signals; sig=tp->sh_number; tp++) ~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:256:27: note: place parentheses around the assignment to silence this warning for(tp=shtab_signals; sig=tp->sh_number; tp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:256:27: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_signals; sig=tp->sh_number; tp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=sh.st.trapcom[sig]) ~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:328:10: note: place parentheses around the assignment to silence this warning if(trap=sh.st.trapcom[sig]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:328:10: note: use '==' to turn this assignment into an equality comparison if(trap=sh.st.trapcom[sig]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:349:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=sh.st.trap[sig]) ~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:349:10: note: place parentheses around the assignment to silence this warning if(trap=sh.st.trap[sig]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:349:10: note: use '==' to turn this assignment into an equality comparison if(trap=sh.st.trap[sig]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:374:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=sh.st.trapcom[sig]) ~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:374:9: note: place parentheses around the assignment to silence this warning if(trap=sh.st.trapcom[sig]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:374:9: note: use '==' to turn this assignment into an equality comparison if(trap=sh.st.trapcom[sig]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:431:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trapcom[sig]) ~~~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:431:11: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trapcom[sig]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:431:11: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trapcom[sig]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:594:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:594:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:614:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(t=shp->st.trapcom[0]) ~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:614:6: note: place parentheses around the assignment to silence this warning if(t=shp->st.trapcom[0]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:614:6: note: use '==' to turn this assignment into an equality comparison if(t=shp->st.trapcom[0]) ^ == 11 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fcin.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fcin.c:171:24: warning: expression result unused [-Wunused-value] if((c = mbsize(extra.next)) < 0) ~~~~~~~~~~~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/fcin.c:187:29: warning: expression result unused [-Wunused-value] switch(*len = mbsize(_Fcin.fcptr)) ~~~~~~~~~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ 2 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_VSH -DSHOPT_ESH -DSHOPT_MULTIBYTE '-DSHOPT_AUDITFILE="/etc/ksh_audit"' -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DKSHELL -DSHOPT_DYNAMIC -DSHOPT_PFSH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_AUDIT -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:238:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shgd->hist_ptr=hist_ptr) ~~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:238:19: note: place parentheses around the assignment to silence this warning if(shgd->hist_ptr=hist_ptr) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:238:19: note: use '==' to turn this assignment into an equality comparison if(shgd->hist_ptr=hist_ptr) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:243:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=nv_getval(HOME)) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:243:8: note: place parentheses around the assignment to silence this warning if(cp=nv_getval(HOME)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:243:8: note: use '==' to turn this assignment into an equality comparison if(cp=nv_getval(HOME)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:304:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=nv_getval(HISTSIZE)) ~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:304:7: note: place parentheses around the assignment to silence this warning if(cp=nv_getval(HISTSIZE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:304:7: note: use '==' to turn this assignment into an equality comparison if(cp=nv_getval(HISTSIZE)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:475:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(last = strrchr(name,'/')) ~~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:475:11: note: place parentheses around the assignment to silence this warning if(last = strrchr(name,'/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:475:11: note: use '==' to turn this assignment into an equality comparison if(last = strrchr(name,'/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:567:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:567:17: note: place parentheses around the assignment to silence this warning while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:567:17: note: use '==' to turn this assignment into an equality comparison while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:642:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:642:17: note: place parentheses around the assignment to silence this warning while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:642:17: note: use '==' to turn this assignment into an equality comparison while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:773:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:773:10: note: place parentheses around the assignment to silence this warning if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:773:10: note: use '==' to turn this assignment into an equality comparison if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:1037:16: warning: expression result unused [-Wunused-value] if((c=mbsize(cp)) < 0) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:1109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(;c = *cp;cp++) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:1109:9: note: place parentheses around the assignment to silence this warning for(;c = *cp;cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:1109:9: note: use '==' to turn this assignment into an equality comparison for(;c = *cp;cp++) ^ == 9 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_2DMATCH -DSHOPT_PFSH -DSHOPT_MULTIBYTE -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_AUDIT -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_DYNAMIC -D_BLD_shell -DSHOPT_KIA -DKSHELL -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_FIXEDARRAY -DERROR_CONTEXT_T=Error_context_t -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:240:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:240:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:249:2: warning: expression result unused [-Wunused-value] NOT_USED(unused); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:249:2: warning: expression result unused [-Wunused-value] NOT_USED(unused); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:362:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->pathlist = (void*)pp) ~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:362:20: note: place parentheses around the assignment to silence this warning if(shp->pathlist = (void*)pp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:362:20: note: use '==' to turn this assignment into an equality comparison if(shp->pathlist = (void*)pp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:386:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->cdpathlist = (void*)pp) ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:386:21: note: place parentheses around the assignment to silence this warning if(shp->cdpathlist = (void*)pp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:386:21: note: use '==' to turn this assignment into an equality comparison if(shp->cdpathlist = (void*)pp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:398:2: warning: expression result unused [-Wunused-value] NOT_USED(catalog); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:398:2: warning: expression result unused [-Wunused-value] NOT_USED(catalog); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:547:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=value) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:547:8: note: place parentheses around the assignment to silence this warning if(cp=value) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:547:8: note: use '==' to turn this assignment into an equality comparison if(cp=value) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:550:19: warning: expression result unused [-Wunused-value] while(n=mbsize(cp),c= *(unsigned char*)cp) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:624:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:624:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:635:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:635:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:672:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:672:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:696:2: warning: expression result unused [-Wunused-value] NOT_USED(np); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:697:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:696:2: warning: expression result unused [-Wunused-value] NOT_USED(np); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:697:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:820:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = nv_arrayptr(SH_MATCHNOD)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:820:10: note: place parentheses around the assignment to silence this warning if(ap = nv_arrayptr(SH_MATCHNOD)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:820:10: note: use '==' to turn this assignment into an equality comparison if(ap = nv_arrayptr(SH_MATCHNOD)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:913:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:915:11: note: place parentheses around the assignment to silence this warning while (c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:915:11: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:913:2: warning: expression result unused [-Wunused-value] NOT_USED(fp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:938:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lastp=strchr(newp,':')) ~~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:938:11: note: place parentheses around the assignment to silence this warning if(lastp=strchr(newp,':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:938:11: note: use '==' to turn this assignment into an equality comparison if(lastp=strchr(newp,':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:951:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:951:8: note: place parentheses around the assignment to silence this warning if(cp = nv_getval(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:951:8: note: use '==' to turn this assignment into an equality comparison if(cp = nv_getval(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) ~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1032:10: note: place parentheses around the assignment to silence this warning while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1032:10: note: use '==' to turn this assignment into an equality comparison while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1152:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = (const char*)strrchr(path, '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1152:8: note: place parentheses around the assignment to silence this warning if (s = (const char*)strrchr(path, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1152:8: note: use '==' to turn this assignment into an equality comparison if (s = (const char*)strrchr(path, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1412:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = nv_getval(PWDNOD)) ~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1412:15: note: place parentheses around the assignment to silence this warning else if(cp = nv_getval(PWDNOD)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1412:15: note: use '==' to turn this assignment into an equality comparison else if(cp = nv_getval(PWDNOD)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1579:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->userinit=userinit) ~~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1579:18: note: place parentheses around the assignment to silence this warning if(shp->userinit=userinit) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1579:18: note: use '==' to turn this assignment into an equality comparison if(shp->userinit=userinit) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2010:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(np0=np,ep=environ;cp= *ep; ep++) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2010:26: note: place parentheses around the assignment to silence this warning for(np0=np,ep=environ;cp= *ep; ep++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2010:26: note: use '==' to turn this assignment into an equality comparison for(np0=np,ep=environ;cp= *ep; ep++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2016:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp = dtmatch(shp->var_base,cp)) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2016:9: note: place parentheses around the assignment to silence this warning if(mp = dtmatch(shp->var_base,cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2016:9: note: use '==' to turn this assignment into an equality comparison if(mp = dtmatch(shp->var_base,cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2056:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=next) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2056:10: note: place parentheses around the assignment to silence this warning while(cp=next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2056:10: note: use '==' to turn this assignment into an equality comparison while(cp=next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2058:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(next = strchr(++cp,'=')) ~~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2058:11: note: place parentheses around the assignment to silence this warning if(next = strchr(++cp,'=')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2058:11: note: use '==' to turn this assignment into an equality comparison if(next = strchr(++cp,'=')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = mbchar(val)) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2177:11: note: place parentheses around the assignment to silence this warning while(c = mbchar(val)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2177:11: note: use '==' to turn this assignment into an equality comparison while(c = mbchar(val)) ^ == 35 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_RAWONLY -DSHOPT_VSH -DSHOPT_ESH -DSHOPT_HISTEXPAND -DSHOPT_COSHELL -DSHOPT_DYNAMIC -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_BGX -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:269:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, '/')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:269:8: note: place parentheses around the assignment to silence this warning if (t = strchr(s, '/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:269:8: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, '/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:300:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:300:55: note: place parentheses around the '&&' expression to silence this warning if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:300:84: warning: '&&' within '||' [-Wlogical-op-parentheses] if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:300:84: note: place parentheses around the '&&' expression to silence this warning if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:610:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->fdptrs[fd]=shp->fdptrs[f2]) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:610:20: note: place parentheses around the assignment to silence this warning if(shp->fdptrs[fd]=shp->fdptrs[f2]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:610:20: note: use '==' to turn this assignment into an equality comparison if(shp->fdptrs[fd]=shp->fdptrs[f2]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1102:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ep = strrchr(sp,'/')) ~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1102:8: note: place parentheses around the assignment to silence this warning if(ep = strrchr(sp,'/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1102:8: note: use '==' to turn this assignment into an equality comparison if(ep = strrchr(sp,'/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1342:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tname = io_usename(fname,&perm,fn,0)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1342:15: note: place parentheses around the assignment to silence this warning if(tname = io_usename(fname,&perm,fn,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1342:15: note: use '==' to turn this assignment into an equality comparison if(tname = io_usename(fname,&perm,fn,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1638:2: warning: expression result unused [-Wunused-value] NOT_USED(unused); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1638:2: warning: expression result unused [-Wunused-value] NOT_USED(unused); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1669:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(moved = (char*)filemap - oldptr) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1669:12: note: place parentheses around the assignment to silence this warning if(moved = (char*)filemap - oldptr) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1669:12: note: use '==' to turn this assignment into an equality comparison if(moved = (char*)filemap - oldptr) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1845:2: warning: expression result unused [-Wunused-value] NOT_USED(handle); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1845:2: warning: expression result unused [-Wunused-value] NOT_USED(handle); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2145:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(;c= *cp;cp++) ~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2145:10: note: place parentheses around the assignment to silence this warning for(;c= *cp;cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2145:10: note: use '==' to turn this assignment into an equality comparison for(;c= *cp;cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2177:24: warning: '&' within '|' [-Wbitwise-op-parentheses] sfset(sfstderr,sfflags&SF_READ|SF_SHARE|SF_PUBLIC,1); ~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2177:24: note: place parentheses around the '&' expression to silence this warning sfset(sfstderr,sfflags&SF_READ|SF_SHARE|SF_PUBLIC,1); ~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2272:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pp=(struct checkpt*)shp->jmplist) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2272:8: note: place parentheses around the assignment to silence this warning if(pp=(struct checkpt*)shp->jmplist) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2272:8: note: use '==' to turn this assignment into an equality comparison if(pp=(struct checkpt*)shp->jmplist) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2389:2: warning: expression result unused [-Wunused-value] NOT_USED(sp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2389:2: warning: expression result unused [-Wunused-value] NOT_USED(sp); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2498:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=shp->sftable[fd]) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2498:7: note: place parentheses around the assignment to silence this warning if(sp=shp->sftable[fd]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2498:7: note: use '==' to turn this assignment into an equality comparison if(sp=shp->sftable[fd]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2512:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=shp->sftable[fd]) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2512:7: note: place parentheses around the assignment to silence this warning if(sp=shp->sftable[fd]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2512:7: note: use '==' to turn this assignment into an equality comparison if(sp=shp->sftable[fd]) ^ == 18 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_VSH -DSHOPT_COSHELL -DSHOPT_BGX -DSHOPT_ESH -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_MULTIBYTE -DSHOPT_PFSH -D_BLD_shell -DKSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:388:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cjp = cowait(0,0,cotimeout)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:388:11: note: place parentheses around the assignment to silence this warning if(cjp = cowait(0,0,cotimeout)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:388:11: note: use '==' to turn this assignment into an equality comparison if(cjp = cowait(0,0,cotimeout)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:658:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:658:14: note: place parentheses around the assignment to silence this warning if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:658:14: note: use '==' to turn this assignment into an equality comparison if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:876:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(jp = *jobs++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:876:16: note: place parentheses around the assignment to silence this warning else while(jp = *jobs++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:876:16: note: use '==' to turn this assignment into an equality comparison else while(jp = *jobs++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:942:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(jobid = *jobs++) ~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:942:19: note: place parentheses around the assignment to silence this warning else while(jobid = *jobs++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:942:19: note: use '==' to turn this assignment into an equality comparison else while(jobid = *jobs++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1067:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(px=px->p_nxtproc) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1067:12: note: place parentheses around the assignment to silence this warning while(px=px->p_nxtproc) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1067:12: note: use '==' to turn this assignment into an equality comparison while(px=px->p_nxtproc) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1175:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pid = pw->p_pgrp) ~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1175:10: note: place parentheses around the assignment to silence this warning if(pid = pw->p_pgrp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1175:10: note: use '==' to turn this assignment into an equality comparison if(pid = pw->p_pgrp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1261:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(px=pw) ~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1261:11: note: place parentheses around the assignment to silence this warning while(px=pw) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1261:11: note: use '==' to turn this assignment into an equality comparison while(px=pw) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1321:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pw = job_bypid(pid)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1321:8: note: place parentheses around the assignment to silence this warning if(pw = job_bypid(pid)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1321:8: note: use '==' to turn this assignment into an equality comparison if(pw = job_bypid(pid)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1325:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pw=job_bypid(join)) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1325:8: note: place parentheses around the assignment to silence this warning if(pw=job_bypid(join)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1325:8: note: use '==' to turn this assignment into an equality comparison if(pw=job_bypid(join)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1337:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pw=freelist) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1337:7: note: place parentheses around the assignment to silence this warning if(pw=freelist) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1337:7: note: use '==' to turn this assignment into an equality comparison if(pw=freelist) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1817:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(jp = jobsave_create(pw->p_pid)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1817:10: note: place parentheses around the assignment to silence this warning if(jp = jobsave_create(pw->p_pid)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1817:10: note: use '==' to turn this assignment into an equality comparison if(jp = jobsave_create(pw->p_pid)) ^ == 11 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_TYPEDEF -DSHOPT_MULTIBYTE -DSHOPT_KIA -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_PFSH -DKSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:341:21: warning: '&&' within '||' [-Wlogical-op-parentheses] while((fcgetc(c)) && c==' ' || c== '\t' || c=='\n'); ~~~~~~~~~~~~^~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:341:21: note: place parentheses around the '&&' expression to silence this warning while((fcgetc(c)) && c==' ' || c== '\t' || c=='\n'); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:342:3: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:372:4: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:391:5: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:397:6: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:469:7: warning: expression result unused [-Wunused-value] fcseek(1); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:471:7: warning: expression result unused [-Wunused-value] fcseek(1); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:518:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:550:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:564:8: warning: expression result unused [-Wunused-value] fcseek(1); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:612:8: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:604:14: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:630:7: warning: expression result unused [-Wunused-value] fcseek(1); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:646:12: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:717:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:731:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:751:7: warning: expression result unused [-Wunused-value] fcseek(1); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:754:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:773:8: warning: expression result unused [-Wunused-value] fcseek(2); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:810:13: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:903:14: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:905:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:959:9: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:965:9: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:985:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if(c=='*' || (n=sh_lexstates[ST_BRACE][c])!=S_MOD1 && n!=S_MOD2) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:985:56: note: place parentheses around the '&&' expression to silence this warning if(c=='*' || (n=sh_lexstates[ST_BRACE][c])!=S_MOD1 && n!=S_MOD2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1005:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1025:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1045:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1072:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1080:12: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1084:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1099:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1110:8: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1114:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1158:8: warning: expression result unused [-Wunused-value] fcseek(n); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1185:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1192:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1216:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1207:13: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1235:8: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1233:14: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1260:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1255:12: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1298:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:505:5: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:721:12: warning: expression result unused [-Wunused-value] fcgetc(n); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:872:5: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:894:5: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1521:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1570:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(first=lp->lexd.first) ~~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1570:10: note: place parentheses around the assignment to silence this warning if(first=lp->lexd.first) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1570:10: note: use '==' to turn this assignment into an equality comparison if(first=lp->lexd.first) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1587:5: warning: expression result unused [-Wunused-value] fcseek(n); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1591:11: warning: expression result unused [-Wunused-value] fcgetc(c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1599:12: warning: expression result unused [-Wunused-value] fcgetc(c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1618:5: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1655:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1667:13: warning: expression result unused [-Wunused-value] fcgetc(c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1672:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1702:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(offset=stktell(stkp)) ~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1702:11: note: place parentheses around the assignment to silence this warning if(offset=stktell(stkp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1702:11: note: use '==' to turn this assignment into an equality comparison if(offset=stktell(stkp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1797:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(funlog=lp->sh->funlog) ~~~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1797:11: note: place parentheses around the assignment to silence this warning if(funlog=lp->sh->funlog) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1797:11: note: use '==' to turn this assignment into an equality comparison if(funlog=lp->sh->funlog) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1800:4: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1809:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(stripflg=iop->iofile&IOSTRIP) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1809:13: note: place parentheses around the assignment to silence this warning if(stripflg=iop->iofile&IOSTRIP) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1809:13: note: use '==' to turn this assignment into an equality comparison if(stripflg=iop->iofile&IOSTRIP) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1828:4: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1844:39: warning: expression result unused [-Wunused-value] if(fcleft()< MB_LEN_MAX && mbsize(fcseek(0))<0) ~~~~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1889:6: warning: expression result unused [-Wunused-value] fcseek(1); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1899:4: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1919:14: warning: expression result unused [-Wunused-value] fcgetc(c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1930:13: warning: expression result unused [-Wunused-value] fcgetc(c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1974:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1992:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2027:4: warning: expression result unused [-Wunused-value] fcget(); ^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:53:19: note: expanded from macro 'fcget' #define fcget() ((int)(*_Fcin.fcptr++)) ^ ~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2131:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(top=sfstack(sp,SF_POPSTACK)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2131:12: note: place parentheses around the assignment to silence this warning while(top=sfstack(sp,SF_POPSTACK)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2131:12: note: use '==' to turn this assignment into an equality comparison while(top=sfstack(sp,SF_POPSTACK)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2189:24: warning: expression result unused [-Wunused-value] switch(len = mbsize(sp)) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2398:25: warning: expression result unused [-Wunused-value] switch(len = mbsize(sp)) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2497:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap->np = np) ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2497:12: note: place parentheses around the assignment to silence this warning if(ap->np = np) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2497:12: note: use '==' to turn this assignment into an equality comparison if(ap->np = np) ^ == 74 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_BRACEPAT -DKSHELL -DSHOPT_COSHELL -DSHOPT_OPTIMIZE -DSHOPT_FIXEDARRAY -DSHOPT_TYPEDEF -DSHOPT_FILESCAN -DSHOPT_MULTIBYTE -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_SUID_EXEC -DSHOPT_BGX -DSHOPT_KIA -DSHOPT_DYNAMIC -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:177:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:177:13: note: place parentheses around the assignment to silence this warning if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:177:13: note: use '==' to turn this assignment into an equality comparison if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:212:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:212:13: note: place parentheses around the assignment to silence this warning if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:212:13: note: use '==' to turn this assignment into an equality comparison if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:302:25: warning: expression result unused [-Wunused-value] switch(len = mbsize(cp)) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:322:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c=(cp-1)-fcseek(0)) ~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:322:7: note: place parentheses around the assignment to silence this warning if(c=(cp-1)-fcseek(0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:322:7: note: use '==' to turn this assignment into an equality comparison if(c=(cp-1)-fcseek(0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:340:11: warning: expression result unused [-Wunused-value] fcgetc(c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:368:6: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:378:19: warning: expression result unused [-Wunused-value] while(fcgetc(c),isaname(c)) ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:380:6: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:387:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c=stktell(stkp)-offset2) ~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:387:9: note: place parentheses around the assignment to silence this warning if(c=stktell(stkp)-offset2) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:387:9: note: use '==' to turn this assignment into an equality comparison if(c=stktell(stkp)-offset2) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:403:5: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:469:25: warning: expression result unused [-Wunused-value] switch(len = mbsize(cp)) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:528:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= cp[-1]) ~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:528:9: note: place parentheses around the assignment to silence this warning if(c= cp[-1]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:528:9: note: use '==' to turn this assignment into an equality comparison if(c= cp[-1]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:549:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if((n==S_DIG || ((paren+ere) && (sh_lexstates[ST_DOL][nc]==S_ALP) || nc=='<' || nc=='>'))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:549:35: note: place parentheses around the '&&' expression to silence this warning if((n==S_DIG || ((paren+ere) && (sh_lexstates[ST_DOL][nc]==S_ALP) || nc=='<' || nc=='>'))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:891:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=cp-first-1) ~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:891:6: note: place parentheses around the assignment to silence this warning if(n=cp-first-1) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:891:6: note: use '==' to turn this assignment into an equality comparison if(n=cp-first-1) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1179:4: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1214:51: warning: '&&' within '||' [-Wlogical-op-parentheses] while((d=c,(c=fcmbget(&LEN)),isaname(c))||type && c=='.'); ~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1214:51: note: place parentheses around the '&&' expression to silence this warning while((d=c,(c=fcmbget(&LEN)),isaname(c))||type && c=='.'); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1223:6: warning: expression result unused [-Wunused-value] fcget(); ^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:53:19: note: expanded from macro 'fcget' #define fcget() ((int)(*_Fcin.fcptr++)) ^ ~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1237:6: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1372:5: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1375:4: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1389:4: warning: expression result unused [-Wunused-value] fcseek(-peek); ^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1478:3: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1553:4: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1563:4: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1586:7: warning: expression result unused [-Wunused-value] fcseek(-LEN); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1590:6: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1624:3: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1691:6: warning: expression result unused [-Wunused-value] mbchar(v); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:197:118: note: expanded from macro 'mbchar' #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++))) ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1725:20: warning: expression result unused [-Wunused-value] if((c=mbsize(vp))<1) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1782:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if(v || c=='/' && offset>=0) ~~ ~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1782:18: note: place parentheses around the '&&' expression to silence this warning if(v || c=='/' && offset>=0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2002:3: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2008:2: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2045:3: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2081:12: warning: expression result unused [-Wunused-value] fcgetc(c); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=mp->shp->sftable[fd]) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2124:10: note: place parentheses around the assignment to silence this warning if(sp=mp->shp->sftable[fd]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2124:10: note: use '==' to turn this assignment into an equality comparison if(sp=mp->shp->sftable[fd]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2282:31: warning: expression result unused [-Wunused-value] if(mbwide() && (len=mbsize(cp))>1) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2327:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = (cp-1) - str) ~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2327:10: note: place parentheses around the assignment to silence this warning if(c = (cp-1) - str) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2327:10: note: use '==' to turn this assignment into an equality comparison if(c = (cp-1) - str) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2333:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = cp-str) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2333:8: note: place parentheses around the assignment to silence this warning if(c = cp-str) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2333:8: note: use '==' to turn this assignment into an equality comparison if(c = cp-str) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2343:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *sp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2343:12: note: place parentheses around the assignment to silence this warning while(c = *sp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2343:12: note: use '==' to turn this assignment into an equality comparison while(c = *sp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2349:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *sp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2349:12: note: place parentheses around the assignment to silence this warning while(c = *sp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2349:12: note: use '==' to turn this assignment into an equality comparison while(c = *sp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2361:47: warning: expression result unused [-Wunused-value] if(mbwide() && n!=S_MBYTE && (len=mbsize(cp-1))>1) ~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2384:19: warning: expression result unused [-Wunused-value] n = mbsize(cp-1) - 1; ~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2399:20: warning: expression result unused [-Wunused-value] n = mbsize(cp-1) - 1; ~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2427:12: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2427:12: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2433:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2433:12: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2433:12: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2505:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2505:7: note: place parentheses around the assignment to silence this warning if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2505:7: note: use '==' to turn this assignment into an equality comparison if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2520:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2520:7: note: place parentheses around the assignment to silence this warning if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2520:7: note: use '==' to turn this assignment into an equality comparison if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2548:17: warning: expression result unused [-Wunused-value] if((c=mbsize(str))<0) ~~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2592:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2592:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2630:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ptr = sfreserve(iop, SF_UNBOUND, -1)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2630:9: note: place parentheses around the assignment to silence this warning if(ptr = sfreserve(iop, SF_UNBOUND, -1)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2630:9: note: use '==' to turn this assignment into an equality comparison if(ptr = sfreserve(iop, SF_UNBOUND, -1)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2713:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(string,logins_tree,NV_ADD)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2713:7: note: place parentheses around the assignment to silence this warning if(np=nv_search(string,logins_tree,NV_ADD)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2713:7: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(string,logins_tree,NV_ADD)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2788:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2788:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2788:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == 53 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_OPTIMIZE -DSHOPT_FIXEDARRAY -DSHOPT_NAMESPACE -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_TYPEDEF -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:174:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(sp= strchr(cp,'[')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:174:10: note: place parentheses around the assignment to silence this warning while(sp= strchr(cp,'[')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:174:10: note: use '==' to turn this assignment into an equality comparison while(sp= strchr(cp,'[')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:180:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *sp++) ~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:180:10: note: place parentheses around the assignment to silence this warning while(c= *sp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:180:10: note: use '==' to turn this assignment into an equality comparison while(c= *sp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:479:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:479:16: note: place parentheses around the assignment to silence this warning while(cp= *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:479:16: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:601:122: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!tp->lst.lstlef || !tp->lst.lstlef->tre.tretyp==TCOM || tp->lst.lstlef->com.comarg || tp->lst.lstlef->com.comset && tp->lst.lstlef->com.comset->argval[0]!='[') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:601:122: note: place parentheses around the '&&' expression to silence this warning if(!tp->lst.lstlef || !tp->lst.lstlef->tre.tretyp==TCOM || tp->lst.lstlef->com.comarg || tp->lst.lstlef->com.comset && tp->lst.lstlef->com.comset->argval[0]!='[') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:637:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=lastdot(sp,'=')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:637:9: note: place parentheses around the assignment to silence this warning if(cp=lastdot(sp,'=')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:637:9: note: use '==' to turn this assignment into an equality comparison if(cp=lastdot(sp,'=')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:694:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *sub++) ~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:694:9: note: place parentheses around the assignment to silence this warning while(c= *sub++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:694:9: note: use '==' to turn this assignment into an equality comparison while(c= *sub++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:827:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = nv_search(name,shp->var_tree,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:827:11: note: place parentheses around the assignment to silence this warning if(np = nv_search(name,shp->var_tree,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:827:11: note: use '==' to turn this assignment into an equality comparison if(np = nv_search(name,shp->var_tree,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1122:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*dp++=*cp++); ~~~~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1122:20: note: place parentheses around the assignment to silence this warning while(*dp++=*cp++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1122:20: note: use '==' to turn this assignment into an equality comparison while(*dp++=*cp++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1228:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(np=nq) ~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1228:17: note: place parentheses around the assignment to silence this warning else if(np=nq) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1228:17: note: use '==' to turn this assignment into an equality comparison else if(np=nq) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1286:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1286:13: note: place parentheses around the assignment to silence this warning while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1286:13: note: use '==' to turn this assignment into an equality comparison while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1395:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= *--cp) ~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1395:7: note: place parentheses around the assignment to silence this warning if(c= *--cp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1395:7: note: use '==' to turn this assignment into an equality comparison if(c= *--cp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1412:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= !isaletter(c)) ~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1412:6: note: place parentheses around the assignment to silence this warning if(c= !isaletter(c)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1412:6: note: use '==' to turn this assignment into an equality comparison if(c= !isaletter(c)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1537:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=nv_arrayptr(np)) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1537:10: note: place parentheses around the assignment to silence this warning if(ap=nv_arrayptr(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1537:10: note: use '==' to turn this assignment into an equality comparison if(ap=nv_arrayptr(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1539:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp=nv_opensub(np)) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1539:11: note: place parentheses around the assignment to silence this warning if(mp=nv_opensub(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1539:11: note: use '==' to turn this assignment into an equality comparison if(mp=nv_opensub(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2202:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(value=nv_getval(np)) ~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2202:15: note: place parentheses around the assignment to silence this warning else if(value=nv_getval(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2202:15: note: use '==' to turn this assignment into an equality comparison else if(value=nv_getval(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2279:2: warning: expression result unused [-Wunused-value] NOT_USED(dict); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2279:2: warning: expression result unused [-Wunused-value] NOT_USED(dict); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2393:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2393:9: note: place parentheses around the assignment to silence this warning if(cp = nv_getval(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2393:9: note: use '==' to turn this assignment into an equality comparison if(cp = nv_getval(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2424:2: warning: expression result unused [-Wunused-value] NOT_USED(np); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2424:2: warning: expression result unused [-Wunused-value] NOT_USED(np); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2432:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq=dtsearch(oroot,np)) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2432:8: note: place parentheses around the assignment to silence this warning if(nq=dtsearch(oroot,np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2432:8: note: use '==' to turn this assignment into an equality comparison if(nq=dtsearch(oroot,np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2523:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2523:14: note: place parentheses around the assignment to silence this warning while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2523:14: note: use '==' to turn this assignment into an equality comparison while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2714:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(op = opt_free) ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2714:9: note: place parentheses around the assignment to silence this warning if(op = opt_free) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2714:9: note: use '==' to turn this assignment into an equality comparison if(op = opt_free) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3056:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3056:10: note: place parentheses around the assignment to silence this warning if (sp = nv_getval(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3056:10: note: use '==' to turn this assignment into an equality comparison if (sp = nv_getval(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3118:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *av++) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3118:11: note: place parentheses around the assignment to silence this warning while(cp = *av++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3118:11: note: use '==' to turn this assignment into an equality comparison while(cp = *av++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3213:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= mbchar(cp)) ~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3213:9: note: place parentheses around the assignment to silence this warning while(c= mbchar(cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3213:9: note: use '==' to turn this assignment into an equality comparison while(c= mbchar(cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3256:51: warning: '&&' within '||' [-Wlogical-op-parentheses] if(nvenv || (cp = nv_name(np)) && nv_isarray(np) && cp[strlen(cp)-1] == ']') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3256:51: note: place parentheses around the '&&' expression to silence this warning if(nvenv || (cp = nv_name(np)) && nv_isarray(np) && cp[strlen(cp)-1] == ']') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3296:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3296:9: note: place parentheses around the assignment to silence this warning if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3296:9: note: use '==' to turn this assignment into an equality comparison if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3298:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = nv_arrayptr(np)) ~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3298:10: note: place parentheses around the assignment to silence this warning if(ap = nv_arrayptr(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3298:10: note: use '==' to turn this assignment into an equality comparison if(ap = nv_arrayptr(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3312:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3312:9: note: place parentheses around the assignment to silence this warning if(cp = nv_getval(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3312:9: note: use '==' to turn this assignment into an equality comparison if(cp = nv_getval(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3334:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=nv_arrayptr(np)) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3334:8: note: place parentheses around the assignment to silence this warning if(ap=nv_arrayptr(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3334:8: note: use '==' to turn this assignment into an equality comparison if(ap=nv_arrayptr(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_opensub(nr)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3459:10: note: place parentheses around the assignment to silence this warning if(nq = nv_opensub(nr)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3459:10: note: use '==' to turn this assignment into an equality comparison if(nq = nv_opensub(nr)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3512:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(sp = sp->prevst) ~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3512:13: note: place parentheses around the assignment to silence this warning while(sp = sp->prevst) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3512:13: note: use '==' to turn this assignment into an equality comparison while(sp = sp->prevst) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3628:2: warning: expression result unused [-Wunused-value] NOT_USED(size); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3628:2: warning: expression result unused [-Wunused-value] NOT_USED(size); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ 35 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_FIXEDARRAY -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:74:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(fp=fp->next) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:74:10: note: place parentheses around the assignment to silence this warning while(fp=fp->next) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:74:10: note: use '==' to turn this assignment into an equality comparison while(fp=fp->next) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=(*fp->disc->createf)(np,name,flag,fp)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:78:9: note: place parentheses around the assignment to silence this warning if(np=(*fp->disc->createf)(np,name,flag,fp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:78:9: note: use '==' to turn this assignment into an equality comparison if(np=(*fp->disc->createf)(np,name,flag,fp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:119:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(char*)str;c= *cp; cp++) ~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:119:21: note: place parentheses around the assignment to silence this warning for(cp=(char*)str;c= *cp; cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:119:21: note: use '==' to turn this assignment into an equality comparison for(cp=(char*)str;c= *cp; cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:187:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:187:13: note: place parentheses around the assignment to silence this warning if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:187:13: note: use '==' to turn this assignment into an equality comparison if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:208:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(next= nextdot(last)) ~~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:208:15: note: place parentheses around the assignment to silence this warning else if(next= nextdot(last)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:208:15: note: use '==' to turn this assignment into an equality comparison else if(next= nextdot(last)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:221:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_opensub(np)) ~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:221:12: note: place parentheses around the assignment to silence this warning if(nq = nv_opensub(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:221:12: note: use '==' to turn this assignment into an equality comparison if(nq = nv_opensub(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:283:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(np=dp->hp) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:283:11: note: place parentheses around the assignment to silence this warning while(np=dp->hp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:283:11: note: use '==' to turn this assignment into an equality comparison while(np=dp->hp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:399:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=strrchr(cp,'.')) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:399:8: note: place parentheses around the assignment to silence this warning if(cp=strrchr(cp,'.')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:399:8: note: use '==' to turn this assignment into an equality comparison if(cp=strrchr(cp,'.')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:459:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = strrchr(cp,'.')) ~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:459:11: note: place parentheses around the assignment to silence this warning if(cp = strrchr(cp,'.')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:459:11: note: use '==' to turn this assignment into an equality comparison if(cp = strrchr(cp,'.')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = nv_stack(np,NIL(Namfun_t*))) ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:731:10: note: place parentheses around the assignment to silence this warning if(fp = nv_stack(np,NIL(Namfun_t*))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:731:10: note: use '==' to turn this assignment into an equality comparison if(fp = nv_stack(np,NIL(Namfun_t*))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:821:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp=nextdot(prefix)) ~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:821:12: note: place parentheses around the assignment to silence this warning else if(cp=nextdot(prefix)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:821:12: note: use '==' to turn this assignment into an equality comparison else if(cp=nextdot(prefix)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:835:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; arg= *argv; argv++) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:835:11: note: place parentheses around the assignment to silence this warning for(; arg= *argv; argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:835:11: note: use '==' to turn this assignment into an equality comparison for(; arg= *argv; argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:850:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nextcp=nextdot(cp)) ~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:850:13: note: place parentheses around the assignment to silence this warning if(nextcp=nextdot(cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:850:13: note: use '==' to turn this assignment into an equality comparison if(nextcp=nextdot(cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:867:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp = strrchr(tp->nvname,'.')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:867:13: note: place parentheses around the assignment to silence this warning if(sp = strrchr(tp->nvname,'.')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:867:13: note: use '==' to turn this assignment into an equality comparison if(sp = strrchr(tp->nvname,'.')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1012:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = nv_dirnext(dir)) ~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1012:11: note: place parentheses around the assignment to silence this warning while(cp = nv_dirnext(dir)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1012:11: note: use '==' to turn this assignment into an equality comparison while(cp = nv_dirnext(dir)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1105:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(flags = nv_isattr(np,NV_EXPORT)) ~~~~~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1105:11: note: place parentheses around the assignment to silence this warning if(flags = nv_isattr(np,NV_EXPORT)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1105:11: note: use '==' to turn this assignment into an equality comparison if(flags = nv_isattr(np,NV_EXPORT)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(flags |= nv_isattr(np,NV_TABLE)) ~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1107:11: note: place parentheses around the assignment to silence this warning if(flags |= nv_isattr(np,NV_TABLE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1107:11: note: use '!=' to turn this compound assignment into an inequality comparison if(flags |= nv_isattr(np,NV_TABLE)) ^~ != /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1145:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap= nv_arrayptr(np)) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1145:7: note: place parentheses around the assignment to silence this warning if(ap= nv_arrayptr(np)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1145:7: note: use '==' to turn this assignment into an equality comparison if(ap= nv_arrayptr(np)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1150:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = nv_stack(np,NIL(Namfun_t*))) ~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1150:9: note: place parentheses around the assignment to silence this warning if(fp = nv_stack(np,NIL(Namfun_t*))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1150:9: note: use '==' to turn this assignment into an equality comparison if(fp = nv_stack(np,NIL(Namfun_t*))) ^ == 19 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -D_BLD_shell -DSHOPT_STATS -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_KIA -DSHOPT_DYNAMIC -DKSHELL -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:130:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(argp = argp->argnxt.ap) ~~~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:130:14: note: place parentheses around the assignment to silence this warning while(argp = argp->argnxt.ap) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:130:14: note: use '==' to turn this assignment into an equality comparison while(argp = argp->argnxt.ap) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:175:46: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:175:46: note: place parentheses around the assignment to silence this warning for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:175:46: note: use '==' to turn this assignment into an equality comparison for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:177:41: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:177:41: note: place parentheses around the assignment to silence this warning for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:177:41: note: use '==' to turn this assignment into an equality comparison for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:182:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(unsigned char*)str; c= *cp++; n=table[c]) ~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:182:31: note: place parentheses around the assignment to silence this warning for(cp=(unsigned char*)str; c= *cp++; n=table[c]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:182:31: note: use '==' to turn this assignment into an equality comparison for(cp=(unsigned char*)str; c= *cp++; n=table[c]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:198:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ap = ap->argnxt.ap) ~~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:198:12: note: place parentheses around the assignment to silence this warning while(ap = ap->argnxt.ap) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:198:12: note: use '==' to turn this assignment into an equality comparison while(ap = ap->argnxt.ap) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:257:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *str++) ~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:257:9: note: place parentheses around the assignment to silence this warning while(c= *str++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:257:9: note: use '==' to turn this assignment into an equality comparison while(c= *str++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:356:4: warning: expression result unused [-Wunused-value] fcseek(4); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:357:11: warning: expression result unused [-Wunused-value] fcgetc(version); ~~~~~~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:442:4: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:472:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(slpold=slp) ~~~~~~^~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:472:14: note: place parentheses around the assignment to silence this warning while(slpold=slp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:472:14: note: use '==' to turn this assignment into an equality comparison while(slpold=slp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:522:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:522:11: note: place parentheses around the assignment to silence this warning if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:522:11: note: use '==' to turn this assignment into an equality comparison if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:589:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tt=term(lexp,SH_NL)) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:589:8: note: place parentheses around the assignment to silence this warning if(tt=term(lexp,SH_NL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:589:8: note: use '==' to turn this assignment into an equality comparison if(tt=term(lexp,SH_NL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:709:3: warning: expression result unused [-Wunused-value] fcseek(1); ^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:777:4: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:823:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:823:12: note: place parentheses around the assignment to silence this warning while(cp= *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:823:12: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:878:34: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(char*)&argv[nargs]; sp= *old++; cp++) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:878:34: note: place parentheses around the assignment to silence this warning for(cp=(char*)&argv[nargs]; sp= *old++; cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:878:34: note: use '==' to turn this assignment into an equality comparison for(cp=(char*)&argv[nargs]; sp= *old++; cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:927:4: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:995:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(aq=ac->comarg) ~~^~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:995:9: note: place parentheses around the assignment to silence this warning if(aq=ac->comarg) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:995:9: note: use '==' to turn this assignment into an equality comparison if(aq=ac->comarg) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1038:5: warning: expression result unused [-Wunused-value] fcseek(-2); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1041:4: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1323:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tok=sh_lex(lexp)) ~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1323:9: note: place parentheses around the assignment to silence this warning if(tok=sh_lex(lexp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1323:9: note: use '==' to turn this assignment into an equality comparison if(tok=sh_lex(lexp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1363:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(io=inout(lexp,io,0)) ~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1363:7: note: place parentheses around the assignment to silence this warning if(io=inout(lexp,io,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1363:7: note: use '==' to turn this assignment into an equality comparison if(io=inout(lexp,io,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1696:5: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1725:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(token=sh_lex(lexp)) ~~~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1725:10: note: place parentheses around the assignment to silence this warning if(token=sh_lex(lexp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1725:10: note: use '==' to turn this assignment into an equality comparison if(token=sh_lex(lexp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1733:4: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1908:16: warning: expression result unused [-Wunused-value] while( fcgetc(c),(c==' ' || c=='\t')); ~~~~~~~^~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:52:51: note: expanded from macro 'fcgetc' #define fcgetc(c) (((c=fcget()) || (c=fcfill())), c) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1910:3: warning: expression result unused [-Wunused-value] fcseek(-1); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ ~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:2056:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:2056:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ 29 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_DYNAMIC -DSHOPT_NAMESPACE -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_BGX -DKSHELL -DSHOPT_BRACEPAT -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:163:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ev=envp; cp= *ev; ev++) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:163:17: note: place parentheses around the assignment to silence this warning for(ev=envp; cp= *ev; ev++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:163:17: note: use '==' to turn this assignment into an equality comparison for(ev=envp; cp= *ev; ev++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:167:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(av=avlast; cp= *av; av++,nlast++) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:167:19: note: place parentheses around the assignment to silence this warning for(av=avlast; cp= *av; av++,nlast++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:167:19: note: use '==' to turn this assignment into an equality comparison for(av=avlast; cp= *av; av++,nlast++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:191:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(xv=avlast; cp= *xv; xv++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:191:21: note: place parentheses around the assignment to silence this warning for(xv=avlast; cp= *xv; xv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:191:21: note: use '==' to turn this assignment into an equality comparison for(xv=avlast; cp= *xv; xv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:263:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=getcwd(NIL(char*),0)) ~~^~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:263:10: note: place parentheses around the assignment to silence this warning if(cp=getcwd(NIL(char*),0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:263:10: note: use '==' to turn this assignment into an equality comparison if(cp=getcwd(NIL(char*),0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:463:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:463:8: note: place parentheses around the assignment to silence this warning if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:463:8: note: use '==' to turn this assignment into an equality comparison if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:473:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:473:8: note: place parentheses around the assignment to silence this warning if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:473:8: note: use '==' to turn this assignment into an equality comparison if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:493:9: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:493:9: note: place parentheses around the '&&' expression to silence this warning if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:723:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(name,shp->track_tree,NV_ADD)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:723:8: note: place parentheses around the assignment to silence this warning if(np=nv_search(name,shp->track_tree,NV_ADD)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:723:8: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(name,shp->track_tree,NV_ADD)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:748:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(oldpp=pp) ~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:748:14: note: place parentheses around the assignment to silence this warning while(oldpp=pp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:748:14: note: use '==' to turn this assignment into an equality comparison while(oldpp=pp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:781:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(bp = oldpp->blib) ~~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:781:13: note: place parentheses around the assignment to silence this warning while(bp = oldpp->blib) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:781:13: note: use '==' to turn this assignment into an equality comparison while(bp = oldpp->blib) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:786:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = strchr(bp, ':')) ~~~^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:786:11: note: place parentheses around the assignment to silence this warning if(fp = strchr(bp, ':')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:786:11: note: use '==' to turn this assignment into an equality comparison if(fp = strchr(bp, ':')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:810:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = strrchr(stakptr(m),'/')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:810:11: note: place parentheses around the assignment to silence this warning if(cp = strrchr(stakptr(m),'/')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:810:11: note: use '==' to turn this assignment into an equality comparison if(cp = strrchr(stakptr(m),'/')) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:815:25: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] (addr=(Shbltin_f)dlllook((void*)0,stakptr(n))) && ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:15: warning: implicit declaration of function 'dllplugin' is invalid in C99 [-Wimplicit-function-declaration] if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:73: error: use of undeclared identifier 'RTLD_LAZY' if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1025:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(libpath=pp) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1025:13: note: place parentheses around the assignment to silence this warning if(libpath=pp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1025:13: note: use '==' to turn this assignment into an equality comparison if(libpath=pp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1098:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(libenv = path_lib(shp,libpath,path)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1098:14: note: place parentheses around the assignment to silence this warning if(libenv = path_lib(shp,libpath,path)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1098:14: note: use '==' to turn this assignment into an equality comparison if(libenv = path_lib(shp,libpath,path)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *xp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1120:12: note: place parentheses around the assignment to silence this warning while (s = *xp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1120:12: note: use '==' to turn this assignment into an equality comparison while (s = *xp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1272:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=fcfile()) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1272:7: note: place parentheses around the assignment to silence this warning if(sp=fcfile()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1272:7: note: use '==' to turn this assignment into an equality comparison if(sp=fcfile()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1536:20: warning: '&&' within '||' [-Wlogical-op-parentheses] if(m==0 || m==6 && memcmp((void*)sp,(void*)"FPATH=",m)==0) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1536:20: note: place parentheses around the '&&' expression to silence this warning if(m==0 || m==6 && memcmp((void*)sp,(void*)"FPATH=",m)==0) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1622:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1622:8: note: place parentheses around the assignment to silence this warning if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1622:8: note: use '==' to turn this assignment into an equality comparison if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1680:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(pq=pp;pq=pq->next;) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1680:15: note: place parentheses around the assignment to silence this warning for(pq=pp;pq=pq->next;) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1680:15: note: use '==' to turn this assignment into an equality comparison for(pq=pp;pq=pq->next;) ^ == 21 warnings and 1 error generated. mamake [cmd/ksh93]: *** exit code 1 making path.o + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:100:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:100:9: note: place parentheses around the assignment to silence this warning if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:100:9: note: use '==' to turn this assignment into an equality comparison if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:200:19: warning: expression result unused [-Wunused-value] int c = mbsize(sp); ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:248:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *sp) ~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:248:10: note: place parentheses around the assignment to silence this warning while(c= *sp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:248:10: note: use '==' to turn this assignment into an equality comparison while(c= *sp) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:252:31: warning: expression result unused [-Wunused-value] if(mbwide() && (len=mbsize(sp))>1) ~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:283:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; c= *((unsigned char*)str1); str1++,str2++) ~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:283:9: note: place parentheses around the assignment to silence this warning for(; c= *((unsigned char*)str1); str1++,str2++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:283:9: note: use '==' to turn this assignment into an equality comparison for(; c= *((unsigned char*)str1); str1++,str2++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:312:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c=mbchar(cp)) ~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:312:9: note: place parentheses around the assignment to silence this warning while(c=mbchar(cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:312:9: note: use '==' to turn this assignment into an equality comparison while(c=mbchar(cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:375:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = --cp - string) ~~^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:375:8: note: place parentheses around the assignment to silence this warning if(c = --cp - string) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:375:8: note: use '==' to turn this assignment into an equality comparison if(c = --cp - string) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:478:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!cp || !*cp || !fold || fold && strlen(string) < fold) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:478:35: note: place parentheses around the '&&' expression to silence this warning if (!cp || !*cp || !fold || fold && strlen(string) < fold) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:514:36: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:514:36: note: place parentheses around the '&&' expression to silence this warning else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:514:106: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:514:106: note: place parentheses around the '&&' expression to silence this warning else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:524:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = mbchar(cp)) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:524:13: note: place parentheses around the assignment to silence this warning while (c = mbchar(cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:524:13: note: use '==' to turn this assignment into an equality comparison while (c = mbchar(cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:604:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = mbchar(cp)) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:604:13: note: place parentheses around the assignment to silence this warning while (c = mbchar(cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:604:13: note: use '==' to turn this assignment into an equality comparison while (c = mbchar(cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:638:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = fold) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:638:14: note: place parentheses around the assignment to silence this warning else if (n = fold) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:638:14: note: use '==' to turn this assignment into an equality comparison else if (n = fold) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:641:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = mbchar(cp)) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:641:13: note: place parentheses around the assignment to silence this warning while (c = mbchar(cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:641:13: note: use '==' to turn this assignment into an equality comparison while (c = mbchar(cp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:673:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = mbchar(cp)) ~~^~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:673:11: note: place parentheses around the assignment to silence this warning while(c = mbchar(cp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:673:11: note: use '==' to turn this assignment into an equality comparison while(c = mbchar(cp)) ^ == 15 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:187:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:187:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:187:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:244:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(node.flag = c) ~~~~~~~~~~^~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:244:17: note: place parentheses around the assignment to silence this warning if(node.flag = c) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:244:17: note: use '==' to turn this assignment into an equality comparison if(node.flag = c) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:539:5: warning: expression result unused [-Wunused-value] getchr(vp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:92:21: note: expanded from macro 'getchr' #define getchr(vp) (*(vp)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:546:5: warning: expression result unused [-Wunused-value] getchr(vp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:92:21: note: expanded from macro 'getchr' #define getchr(vp) (*(vp)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:560:5: warning: expression result unused [-Wunused-value] getchr(vp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:92:21: note: expanded from macro 'getchr' #define getchr(vp) (*(vp)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:640:4: warning: expression result unused [-Wunused-value] getchr(vp); ^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:92:21: note: expanded from macro 'getchr' #define getchr(vp) (*(vp)->nextchr++) ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:658:4: warning: expression result unused [-Wunused-value] stakpush(vp,lvalue.value,char*); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:661:4: warning: expression result unused [-Wunused-value] stakpush(vp,lvalue.flag,short); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:728:5: warning: expression result unused [-Wunused-value] stakpush(vp,fun,Math_f); ^~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:767:5: warning: expression result unused [-Wunused-value] stakpush(vp,lvalue.value,char*); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:768:5: warning: expression result unused [-Wunused-value] stakpush(vp,lvalue.flag,short); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:865:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(vp->errmsg.value = lvalue.value) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:865:25: note: place parentheses around the assignment to silence this warning if(vp->errmsg.value = lvalue.value) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:865:25: note: use '==' to turn this assignment into an equality comparison if(vp->errmsg.value = lvalue.value) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:874:5: warning: expression result unused [-Wunused-value] stakpush(vp,d,Sfdouble_t); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:891:4: warning: expression result unused [-Wunused-value] stakpush(vp,assignop.value,char*); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:892:4: warning: expression result unused [-Wunused-value] stakpush(vp,assignop.flag,short); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:61:50: note: expanded from macro 'stakpush' *((type*)stakptr((v)->offset)) = (val)),(v)->offset) ~~~ ^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:960:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(offset=staktell()) ~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:960:11: note: place parentheses around the assignment to silence this warning if(offset=staktell()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:960:11: note: use '==' to turn this assignment into an equality comparison if(offset=staktell()) ^ == 16 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_COSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_DYNAMIC -DSHOPT_BGX -DSHOPT_KIA -DKSHELL -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:145:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(off = sftell(sfstdout)) ~~~~^~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:145:11: note: place parentheses around the assignment to silence this warning if(off = sftell(sfstdout)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:145:11: note: use '==' to turn this assignment into an equality comparison if(off = sftell(sfstdout)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:193:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pid = sh_fork(shp,FSHOWME,NIL(int*))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:193:9: note: place parentheses around the assignment to silence this warning if(pid = sh_fork(shp,FSHOWME,NIL(int*))) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:193:9: note: use '==' to turn this assignment into an equality comparison if(pid = sh_fork(shp,FSHOWME,NIL(int*))) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:282:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mp=mpnext) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:282:11: note: place parentheses around the assignment to silence this warning while(mp=mpnext) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:282:11: note: use '==' to turn this assignment into an equality comparison while(mp=mpnext) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:487:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(argsav = sh_arguse(shp)) ~~~~~~~^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:487:12: note: place parentheses around the assignment to silence this warning if(argsav = sh_arguse(shp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:487:12: note: use '==' to turn this assignment into an equality comparison if(argsav = sh_arguse(shp)) ^ == 4 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -DKSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:234:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:234:11: note: place parentheses around the assignment to silence this warning while(cp = *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:234:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:239:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:239:12: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:239:12: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == 2 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c:92:2: warning: expression result unused [-Wunused-value] NOT_USED(sig); ^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c:92:2: warning: expression result unused [-Wunused-value] NOT_USED(sig); ^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c:189:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp=tpfree) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c:189:7: note: place parentheses around the assignment to silence this warning if(tp=tpfree) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c:189:7: note: use '==' to turn this assignment into an equality comparison if(tp=tpfree) ^ == 3 warnings generated. + cc -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_BLD_shell -DKSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:245:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(iop->iodelim = r_string(shp->stk)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:245:19: note: place parentheses around the assignment to silence this warning if(iop->iodelim = r_string(shp->stk)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:245:19: note: use '==' to turn this assignment into an equality comparison if(iop->iodelim = r_string(shp->stk)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:281:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(com->comarg = (struct argnod*)r_comlist(shp)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:281:22: note: place parentheses around the assignment to silence this warning else if(com->comarg = (struct argnod*)r_comlist(shp)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:281:22: note: use '==' to turn this assignment into an equality comparison else if(com->comarg = (struct argnod*)r_comlist(shp)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:311:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*argv++ = r_string(shp->stk)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:311:17: note: place parentheses around the assignment to silence this warning while(*argv++ = r_string(shp->stk)); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:311:17: note: use '==' to turn this assignment into an equality comparison while(*argv++ = r_string(shp->stk)); ^ == 3 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/waitevent.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_BGX -DSHOPT_TYPEDEF -DSHOPT_PFSH -DSHOPT_FILESCAN -DSHOPT_COSHELL -DSHOPT_NAMESPACE -DSHOPT_OPTIMIZE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_DYNAMIC -DKSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:126:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(subdup=shp->subdup) for(i=0; i < 10; i++) ~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:126:11: note: place parentheses around the assignment to silence this warning if(subdup=shp->subdup) for(i=0; i < 10; i++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:126:11: note: use '==' to turn this assignment into an equality comparison if(subdup=shp->subdup) for(i=0; i < 10; i++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:199:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(hr=t/60) ~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:199:7: note: place parentheses around the assignment to silence this warning if(hr=t/60) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:199:7: note: use '==' to turn this assignment into an equality comparison if(hr=t/60) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:213:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(first=format ; c= *format; format++) ~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:213:22: note: place parentheses around the assignment to silence this warning for(first=format ; c= *format; format++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:213:22: note: use '==' to turn this assignment into an equality comparison for(first=format ; c= *format; format++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:232:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(d=tm[0]) ~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:232:8: note: place parentheses around the assignment to silence this warning if(d=tm[0]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:232:8: note: use '==' to turn this assignment into an equality comparison if(d=tm[0]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:472:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp = sh_getscope(level,SEEK_SET)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:472:8: note: place parentheses around the assignment to silence this warning if(sp = sh_getscope(level,SEEK_SET)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:472:8: note: use '==' to turn this assignment into an equality comparison if(sp = sh_getscope(level,SEEK_SET)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:528:11: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:528:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:597:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(traceon=sh_isoption(SH_XTRACE)) ~~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:597:14: note: place parentheses around the assignment to silence this warning if(traceon=sh_isoption(SH_XTRACE)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:597:14: note: use '==' to turn this assignment into an equality comparison if(traceon=sh_isoption(SH_XTRACE)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:643:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *++argv) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:643:11: note: place parentheses around the assignment to silence this warning while(cp = *++argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:643:11: note: use '==' to turn this assignment into an equality comparison while(cp = *++argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:735:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:735:2: warning: expression result unused [-Wunused-value] NOT_USED(data); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:801:3: warning: expression result unused [-Wunused-value] (Namval_t*)dtinsert(shp->inpool,np); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:877:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:877:8: note: place parentheses around the assignment to silence this warning if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:877:8: note: use '==' to turn this assignment into an equality comparison if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1043:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp = sh_fsearch(shp,com[0],0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1043:11: note: place parentheses around the assignment to silence this warning if(mp = sh_fsearch(shp,com[0],0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1043:11: note: use '==' to turn this assignment into an equality comparison if(mp = sh_fsearch(shp,com[0],0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1074:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(io=t->tre.treio) ~~^~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1074:10: note: place parentheses around the assignment to silence this warning if(io=t->tre.treio) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1074:10: note: use '==' to turn this assignment into an equality comparison if(io=t->tre.treio) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1079:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(argv=com+1; cp= *argv; argv++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1079:24: note: place parentheses around the assignment to silence this warning for(argv=com+1; cp= *argv; argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1079:24: note: use '==' to turn this assignment into an equality comparison for(argv=com+1; cp= *argv; argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1136:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->envlist = argp = t->com.comset) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1136:20: note: place parentheses around the assignment to silence this warning if(shp->envlist = argp = t->com.comset) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1136:20: note: use '==' to turn this assignment into an equality comparison if(shp->envlist = argp = t->com.comset) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1248:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1248:12: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1248:12: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(job.parent=parent) ~~~~~~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1707:17: note: place parentheses around the assignment to silence this warning if(job.parent=parent) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1707:17: note: use '==' to turn this assignment into an equality comparison if(job.parent=parent) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2158:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(job.waitall = waitall) ~~~~~~~~~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2158:19: note: place parentheses around the assignment to silence this warning if(job.waitall = waitall) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2158:19: note: use '==' to turn this assignment into an equality comparison if(job.waitall = waitall) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2304:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(type = *cp++) ~~~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2304:18: note: place parentheses around the assignment to silence this warning while(type = *cp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2304:18: note: use '==' to turn this assignment into an equality comparison while(type = *cp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2324:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2324:12: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2324:12: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2489:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2489:11: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2489:11: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2527:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2527:11: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2527:11: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2847:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2847:12: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2847:12: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2910:6: warning: '&&' within '||' [-Wlogical-op-parentheses] t && echeck) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2910:6: note: place parentheses around the '&&' expression to silence this warning t && echeck) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2994:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *s++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2994:10: note: place parentheses around the assignment to silence this warning while(c = *s++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2994:10: note: use '==' to turn this assignment into an equality comparison while(c = *s++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3033:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if(*(cp=argv[0])=='[' && (!cp[1] || !cp[2]&&cp[1]=='[')) ~~ ~~~~~~^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3033:46: note: place parentheses around the '&&' expression to silence this warning if(*(cp=argv[0])=='[' && (!cp[1] || !cp[2]&&cp[1]=='[')) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3038:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3038:13: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3038:13: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3073:2: warning: expression result unused [-Wunused-value] NOT_USED(handle); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3073:2: warning: expression result unused [-Wunused-value] NOT_USED(handle); ^~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3305:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mp= *nr++) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3305:10: note: place parentheses around the assignment to silence this warning while(mp= *nr++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3305:10: note: use '==' to turn this assignment into an equality comparison while(mp= *nr++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3412:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nref=fp->nref) ~~~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3412:11: note: place parentheses around the assignment to silence this warning if(nref=fp->nref) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3412:11: note: use '==' to turn this assignment into an equality comparison if(nref=fp->nref) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3602:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3603:2: warning: expression result unused [-Wunused-value] NOT_USED(argv[0]); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3604:2: warning: expression result unused [-Wunused-value] NOT_USED(ac); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3605:2: warning: expression result unused [-Wunused-value] NOT_USED(av[0]); ^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3602:2: warning: expression result unused [-Wunused-value] NOT_USED(argc); ^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3603:2: warning: expression result unused [-Wunused-value] NOT_USED(argv[0]); ^~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3604:2: warning: expression result unused [-Wunused-value] NOT_USED(ac); ^~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3605:2: warning: expression result unused [-Wunused-value] NOT_USED(av[0]); ^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ 40 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:138:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(vp = ep->freelist) ~~~^~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:138:9: note: place parentheses around the assignment to silence this warning if(vp = ep->freelist) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:138:9: note: use '==' to turn this assignment into an equality comparison if(vp = ep->freelist) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:140:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(vp = newof((Evar_t*)0,Evar_t,2,0)) ~~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:140:14: note: place parentheses around the assignment to silence this warning else if(vp = newof((Evar_t*)0,Evar_t,2,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:140:14: note: use '==' to turn this assignment into an equality comparison else if(vp = newof((Evar_t*)0,Evar_t,2,0)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:199:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(env=envp) ~~~^~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:199:8: note: place parentheses around the assignment to silence this warning if(env=envp) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:199:8: note: use '==' to turn this assignment into an equality comparison if(env=envp) ^ == 3 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/limits.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_SUID_EXEC -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_BGX -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_KIA -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/msg.c + iffe -v -c 'cc -O ' ref -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include -ldll -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a -last -liconv -liconv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a -lutil -last -liconv -liconv -last -liconv : run /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/math.sh /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/math.tab iffe: test: is sys/types.h a header ... yes iffe: test: is -liconv a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcmd.a a library ... yes iffe: test: is /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/math.sh ... iffe: test: is sys/types.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is long double a type or typedef ... yes iffe: test: is sys/types.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is acos a library function ... yes iffe: test: is acosl a library function ... yes iffe: test: is acosh a library function ... yes iffe: test: is acoshl a library function ... yes iffe: test: is asin a library function ... yes iffe: test: is asinl a library function ... yes iffe: test: is asinh a library function ... yes iffe: test: is asinhl a library function ... yes iffe: test: is atan a library function ... yes iffe: test: is atanl a library function ... yes iffe: test: is atan2 a library function ... yes iffe: test: is atan2l a library function ... yes iffe: test: is atanh a library function ... yes iffe: test: is atanhl a library function ... yes iffe: test: is cbrt a library function ... yes iffe: test: is cbrtl a library function ... yes iffe: test: is ceil a library function ... yes iffe: test: is ceill a library function ... yes iffe: test: is copysign a library function ... yes iffe: test: is copysignl a library function ... yes iffe: test: is cos a library function ... yes iffe: test: is cosl a library function ... yes iffe: test: is cosh a library function ... yes iffe: test: is coshl a library function ... yes iffe: test: is erf a library function ... yes iffe: test: is erfl a library function ... yes iffe: test: is erfc a library function ... yes iffe: test: is erfcl a library function ... yes iffe: test: is exp a library function ... yes iffe: test: is expl a library function ... yes iffe: test: is exp2 a library function ... yes iffe: test: is exp2l a library function ... yes iffe: test: is expm1 a library function ... yes iffe: test: is expm1l a library function ... yes iffe: test: is fabs a library function ... yes iffe: test: is fabsl a library function ... yes iffe: test: is fdim a library function ... yes iffe: test: is fdiml a library function ... yes iffe: test: is finite a library function ... yes iffe: test: is finitel a library function ... no iffe: test: is floor a library function ... yes iffe: test: is floorl a library function ... yes iffe: test: is fma a library function ... yes iffe: test: is fmal a library function ... yes iffe: test: is fmax a library function ... yes iffe: test: is fmaxl a library function ... yes iffe: test: is fmin a library function ... yes iffe: test: is fminl a library function ... yes iffe: test: is fmod a library function ... yes iffe: test: is fmodl a library function ... yes iffe: test: is fpclassify a library function ... yes iffe: test: is fpclassifyl a library function ... no iffe: test: is fpclass a library function ... no iffe: test: is fpclassl a library function ... no iffe: test: is hypot a library function ... yes iffe: test: is hypotl a library function ... yes iffe: test: is ilogb a library function ... yes iffe: test: is ilogbl a library function ... yes iffe: test: is isfinite a library function ... yes iffe: test: is isfinitel a library function ... no iffe: test: is isgreater a library function ... yes iffe: test: is isgreaterl a library function ... no iffe: test: is isgreaterequal a library function ... yes iffe: test: is isgreaterequall a library function ... no iffe: test: is isinf a library function ... yes iffe: test: is isinfl a library function ... no iffe: test: is isinfinite a library function ... no iffe: test: is isinfinitel a library function ... no iffe: test: is isless a library function ... yes iffe: test: is islessl a library function ... no iffe: test: is islessequal a library function ... yes iffe: test: is islessequall a library function ... no iffe: test: is islessgreater a library function ... yes iffe: test: is islessgreaterl a library function ... no iffe: test: is isnan a library function ... yes iffe: test: is isnanl a library function ... no iffe: test: is isnormal a library function ... yes iffe: test: is isnormall a library function ... no iffe: test: is issubnormal a library function ... no iffe: test: is issubnormall a library function ... no iffe: test: is isunordered a library function ... yes iffe: test: is isunorderedl a library function ... no iffe: test: is iszero a library function ... no iffe: test: is iszerol a library function ... no iffe: test: is j0 a library function ... yes iffe: test: is j0l a library function ... no iffe: test: is j1 a library function ... yes iffe: test: is j1l a library function ... no iffe: test: is jn a library function ... yes iffe: test: is jnl a library function ... no iffe: test: is ldexp a library function ... yes iffe: test: is ldexpl a library function ... yes iffe: test: is lgamma a library function ... yes iffe: test: is lgammal a library function ... yes iffe: test: is log a library function ... yes iffe: test: is logl a library function ... yes iffe: test: is log10 a library function ... yes iffe: test: is log10l a library function ... yes iffe: test: is log1p a library function ... yes iffe: test: is log1pl a library function ... yes iffe: test: is log2 a library function ... yes iffe: test: is log2l a library function ... yes iffe: test: is logb a library function ... yes iffe: test: is logbl a library function ... yes iffe: test: is nearbyint a library function ... yes iffe: test: is nearbyintl a library function ... yes iffe: test: is nextafter a library function ... yes iffe: test: is nextafterl a library function ... yes iffe: test: is nexttoward a library function ... yes iffe: test: is nexttowardl a library function ... yes iffe: test: is pow a library function ... yes iffe: test: is powl a library function ... yes iffe: test: is remainder a library function ... yes iffe: test: is remainderl a library function ... yes iffe: test: is rint a library function ... yes iffe: test: is rintl a library function ... yes iffe: test: is round a library function ... yes iffe: test: is roundl a library function ... yes iffe: test: is scalb a library function ... yes iffe: test: is scalbl a library function ... no iffe: test: is scalbn a library function ... yes iffe: test: is scalbnl a library function ... yes iffe: test: is signbit a library function ... yes iffe: test: is signbitl a library function ... no iffe: test: is sin a library function ... yes iffe: test: is sinl a library function ... yes iffe: test: is sinh a library function ... yes iffe: test: is sinhl a library function ... yes iffe: test: is sqrt a library function ... yes iffe: test: is sqrtl a library function ... yes iffe: test: is tan a library function ... yes iffe: test: is tanl a library function ... yes iffe: test: is tanh a library function ... yes iffe: test: is tanhl a library function ... yes iffe: test: is tgamma a library function ... yes iffe: test: is tgammal a library function ... yes iffe: test: is trunc a library function ... yes iffe: test: is truncl a library function ... yes iffe: test: is y0 a library function ... yes iffe: test: is y0l a library function ... no iffe: test: is y1 a library function ... yes iffe: test: is y1l a library function ... no iffe: test: is yn a library function ... yes iffe: test: is ynl a library function ... no iffe: test: is sys/types.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is acosl a library data symbol ... yes iffe: test: is acoshl a library data symbol ... yes iffe: test: is asinl a library data symbol ... yes iffe: test: is asinhl a library data symbol ... yes iffe: test: is atanl a library data symbol ... yes iffe: test: is atan2l a library data symbol ... yes iffe: test: is atanhl a library data symbol ... yes iffe: test: is cbrtl a library data symbol ... yes iffe: test: is ceill a library data symbol ... yes iffe: test: is copysignl a library data symbol ... yes iffe: test: is cosl a library data symbol ... yes iffe: test: is coshl a library data symbol ... yes iffe: test: is erfl a library data symbol ... yes iffe: test: is erfcl a library data symbol ... yes iffe: test: is expl a library data symbol ... yes iffe: test: is exp2l a library data symbol ... yes iffe: test: is expm1l a library data symbol ... yes iffe: test: is fabsl a library data symbol ... yes iffe: test: is fdiml a library data symbol ... yes iffe: test: is finite a library data symbol ... yes iffe: test: is floorl a library data symbol ... yes iffe: test: is fmal a library data symbol ... yes iffe: test: is fmaxl a library data symbol ... yes iffe: test: is fminl a library data symbol ... yes iffe: test: is fmodl a library data symbol ... yes iffe: test: is fpclassify a library data symbol ... no iffe: test: is hypotl a library data symbol ... yes iffe: test: is ilogbl a library data symbol ... yes iffe: test: is isfinite a library data symbol ... no iffe: test: is isgreater a library data symbol ... no iffe: test: is isgreaterequal a library data symbol ... no iffe: test: is isinf a library data symbol ... no iffe: test: is isless a library data symbol ... no iffe: test: is islessequal a library data symbol ... no iffe: test: is islessgreater a library data symbol ... no iffe: test: is isnan a library data symbol ... no iffe: test: is isnormal a library data symbol ... no iffe: test: is isunordered a library data symbol ... no iffe: test: is j0 a library data symbol ... yes iffe: test: is j1 a library data symbol ... yes iffe: test: is jn a library data symbol ... yes iffe: test: is ldexpl a library data symbol ... yes iffe: test: is lgammal a library data symbol ... yes iffe: test: is logl a library data symbol ... yes iffe: test: is log10l a library data symbol ... yes iffe: test: is log1pl a library data symbol ... yes iffe: test: is log2l a library data symbol ... yes iffe: test: is logbl a library data symbol ... yes iffe: test: is nearbyintl a library data symbol ... yes iffe: test: is nextafterl a library data symbol ... yes iffe: test: is nexttowardl a library data symbol ... yes iffe: test: is powl a library data symbol ... yes iffe: test: is remainderl a library data symbol ... yes iffe: test: is rintl a library data symbol ... yes iffe: test: is roundl a library data symbol ... yes iffe: test: is scalb a library data symbol ... yes iffe: test: is scalbnl a library data symbol ... yes iffe: test: is signbit a library data symbol ... no iffe: test: is sinl a library data symbol ... yes iffe: test: is sinhl a library data symbol ... yes iffe: test: is sqrtl a library data symbol ... yes iffe: test: is tanl a library data symbol ... yes iffe: test: is tanhl a library data symbol ... yes iffe: test: is tgammal a library data symbol ... yes iffe: test: is truncl a library data symbol ... yes iffe: test: is y0 a library data symbol ... yes iffe: test: is y1 a library data symbol ... yes iffe: test: is yn a library data symbol ... yes iffe: test: is acosl a symbol that needs a prototype ... yes iffe: test: is acoshl a symbol that needs a prototype ... no iffe: test: is asinl a symbol that needs a prototype ... yes iffe: test: is asinhl a symbol that needs a prototype ... no iffe: test: is atanl a symbol that needs a prototype ... yes iffe: test: is atan2l a symbol that needs a prototype ... yes iffe: test: is atanhl a symbol that needs a prototype ... no iffe: test: is cbrtl a symbol that needs a prototype ... no iffe: test: is ceill a symbol that needs a prototype ... yes iffe: test: is copysignl a symbol that needs a prototype ... no iffe: test: is cosl a symbol that needs a prototype ... yes iffe: test: is coshl a symbol that needs a prototype ... no iffe: test: is erfl a symbol that needs a prototype ... no iffe: test: is erfcl a symbol that needs a prototype ... no iffe: test: is expl a symbol that needs a prototype ... yes iffe: test: is exp2l a symbol that needs a prototype ... no iffe: test: is expm1l a symbol that needs a prototype ... no iffe: test: is fabsl a symbol that needs a prototype ... yes iffe: test: is fdiml a symbol that needs a prototype ... no iffe: test: is finite a symbol that needs a prototype ... no iffe: test: is floorl a symbol that needs a prototype ... yes iffe: test: is fmal a symbol that needs a prototype ... yes iffe: test: is fmaxl a symbol that needs a prototype ... no iffe: test: is fminl a symbol that needs a prototype ... no iffe: test: is fmodl a symbol that needs a prototype ... no iffe: test: is fpclassify a symbol that needs a prototype ... no iffe: test: is hypotl a symbol that needs a prototype ... no iffe: test: is ilogbl a symbol that needs a prototype ... no iffe: test: is isfinite a symbol that needs a prototype ... no iffe: test: is isgreater a symbol that needs a prototype ... no iffe: test: is isgreaterequal a symbol that needs a prototype ... no iffe: test: is isinf a symbol that needs a prototype ... no iffe: test: is isless a symbol that needs a prototype ... no iffe: test: is islessequal a symbol that needs a prototype ... no iffe: test: is islessgreater a symbol that needs a prototype ... no iffe: test: is isnan a symbol that needs a prototype ... no iffe: test: is isnormal a symbol that needs a prototype ... no iffe: test: is isunordered a symbol that needs a prototype ... no iffe: test: is j0 a symbol that needs a prototype ... no iffe: test: is j1 a symbol that needs a prototype ... no iffe: test: is jn a symbol that needs a prototype ... no iffe: test: is ldexpl a symbol that needs a prototype ... no iffe: test: is lgammal a symbol that needs a prototype ... no iffe: test: is logl a symbol that needs a prototype ... yes iffe: test: is log10l a symbol that needs a prototype ... no iffe: test: is log1pl a symbol that needs a prototype ... no iffe: test: is log2l a symbol that needs a prototype ... no iffe: test: is logbl a symbol that needs a prototype ... no iffe: test: is nearbyintl a symbol that needs a prototype ... no iffe: test: is nextafterl a symbol that needs a prototype ... no iffe: test: is nexttowardl a symbol that needs a prototype ... no iffe: test: is powl a symbol that needs a prototype ... yes iffe: test: is remainderl a symbol that needs a prototype ... no iffe: test: is rintl a symbol that needs a prototype ... no iffe: test: is roundl a symbol that needs a prototype ... yes iffe: test: is scalb a symbol that needs a prototype ... no iffe: test: is scalbnl a symbol that needs a prototype ... no iffe: test: is signbit a symbol that needs a prototype ... no iffe: test: is sinl a symbol that needs a prototype ... yes iffe: test: is sinhl a symbol that needs a prototype ... no iffe: test: is sqrtl a symbol that needs a prototype ... yes iffe: test: is tanl a symbol that needs a prototype ... yes iffe: test: is tanhl a symbol that needs a prototype ... no iffe: test: is tgammal a symbol that needs a prototype ... no iffe: test: is truncl a symbol that needs a prototype ... no iffe: test: is y0 a symbol that needs a prototype ... no iffe: test: is y1 a symbol that needs a prototype ... no iffe: test: is yn a symbol that needs a prototype ... no iffe: test: is acosl a macro ... no iffe: test: is acoshl a macro ... no iffe: test: is asinl a macro ... no iffe: test: is asinhl a macro ... no iffe: test: is atanl a macro ... no iffe: test: is atan2l a macro ... no iffe: test: is atanhl a macro ... no iffe: test: is cbrtl a macro ... no iffe: test: is ceill a macro ... no iffe: test: is copysignl a macro ... no iffe: test: is cosl a macro ... no iffe: test: is coshl a macro ... no iffe: test: is erfl a macro ... no iffe: test: is erfcl a macro ... no iffe: test: is expl a macro ... no iffe: test: is exp2l a macro ... no iffe: test: is expm1l a macro ... no iffe: test: is fabsl a macro ... no iffe: test: is fdiml a macro ... no iffe: test: is finite a macro ... no iffe: test: is floorl a macro ... no iffe: test: is fmal a macro ... no iffe: test: is fmaxl a macro ... no iffe: test: is fminl a macro ... no iffe: test: is fmodl a macro ... no iffe: test: is fpclassify a macro ... yes iffe: test: is hypotl a macro ... no iffe: test: is ilogbl a macro ... no iffe: test: is isfinite a macro ... yes iffe: test: is isgreater a macro ... yes iffe: test: is isgreaterequal a macro ... yes iffe: test: is isinf a macro ... yes iffe: test: is isless a macro ... yes iffe: test: is islessequal a macro ... yes iffe: test: is islessgreater a macro ... yes iffe: test: is isnan a macro ... yes iffe: test: is isnormal a macro ... yes iffe: test: is isunordered a macro ... yes iffe: test: is j0 a macro ... no iffe: test: is j1 a macro ... no iffe: test: is jn a macro ... no iffe: test: is ldexpl a macro ... no iffe: test: is lgammal a macro ... no iffe: test: is logl a macro ... no iffe: test: is log10l a macro ... no iffe: test: is log1pl a macro ... no iffe: test: is log2l a macro ... no iffe: test: is logbl a macro ... no iffe: test: is nearbyintl a macro ... no iffe: test: is nextafterl a macro ... no iffe: test: is nexttowardl a macro ... no iffe: test: is powl a macro ... no iffe: test: is remainderl a macro ... no iffe: test: is rintl a macro ... no iffe: test: is roundl a macro ... no iffe: test: is scalb a macro ... no iffe: test: is scalbnl a macro ... no iffe: test: is signbit a macro ... yes iffe: test: is sinl a macro ... no iffe: test: is sinhl a macro ... no iffe: test: is sqrtl a macro ... no iffe: test: is tanl a macro ... no iffe: test: is tanhl a macro ... no iffe: test: is tgammal a macro ... no iffe: test: is truncl a macro ... no iffe: test: is y0 a macro ... no iffe: test: is y1 a macro ... no iffe: test: is yn a macro ... no iffe: test: is sys/types.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is FP_SUBNORMAL a numeric constant or enum ... yes iffe: test: is FP_ZERO a numeric constant or enum ... yes iffe: test: is FP_NZERO a numeric constant or enum ... no iffe: test: is FP_PZERO a numeric constant or enum ... no iffe: test: capture output of /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/features/math.sh ... yes + cc -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/strdata.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast '-DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"' -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/testops.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_NAMESPACE -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_KIA -D_API_ast=20100309 -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/keywords.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/options.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/signals.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/aliases.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_TYPEDEF -DSHOPT_KIA -DSHOPT_PFSH '-DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"' -DSHOPT_BRACEPAT -DSHOPT_HISTEXPAND -DSHOPT_COSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_BGX -DSHOPT_MULTIBYTE -D_BLD_shell -DSHOPT_DYNAMIC -DKSHELL -DSHOPT_FIXEDARRAY -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/builtins.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_STATS -DSHOPT_MULTIBYTE -D_BLD_shell -DSHOPT_DYNAMIC -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/variables.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_BRACEPAT -DSHOPT_TYPEDEF -DSHOPT_NAMESPACE -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_PFSH -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/data/lexstates.c + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DSHOPT_HISTEXPAND -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:387:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *kptr++) ~~^~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:387:14: note: place parentheses around the assignment to silence this warning while (i = *kptr++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:387:14: note: use '==' to turn this assignment into an equality comparison while (i = *kptr++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:767:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c= *sp++) ~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:767:10: note: place parentheses around the assignment to silence this warning while (c= *sp++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:767:10: note: use '==' to turn this assignment into an equality comparison while (c= *sp++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:1146:2: warning: expression result unused [-Wunused-value] NOT_USED(count); ^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:22: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:1146:2: warning: expression result unused [-Wunused-value] NOT_USED(count); ^~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h:41:25: note: expanded from macro 'NOT_USED' #define NOT_USED(x) (&x,1) ^ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:1286:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if(ep->prevdirection == -2 && i!=2 || direction!=1) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:1286:29: note: place parentheses around the '&&' expression to silence this warning if(ep->prevdirection == -2 && i!=2 || direction!=1) ^ ( ) 5 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_EDPREDICT -DSHOPT_RAWONLY -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_HISTEXPAND -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_PFSH -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:741:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( c=ed_getchar(vp->ed,-1) ) ~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:741:10: note: place parentheses around the assignment to silence this warning while( c=ed_getchar(vp->ed,-1) ) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:741:10: note: use '==' to turn this assignment into an equality comparison while( c=ed_getchar(vp->ed,-1) ) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:823:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *p++) ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:823:12: note: place parentheses around the assignment to silence this warning while(c = *p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:823:12: note: use '==' to turn this assignment into an equality comparison while(c = *p++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2087:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || (increment && (cur_window==w_size-1) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2087:17: note: place parentheses around the '&&' expression to silence this warning || (increment && (cur_window==w_size-1) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2493:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(i = *p++); ~~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2493:12: note: place parentheses around the assignment to silence this warning while(i = *p++); ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2493:12: note: use '==' to turn this assignment into an equality comparison while(i = *p++); ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2616:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *p++) ~^~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2616:11: note: place parentheses around the assignment to silence this warning while(c= *p++) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2616:11: note: use '==' to turn this assignment into an equality comparison while(c= *p++) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2704:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( islower(c) ) ^ 6 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -D_BLD_shell -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(off = staktell()) ~~~~^~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:182:9: note: place parentheses around the assignment to silence this warning if(off = staktell()) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:182:9: note: use '==' to turn this assignment into an equality comparison if(off = staktell()) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:544:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cc = strchr(modifiers, c)) ~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:544:10: note: place parentheses around the assignment to silence this warning if(cc = strchr(modifiers, c)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:544:10: note: use '==' to turn this assignment into an equality comparison if(cc = strchr(modifiers, c)) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:613:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cc = strstr(str, sb.str[0])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:613:12: note: place parentheses around the assignment to silence this warning if(cc = strstr(str, sb.str[0])) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:613:12: note: use '==' to turn this assignment into an equality comparison if(cc = strstr(str, sb.str[0])) ^ == 3 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DSHOPT_BRACEPAT '-DSH_DICT="libshell"' -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE '-DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"' -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:79:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(n = optget(argv, usage )) switch(n) ~~^~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:79:10: note: place parentheses around the assignment to silence this warning while(n = optget(argv, usage )) switch(n) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:79:10: note: use '==' to turn this assignment into an equality comparison while(n = optget(argv, usage )) switch(n) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:103:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp= *argv) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:103:7: note: place parentheses around the assignment to silence this warning if(cp= *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:103:7: note: use '==' to turn this assignment into an equality comparison if(cp= *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:110:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp= *argv) ~~^~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:110:7: note: place parentheses around the assignment to silence this warning if(cp= *argv) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:110:7: note: use '==' to turn this assignment into an equality comparison if(cp= *argv) ^ == /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:138:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(t = (Shnode_t*)sh_parse(shp,in,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:138:8: note: place parentheses around the assignment to silence this warning if(t = (Shnode_t*)sh_parse(shp,in,0)) ^ ( ) /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:138:8: note: use '==' to turn this assignment into an equality comparison if(t = (Shnode_t*)sh_parse(shp,in,0)) ^ == 4 warnings generated. + cc -O -I. -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include -I/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast -DERROR_CONTEXT_T=Error_context_t -D_API_ast=20100309 -D_PACKAGE_ast -c /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c + cc -O -L. -L/Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib -o suid_exec suid_exec.o -last -liconv -last -liconv ld: warning: option -m is obsolete and being ignored ld: library not found for -last clang: error: linker command failed with exit code 1 (use -v to see invocation) mamake [cmd/ksh93]: *** exit code 1 making suid_exec + test '' = sh.1 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh.1 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man1/sh.1 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man1/sh.1 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man1/sh.1.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/sh.1 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man1/sh.1 + test '' = shell.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/shell.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/shell.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/shell.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/shell.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/shell.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/shell.3 + test '' = nval.3 + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/nval.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/nval.3 + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/nval.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/nval.3.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/nval.3 /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/man/man3/nval.3 + test '' = shell.req + /usr/bin/cmp -s shell.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/shell + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/shell /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/shell.old + true + /bin/cp shell.req /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/lib/lib/shell + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1982,author=dgk' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/nval.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/nval.h 1.66690.x + mv 1.66690.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/nval.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1982,author=dgk' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/shell.h 1.66694.x + mv 1.66694.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/shell.h + proto -p -s -l /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/lib/package/ast.lic '-o since=1982,author=dgk' /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/include/history.h + cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/history.h 1.66698.x + mv 1.66698.x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/include/ast/history.h + test '' = fun/dirs + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/fun/dirs /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/dirs + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/dirs /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/dirs.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/fun/dirs /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/dirs + chmod ugo+x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/dirs + test '' = fun/popd + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/fun/popd /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/popd + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/popd /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/popd.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/fun/popd /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/popd + chmod ugo+x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/popd + test '' = fun/pushd + /usr/bin/cmp -s /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/fun/pushd /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/pushd + /bin/mv /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/pushd /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/pushd.old + true + /bin/cp /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/src/cmd/ksh93/fun/pushd /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/pushd + chmod ugo+x /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386/fun/pushd mamake: *** exit code 1 making cmd/ksh93 package: make done at Thu Nov 1 12:49:22 CET 2012 in /Users/kristerw/pbulk/scratch/shells/ast-ksh/work/arch/darwin.i386 => Unwrapping files-to-be-installed.