=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/shells/ast-ksh", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ast-ksh-20120801nb2 package: update /var/tmp/work/shells/ast-ksh/work/bin/execrate ./bin/package: line 14: 68068 Segmentation fault: 11 $1 -c '(( .sh.version >= 20111111 ))' > /dev/null 2>&1 package: initialize the /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64 view package: update /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/cc package: update /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ldd package: update /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/make/probe package: update /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mamake /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 383 | if (buf = state.old) | ~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: place parentheses around the assignment to silence this warning 383 | if (buf = state.old) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: use '==' to turn this assignment into an equality comparison 383 | if (buf = state.old) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | } while (item = right); | ~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: place parentheses around the assignment to silence this warning 583 | } while (item = right); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: use '==' to turn this assignment into an equality comparison 583 | } while (item = right); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 674 | if (c = *t) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: place parentheses around the assignment to silence this warning 674 | if (c = *t) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: use '==' to turn this assignment into an equality comparison 674 | if (c = *t) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 783 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: place parentheses around the assignment to silence this warning 783 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: use '==' to turn this assignment into an equality comparison 783 | while (c = *s++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 966 | if (s = status(buf, 0, file, st)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: place parentheses around the assignment to silence this warning 966 | if (s = status(buf, 0, file, st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: use '==' to turn this assignment into an equality comparison 966 | if (s = status(buf, 0, file, st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 971 | if (vp = state.view) | ~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: place parentheses around the assignment to silence this warning 971 | if (vp = state.view) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: use '==' to turn this assignment into an equality comparison 971 | if (vp = state.view) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 984 | } while (vp = vp->next); | ~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: place parentheses around the assignment to silence this warning 984 | } while (vp = vp->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: use '==' to turn this assignment into an equality comparison 984 | } while (vp = vp->next); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1006 | if (s = status(buf, o, s, st)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: place parentheses around the assignment to silence this warning 1006 | if (s = status(buf, o, s, st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: use '==' to turn this assignment into an equality comparison 1006 | if (s = status(buf, o, s, st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1011 | } while (vp = vp->next); | ~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: place parentheses around the assignment to silence this warning 1011 | } while (vp = vp->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: use '==' to turn this assignment into an equality comparison 1011 | } while (vp = vp->next); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1028 | if (s = find(buf, r->name, &st)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: place parentheses around the assignment to silence this warning 1028 | if (s = find(buf, r->name, &st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: use '==' to turn this assignment into an equality comparison 1028 | if (s = find(buf, r->name, &st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1078 | if (state.sp->fp = fp) | ~~~~~~~~~~~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: place parentheses around the assignment to silence this warning 1078 | if (state.sp->fp = fp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: use '==' to turn this assignment into an equality comparison 1078 | if (state.sp->fp = fp) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1091 | if (path = find(buf, file, &st)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: place parentheses around the assignment to silence this warning 1091 | if (path = find(buf, file, &st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: use '==' to turn this assignment into an equality comparison 1091 | if (path = find(buf, file, &st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1150 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: place parentheses around the assignment to silence this warning 1150 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: use '==' to turn this assignment into an equality comparison 1150 | while (c = *s++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1236 | while (v = v->next) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: place parentheses around the assignment to silence this warning 1236 | while (v = v->next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: use '==' to turn this assignment into an equality comparison 1236 | while (v = v->next) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1251 | } while (*s = c); | ~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: place parentheses around the assignment to silence this warning 1251 | } while (*s = c); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: use '==' to turn this assignment into an equality comparison 1251 | } while (*s = c); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1261 | if (c = execute(s)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: place parentheses around the assignment to silence this warning 1261 | if (c = execute(s)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: use '==' to turn this assignment into an equality comparison 1261 | if (c = execute(s)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1456 | if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: place parentheses around the assignment to silence this warning 1456 | if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: use '==' to turn this assignment into an equality comparison 1456 | if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1459 | if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: place parentheses around the assignment to silence this warning 1459 | if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: use '==' to turn this assignment into an equality comparison 1459 | if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1473 | if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: place parentheses around the assignment to silence this warning 1473 | if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: use '==' to turn this assignment into an equality comparison 1473 | if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1476 | if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: place parentheses around the assignment to silence this warning 1476 | if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: use '==' to turn this assignment into an equality comparison 1476 | if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1573 | while (s = input()) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: place parentheses around the assignment to silence this warning 1573 | while (s = input()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: use '==' to turn this assignment into an equality comparison 1573 | while (s = input()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1742 | if (s = last(name, '/')) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: place parentheses around the assignment to silence this warning 1742 | if (s = last(name, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: use '==' to turn this assignment into an equality comparison 1742 | if (s = last(name, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1829 | while (s = input()) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: place parentheses around the assignment to silence this warning 1829 | while (s = input()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: use '==' to turn this assignment into an equality comparison 1829 | while (s = input()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2024 | while (s = input()) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: place parentheses around the assignment to silence this warning 2024 | while (s = input()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: use '==' to turn this assignment into an equality comparison 2024 | while (s = input()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2032 | if (t = last(r->name, '/')) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: place parentheses around the assignment to silence this warning 2032 | if (t = last(r->name, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: use '==' to turn this assignment into an equality comparison 2032 | if (t = last(r->name, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2285 | for (e = environ; s = *e; e++) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: place parentheses around the assignment to silence this warning 2285 | for (e = environ; s = *e; e++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: use '==' to turn this assignment into an equality comparison 2285 | for (e = environ; s = *e; e++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2299 | while (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: place parentheses around the assignment to silence this warning 2299 | while (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: use '==' to turn this assignment into an equality comparison 2299 | while (s = *argv++) | ^ | == 27 warnings generated. ld: warning: -m is obsolete package: update /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/proto ../../lib/libpp/ppfsm.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 650 | while (c = *s++) | ~~^~~~~~ ../../lib/libpp/ppfsm.c:650:14: note: place parentheses around the assignment to silence this warning 650 | while (c = *s++) | ^ | ( ) ../../lib/libpp/ppfsm.c:650:14: note: use '==' to turn this assignment into an equality comparison 650 | while (c = *s++) | ^ | == ../../lib/libpp/ppfsm.c:664:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 664 | while (c = *s++) | ~~^~~~~~ ../../lib/libpp/ppfsm.c:664:13: note: place parentheses around the assignment to silence this warning 664 | while (c = *s++) | ^ | ( ) ../../lib/libpp/ppfsm.c:664:13: note: use '==' to turn this assignment into an equality comparison 664 | while (c = *s++) | ^ | == ../../lib/libpp/ppproto.c:260:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 260 | while (*s++ = *t++); | ~~~~~^~~~~~ ../../lib/libpp/ppproto.c:260:14: note: place parentheses around the assignment to silence this warning 260 | while (*s++ = *t++); | ^ | ( ) ../../lib/libpp/ppproto.c:260:14: note: use '==' to turn this assignment into an equality comparison 260 | while (*s++ = *t++); | ^ | == ../../lib/libast/port/astlicense.c:210:52: warning: left operand of comma operator has no effect [-Wunused-value] 210 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *s++)):(( *s++),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:237:98: warning: left operand of comma operator has no effect [-Wunused-value] 237 | ((( 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: left operand of comma operator has no effect [-Wunused-value] 239 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); | ^~ ../../lib/libast/port/astlicense.c:240:98: warning: left operand of comma operator has no effect [-Wunused-value] 240 | ((( 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: left operand of comma operator has no effect [-Wunused-value] 249 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); | ^~ ../../lib/libast/port/astlicense.c:254:52: warning: left operand of comma operator has no effect [-Wunused-value] 254 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:260:50: warning: left operand of comma operator has no effect [-Wunused-value] 260 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( i)):(( i),(-1))); | ^ ../../lib/libast/port/astlicense.c:263:52: warning: left operand of comma operator has no effect [-Wunused-value] 263 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:264:50: warning: left operand of comma operator has no effect [-Wunused-value] 264 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); | ^~ ../../lib/libast/port/astlicense.c:266:51: warning: left operand of comma operator has no effect [-Wunused-value] 266 | ((( 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] 285 | if (t = item->data) | ~~^~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:285:8: note: place parentheses around the assignment to silence this warning 285 | if (t = item->data) | ^ | ( ) ../../lib/libast/port/astlicense.c:285:8: note: use '==' to turn this assignment into an equality comparison 285 | if (t = item->data) | ^ | == ../../lib/libast/port/astlicense.c:316:54: warning: left operand of comma operator has no effect [-Wunused-value] 316 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( c)):(( c),(-1))); | ^ ../../lib/libast/port/astlicense.c:342:54: warning: left operand of comma operator has no effect [-Wunused-value] 342 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *t++)):(( *t++),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:373:51: warning: left operand of comma operator has no effect [-Wunused-value] 373 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '-')):(( '-'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:378:51: warning: left operand of comma operator has no effect [-Wunused-value] 378 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:383:51: warning: left operand of comma operator has no effect [-Wunused-value] 383 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:387:52: warning: left operand of comma operator has no effect [-Wunused-value] 387 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:393:51: warning: left operand of comma operator has no effect [-Wunused-value] 393 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:440:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 440 | while (*t++ = *s++); | ~~~~~^~~~~~ ../../lib/libast/port/astlicense.c:440:18: note: place parentheses around the assignment to silence this warning 440 | while (*t++ = *s++); | ^ | ( ) ../../lib/libast/port/astlicense.c:440:18: note: use '==' to turn this assignment into an equality comparison 440 | while (*t++ = *s++); | ^ | == ../../lib/libast/port/astlicense.c:418:55: warning: left operand of comma operator has no effect [-Wunused-value] 418 | ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); | ^ ../../lib/libast/port/astlicense.c:447:56: warning: left operand of comma operator has no effect [-Wunused-value] 447 | ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); | ^ ../../lib/libast/port/astlicense.c:457:55: warning: left operand of comma operator has no effect [-Wunused-value] 457 | ((( 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] 534 | while (c = *s) | ~~^~~~ ../../lib/libast/port/astlicense.c:534:12: note: place parentheses around the assignment to silence this warning 534 | while (c = *s) | ^ | ( ) ../../lib/libast/port/astlicense.c:534:12: note: use '==' to turn this assignment into an equality comparison 534 | while (c = *s) | ^ | == ../../lib/libast/port/astlicense.c:1147:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1147 | if (v = notice.item[12].data) | ~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1147:9: note: place parentheses around the assignment to silence this warning 1147 | if (v = notice.item[12].data) | ^ | ( ) ../../lib/libast/port/astlicense.c:1147:9: note: use '==' to turn this assignment into an equality comparison 1147 | if (v = notice.item[12].data) | ^ | == ../../lib/libast/port/astlicense.c:1192:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1192 | if (v = notice.item[0].data) | ~~^~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1192:8: note: place parentheses around the assignment to silence this warning 1192 | if (v = notice.item[0].data) | ^ | ( ) ../../lib/libast/port/astlicense.c:1192:8: note: use '==' to turn this assignment into an equality comparison 1192 | if (v = notice.item[0].data) | ^ | == ../../lib/libast/port/astlicense.c:677:66: warning: left operand of comma operator has no effect [-Wunused-value] 677 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '=')):(( '='),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:687:68: warning: left operand of comma operator has no effect [-Wunused-value] 687 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:690:68: warning: left operand of comma operator has no effect [-Wunused-value] 690 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:691:67: warning: left operand of comma operator has no effect [-Wunused-value] 691 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:705:65: warning: left operand of comma operator has no effect [-Wunused-value] 705 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:762:60: warning: left operand of comma operator has no effect [-Wunused-value] 762 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( 0)):(( 0),(-1))); | ^ ../../lib/libast/port/astlicense.c:909:62: warning: left operand of comma operator has no effect [-Wunused-value] 909 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1075:65: warning: left operand of comma operator has no effect [-Wunused-value] 1075 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1109:64: warning: left operand of comma operator has no effect [-Wunused-value] 1109 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1179:63: warning: left operand of comma operator has no effect [-Wunused-value] 1179 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1219:64: warning: left operand of comma operator has no effect [-Wunused-value] 1219 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1243:63: warning: left operand of comma operator has no effect [-Wunused-value] 1243 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1265:60: warning: left operand of comma operator has no effect [-Wunused-value] 1265 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1270:61: warning: left operand of comma operator has no effect [-Wunused-value] 1270 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1272:61: warning: left operand of comma operator has no effect [-Wunused-value] 1272 | ((( &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] 590 | 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 590 | 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 590 | if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) | ^ | == ../../lib/libpp/ppproto.c:814:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 814 | while (*op = *ip++) | ~~~~^~~~~~~ ../../lib/libpp/ppproto.c:814:17: note: place parentheses around the assignment to silence this warning 814 | while (*op = *ip++) | ^ | ( ) ../../lib/libpp/ppproto.c:814:17: note: use '==' to turn this assignment into an equality comparison 814 | while (*op = *ip++) | ^ | == ../../lib/libpp/ppproto.c:1099:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1099 | 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] 1369 | if (x = !e) e = op - 1; | ~~^~~~ ../../lib/libpp/ppproto.c:1369:11: note: place parentheses around the assignment to silence this warning 1369 | if (x = !e) e = op - 1; | ^ | ( ) ../../lib/libpp/ppproto.c:1369:11: note: use '==' to turn this assignment into an equality comparison 1369 | if (x = !e) e = op - 1; | ^ | == ../../lib/libpp/ppproto.c:2359:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 2359 | proto->op = strcopy(proto->op, "\n%{\n"+ !notice); | ~~~~~~~~^~~~~~~~~ ../../lib/libpp/ppproto.c:2359:44: note: use array indexing to silence this warning 2359 | proto->op = strcopy(proto->op, "\n%{\n"+ !notice); | ^ | & [ ] proto.c:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 287 | 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 287 | 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 287 | 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] 700 | 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 700 | 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 700 | do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); | ^ | == 50 warnings generated. ld: warning: -m is obsolete package: update /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ratz ratz.c:972:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | voidpf zcalloc (opaque, items, size) | ^ ratz.c:982:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | void zcfree (opaque, ptr) | ^ ratz.c:1073:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | unsigned long ZEXPORT crc32(crc, buf, len) | ^ ratz.c:1161:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | uLong ZEXPORT adler32(adler, buf, len) | ^ ratz.c:1705:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | int inflate_table(type, lens, codes, table, bits, work) | ^ ratz.c:2064:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | void inflate_fast(strm, start) | ^ ratz.c:2329:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | int ZEXPORT inflateReset(strm) | ^ ratz.c:2354:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | int ZEXPORT inflatePrime(strm, bits, value) | ^ ratz.c:2370:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size) | ^ ratz.c:2413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | int ZEXPORT inflateInit_(strm, version, stream_size) | ^ ratz.c:2431:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | local void fixedtables(state) | ^ ratz.c:2542:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2542 | local int updatewindow(strm, out) | ^ ratz.c:2773:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2773 | int ZEXPORT inflate(strm, flush) | ^ ratz.c:3374:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3374 | int ZEXPORT inflateEnd(strm) | ^ ratz.c:3388:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3388 | int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength) | ^ ratz.c:3430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3430 | int ZEXPORT inflateGetHeader(strm, head) | ^ ratz.c:3460:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3460 | local unsigned syncsearch(have, buf, len) | ^ ratz.c:3483:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3483 | int ZEXPORT inflateSync(strm) | ^ ratz.c:3534:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3534 | int ZEXPORT inflateSyncPoint(strm) | ^ ratz.c:3544:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3544 | int ZEXPORT inflateCopy(dest, source) | ^ ratz.c:3675:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3675 | local gzFile gz_open (path, mode, fp) | ^ ratz.c:3808:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3808 | gzFile ZEXPORT gzfopen (fp, mode) | ^ ratz.c:3827:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | local int get_byte(s) | ^ ratz.c:3854:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3854 | local void check_header(s) | ^ ratz.c:3937:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3937 | local int destroy (s) | ^ ratz.c:3980:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3980 | int ZEXPORT gzread (file, buf, len) | ^ ratz.c:4105:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4105 | local uLong getLong (s) | ^ ratz.c:4404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4404 | block(fp, gz, buf) | ^ ratz.c:4421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4421 | skip(fp, gz, buf, n) | ^ ratz.c:4442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4442 | number(s) | ^ ratz.c:4727:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4727 | if (s = *argv) | ~~^~~~~~~ ratz.c:4727:8: note: place parentheses around the assignment to silence this warning 4727 | if (s = *argv) | ^ | ( ) ratz.c:4727:8: note: use '==' to turn this assignment into an equality comparison 4727 | if (s = *argv) | ^ | == ratz.c:4685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4685 | main(argc, argv) | ^ 32 warnings generated. ld: warning: -m is obsolete package: update /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/release release.c:386:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 386 | while (s = fgets(buf, sizeof(buf), f)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ release.c:386:12: note: place parentheses around the assignment to silence this warning 386 | while (s = fgets(buf, sizeof(buf), f)) | ^ | ( ) release.c:386:12: note: use '==' to turn this assignment into an equality comparison 386 | while (s = fgets(buf, sizeof(buf), f)) | ^ | == release.c:388:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 388 | if (t = date(s, &e)) | ~~^~~~~~~~~~~~~ release.c:388:10: note: place parentheses around the assignment to silence this warning 388 | if (t = date(s, &e)) | ^ | ( ) release.c:388:10: note: use '==' to turn this assignment into an equality comparison 388 | if (t = date(s, &e)) | ^ | == 2 warnings generated. ld: warning: -m is obsolete package: make with mamake package: make output captured in /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/package/gen/make.out package: make start at Tue Oct 27 12:18:04 UTC 2026 in /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64 CC=cc SHELL=/bin/sh HOSTTYPE=darwin.arm64-64 NPROC=10 PACKAGEROOT=/var/tmp/work/shells/ast-ksh/work INSTALLROOT=/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64 PATH=/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ok:/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin:/var/tmp/work/shells/ast-ksh/work/bin:/var/tmp/work/shells/ast-ksh/work/.cwrapper/bin:/var/tmp/work/shells/ast-ksh/work/.buildlink/bin:/var/tmp/work/shells/ast-ksh/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin + mamake -r '*/*' -k install LDFLAGS=-lm + mamake -C cmd/INIT -k LDFLAGS=-lm install probing C language processor /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/cc for mam information + case static,port:$OPTIND:$RANDOM in + case '' in + case 184 in ++ read x ++ echo '########################################################################' + i='########################################################################' + case $i in + cat - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 - /var/tmp/work/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 /var/tmp/work/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 /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 383 | if (buf = state.old) | ~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: place parentheses around the assignment to silence this warning 383 | if (buf = state.old) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:383:10: note: use '==' to turn this assignment into an equality comparison 383 | if (buf = state.old) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | } while (item = right); | ~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: place parentheses around the assignment to silence this warning 583 | } while (item = right); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:583:16: note: use '==' to turn this assignment into an equality comparison 583 | } while (item = right); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 674 | if (c = *t) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: place parentheses around the assignment to silence this warning 674 | if (c = *t) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:674:10: note: use '==' to turn this assignment into an equality comparison 674 | if (c = *t) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 783 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: place parentheses around the assignment to silence this warning 783 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:783:11: note: use '==' to turn this assignment into an equality comparison 783 | while (c = *s++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 966 | if (s = status(buf, 0, file, st)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: place parentheses around the assignment to silence this warning 966 | if (s = status(buf, 0, file, st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:966:8: note: use '==' to turn this assignment into an equality comparison 966 | if (s = status(buf, 0, file, st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 971 | if (vp = state.view) | ~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: place parentheses around the assignment to silence this warning 971 | if (vp = state.view) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:971:9: note: use '==' to turn this assignment into an equality comparison 971 | if (vp = state.view) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 984 | } while (vp = vp->next); | ~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: place parentheses around the assignment to silence this warning 984 | } while (vp = vp->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:984:16: note: use '==' to turn this assignment into an equality comparison 984 | } while (vp = vp->next); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1006 | if (s = status(buf, o, s, st)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: place parentheses around the assignment to silence this warning 1006 | if (s = status(buf, o, s, st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1006:11: note: use '==' to turn this assignment into an equality comparison 1006 | if (s = status(buf, o, s, st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1011 | } while (vp = vp->next); | ~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: place parentheses around the assignment to silence this warning 1011 | } while (vp = vp->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1011:16: note: use '==' to turn this assignment into an equality comparison 1011 | } while (vp = vp->next); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1028 | if (s = find(buf, r->name, &st)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: place parentheses around the assignment to silence this warning 1028 | if (s = find(buf, r->name, &st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1028:8: note: use '==' to turn this assignment into an equality comparison 1028 | if (s = find(buf, r->name, &st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1078 | if (state.sp->fp = fp) | ~~~~~~~~~~~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: place parentheses around the assignment to silence this warning 1078 | if (state.sp->fp = fp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1078:19: note: use '==' to turn this assignment into an equality comparison 1078 | if (state.sp->fp = fp) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1091 | if (path = find(buf, file, &st)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: place parentheses around the assignment to silence this warning 1091 | if (path = find(buf, file, &st)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1091:12: note: use '==' to turn this assignment into an equality comparison 1091 | if (path = find(buf, file, &st)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1150 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: place parentheses around the assignment to silence this warning 1150 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1150:11: note: use '==' to turn this assignment into an equality comparison 1150 | while (c = *s++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1236 | while (v = v->next) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: place parentheses around the assignment to silence this warning 1236 | while (v = v->next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1236:16: note: use '==' to turn this assignment into an equality comparison 1236 | while (v = v->next) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1251 | } while (*s = c); | ~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: place parentheses around the assignment to silence this warning 1251 | } while (*s = c); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1251:15: note: use '==' to turn this assignment into an equality comparison 1251 | } while (*s = c); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1261 | if (c = execute(s)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: place parentheses around the assignment to silence this warning 1261 | if (c = execute(s)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1261:9: note: use '==' to turn this assignment into an equality comparison 1261 | if (c = execute(s)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1456 | if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: place parentheses around the assignment to silence this warning 1456 | if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1456:10: note: use '==' to turn this assignment into an equality comparison 1456 | if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1459 | if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: place parentheses around the assignment to silence this warning 1459 | if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1459:10: note: use '==' to turn this assignment into an equality comparison 1459 | if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1473 | if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: place parentheses around the assignment to silence this warning 1473 | if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1473:11: note: use '==' to turn this assignment into an equality comparison 1473 | if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1476 | if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: place parentheses around the assignment to silence this warning 1476 | if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1476:11: note: use '==' to turn this assignment into an equality comparison 1476 | if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1573 | while (s = input()) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: place parentheses around the assignment to silence this warning 1573 | while (s = input()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1573:11: note: use '==' to turn this assignment into an equality comparison 1573 | while (s = input()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1742 | if (s = last(name, '/')) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: place parentheses around the assignment to silence this warning 1742 | if (s = last(name, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1742:8: note: use '==' to turn this assignment into an equality comparison 1742 | if (s = last(name, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1829 | while (s = input()) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: place parentheses around the assignment to silence this warning 1829 | while (s = input()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:1829:13: note: use '==' to turn this assignment into an equality comparison 1829 | while (s = input()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2024 | while (s = input()) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: place parentheses around the assignment to silence this warning 2024 | while (s = input()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2024:11: note: use '==' to turn this assignment into an equality comparison 2024 | while (s = input()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2032 | if (t = last(r->name, '/')) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: place parentheses around the assignment to silence this warning 2032 | if (t = last(r->name, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2032:10: note: use '==' to turn this assignment into an equality comparison 2032 | if (t = last(r->name, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2285 | for (e = environ; s = *e; e++) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: place parentheses around the assignment to silence this warning 2285 | for (e = environ; s = *e; e++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2285:22: note: use '==' to turn this assignment into an equality comparison 2285 | for (e = environ; s = *e; e++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2299 | while (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: place parentheses around the assignment to silence this warning 2299 | while (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mamake.c:2299:11: note: use '==' to turn this assignment into an equality comparison 2299 | while (s = *argv++) | ^ | == 27 warnings generated. + cc -O -lm -o mamake mamake.o ld: warning: -m is obsolete + cc -O -c /var/tmp/work/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] 650 | while (c = *s++) | ~~^~~~~~ ../../lib/libpp/ppfsm.c:650:14: note: place parentheses around the assignment to silence this warning 650 | while (c = *s++) | ^ | ( ) ../../lib/libpp/ppfsm.c:650:14: note: use '==' to turn this assignment into an equality comparison 650 | while (c = *s++) | ^ | == ../../lib/libpp/ppfsm.c:664:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 664 | while (c = *s++) | ~~^~~~~~ ../../lib/libpp/ppfsm.c:664:13: note: place parentheses around the assignment to silence this warning 664 | while (c = *s++) | ^ | ( ) ../../lib/libpp/ppfsm.c:664:13: note: use '==' to turn this assignment into an equality comparison 664 | while (c = *s++) | ^ | == ../../lib/libpp/ppproto.c:260:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 260 | while (*s++ = *t++); | ~~~~~^~~~~~ ../../lib/libpp/ppproto.c:260:14: note: place parentheses around the assignment to silence this warning 260 | while (*s++ = *t++); | ^ | ( ) ../../lib/libpp/ppproto.c:260:14: note: use '==' to turn this assignment into an equality comparison 260 | while (*s++ = *t++); | ^ | == ../../lib/libast/port/astlicense.c:210:52: warning: left operand of comma operator has no effect [-Wunused-value] 210 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *s++)):(( *s++),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:237:98: warning: left operand of comma operator has no effect [-Wunused-value] 237 | ((( 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: left operand of comma operator has no effect [-Wunused-value] 239 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); | ^~ ../../lib/libast/port/astlicense.c:240:98: warning: left operand of comma operator has no effect [-Wunused-value] 240 | ((( 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: left operand of comma operator has no effect [-Wunused-value] 249 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); | ^~ ../../lib/libast/port/astlicense.c:254:52: warning: left operand of comma operator has no effect [-Wunused-value] 254 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:260:50: warning: left operand of comma operator has no effect [-Wunused-value] 260 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( i)):(( i),(-1))); | ^ ../../lib/libast/port/astlicense.c:263:52: warning: left operand of comma operator has no effect [-Wunused-value] 263 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:264:50: warning: left operand of comma operator has no effect [-Wunused-value] 264 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); | ^~ ../../lib/libast/port/astlicense.c:266:51: warning: left operand of comma operator has no effect [-Wunused-value] 266 | ((( 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] 285 | if (t = item->data) | ~~^~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:285:8: note: place parentheses around the assignment to silence this warning 285 | if (t = item->data) | ^ | ( ) ../../lib/libast/port/astlicense.c:285:8: note: use '==' to turn this assignment into an equality comparison 285 | if (t = item->data) | ^ | == ../../lib/libast/port/astlicense.c:316:54: warning: left operand of comma operator has no effect [-Wunused-value] 316 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( c)):(( c),(-1))); | ^ ../../lib/libast/port/astlicense.c:342:54: warning: left operand of comma operator has no effect [-Wunused-value] 342 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *t++)):(( *t++),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:373:51: warning: left operand of comma operator has no effect [-Wunused-value] 373 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '-')):(( '-'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:378:51: warning: left operand of comma operator has no effect [-Wunused-value] 378 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:383:51: warning: left operand of comma operator has no effect [-Wunused-value] 383 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:387:52: warning: left operand of comma operator has no effect [-Wunused-value] 387 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:393:51: warning: left operand of comma operator has no effect [-Wunused-value] 393 | ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:440:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 440 | while (*t++ = *s++); | ~~~~~^~~~~~ ../../lib/libast/port/astlicense.c:440:18: note: place parentheses around the assignment to silence this warning 440 | while (*t++ = *s++); | ^ | ( ) ../../lib/libast/port/astlicense.c:440:18: note: use '==' to turn this assignment into an equality comparison 440 | while (*t++ = *s++); | ^ | == ../../lib/libast/port/astlicense.c:418:55: warning: left operand of comma operator has no effect [-Wunused-value] 418 | ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); | ^ ../../lib/libast/port/astlicense.c:447:56: warning: left operand of comma operator has no effect [-Wunused-value] 447 | ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); | ^ ../../lib/libast/port/astlicense.c:457:55: warning: left operand of comma operator has no effect [-Wunused-value] 457 | ((( 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] 534 | while (c = *s) | ~~^~~~ ../../lib/libast/port/astlicense.c:534:12: note: place parentheses around the assignment to silence this warning 534 | while (c = *s) | ^ | ( ) ../../lib/libast/port/astlicense.c:534:12: note: use '==' to turn this assignment into an equality comparison 534 | while (c = *s) | ^ | == ../../lib/libast/port/astlicense.c:1147:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1147 | if (v = notice.item[12].data) | ~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1147:9: note: place parentheses around the assignment to silence this warning 1147 | if (v = notice.item[12].data) | ^ | ( ) ../../lib/libast/port/astlicense.c:1147:9: note: use '==' to turn this assignment into an equality comparison 1147 | if (v = notice.item[12].data) | ^ | == ../../lib/libast/port/astlicense.c:1192:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1192 | if (v = notice.item[0].data) | ~~^~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1192:8: note: place parentheses around the assignment to silence this warning 1192 | if (v = notice.item[0].data) | ^ | ( ) ../../lib/libast/port/astlicense.c:1192:8: note: use '==' to turn this assignment into an equality comparison 1192 | if (v = notice.item[0].data) | ^ | == ../../lib/libast/port/astlicense.c:677:66: warning: left operand of comma operator has no effect [-Wunused-value] 677 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '=')):(( '='),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:687:68: warning: left operand of comma operator has no effect [-Wunused-value] 687 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:690:68: warning: left operand of comma operator has no effect [-Wunused-value] 690 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:691:67: warning: left operand of comma operator has no effect [-Wunused-value] 691 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:705:65: warning: left operand of comma operator has no effect [-Wunused-value] 705 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); | ^~~~ ../../lib/libast/port/astlicense.c:762:60: warning: left operand of comma operator has no effect [-Wunused-value] 762 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( 0)):(( 0),(-1))); | ^ ../../lib/libast/port/astlicense.c:909:62: warning: left operand of comma operator has no effect [-Wunused-value] 909 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1075:65: warning: left operand of comma operator has no effect [-Wunused-value] 1075 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1109:64: warning: left operand of comma operator has no effect [-Wunused-value] 1109 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1179:63: warning: left operand of comma operator has no effect [-Wunused-value] 1179 | ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1219:64: warning: left operand of comma operator has no effect [-Wunused-value] 1219 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1243:63: warning: left operand of comma operator has no effect [-Wunused-value] 1243 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1265:60: warning: left operand of comma operator has no effect [-Wunused-value] 1265 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1270:61: warning: left operand of comma operator has no effect [-Wunused-value] 1270 | ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); | ^~~ ../../lib/libast/port/astlicense.c:1272:61: warning: left operand of comma operator has no effect [-Wunused-value] 1272 | ((( &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] 590 | 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 590 | 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 590 | if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) | ^ | == ../../lib/libpp/ppproto.c:814:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 814 | while (*op = *ip++) | ~~~~^~~~~~~ ../../lib/libpp/ppproto.c:814:17: note: place parentheses around the assignment to silence this warning 814 | while (*op = *ip++) | ^ | ( ) ../../lib/libpp/ppproto.c:814:17: note: use '==' to turn this assignment into an equality comparison 814 | while (*op = *ip++) | ^ | == ../../lib/libpp/ppproto.c:1099:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1099 | 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] 1369 | if (x = !e) e = op - 1; | ~~^~~~ ../../lib/libpp/ppproto.c:1369:11: note: place parentheses around the assignment to silence this warning 1369 | if (x = !e) e = op - 1; | ^ | ( ) ../../lib/libpp/ppproto.c:1369:11: note: use '==' to turn this assignment into an equality comparison 1369 | if (x = !e) e = op - 1; | ^ | == ../../lib/libpp/ppproto.c:2359:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 2359 | proto->op = strcopy(proto->op, "\n%{\n"+ !notice); | ~~~~~~~~^~~~~~~~~ ../../lib/libpp/ppproto.c:2359:44: note: use array indexing to silence this warning 2359 | proto->op = strcopy(proto->op, "\n%{\n"+ !notice); | ^ | & [ ] proto.c:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 287 | 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 287 | 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 287 | 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] 700 | 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 700 | 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 700 | do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); | ^ | == 50 warnings generated. + cc -O -lm -o proto proto.o ld: warning: -m is obsolete + cc -O -c /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:972:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | voidpf zcalloc (opaque, items, size) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:982:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | void zcfree (opaque, ptr) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:1073:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | unsigned long ZEXPORT crc32(crc, buf, len) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:1161:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | uLong ZEXPORT adler32(adler, buf, len) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:1705:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | int inflate_table(type, lens, codes, table, bits, work) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2064:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | void inflate_fast(strm, start) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2329:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | int ZEXPORT inflateReset(strm) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2354:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | int ZEXPORT inflatePrime(strm, bits, value) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2370:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | int ZEXPORT inflateInit_(strm, version, stream_size) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2431:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | local void fixedtables(state) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2542:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2542 | local int updatewindow(strm, out) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:2773:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2773 | int ZEXPORT inflate(strm, flush) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3374:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3374 | int ZEXPORT inflateEnd(strm) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3388:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3388 | int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3430 | int ZEXPORT inflateGetHeader(strm, head) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3460:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3460 | local unsigned syncsearch(have, buf, len) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3483:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3483 | int ZEXPORT inflateSync(strm) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3534:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3534 | int ZEXPORT inflateSyncPoint(strm) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3544:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3544 | int ZEXPORT inflateCopy(dest, source) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3675:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3675 | local gzFile gz_open (path, mode, fp) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3808:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3808 | gzFile ZEXPORT gzfopen (fp, mode) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3827:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | local int get_byte(s) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3854:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3854 | local void check_header(s) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3937:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3937 | local int destroy (s) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:3980:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3980 | int ZEXPORT gzread (file, buf, len) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4105:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4105 | local uLong getLong (s) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4404 | block(fp, gz, buf) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4421 | skip(fp, gz, buf, n) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4442 | number(s) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4727:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4727 | if (s = *argv) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4727:8: note: place parentheses around the assignment to silence this warning 4727 | if (s = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4727:8: note: use '==' to turn this assignment into an equality comparison 4727 | if (s = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/ratz.c:4685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4685 | main(argc, argv) | ^ 32 warnings generated. + cc -O -lm -o ratz ratz.o ld: warning: -m is obsolete + 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 /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/release.c /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/release.c:330:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 330 | while (s = fgets(buf, sizeof(buf), f)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/release.c:330:12: note: place parentheses around the assignment to silence this warning 330 | while (s = fgets(buf, sizeof(buf), f)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/release.c:330:12: note: use '==' to turn this assignment into an equality comparison 330 | while (s = fgets(buf, sizeof(buf), f)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/release.c:332:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 332 | if (t = date(s, &e)) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/release.c:332:10: note: place parentheses around the assignment to silence this warning 332 | if (t = date(s, &e)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/release.c:332:10: note: use '==' to turn this assignment into an equality comparison 332 | if (t = date(s, &e)) | ^ | == 2 warnings generated. + cc -O -lm -o release release.o ld: warning: -m is obsolete + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/mprobe.sh mprobe + test -w mprobe -a -x mprobe + chmod u+w,+x mprobe + cat /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/C+probe /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/hurl + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/hurl /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/hurl.old + true + /bin/cp hurl /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/hurl + test '' = iffe + /usr/bin/cmp -s iffe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/iffe + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/iffe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/iffe.old + true + /bin/cp iffe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/iffe + test '' = mktest + /usr/bin/cmp -s mktest /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mktest + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mktest /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mktest.old + true + /bin/cp mktest /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mktest + test '' = package + /usr/bin/cmp -s package /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/package + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/package /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/package.old + true + /bin/cp package /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/package + test '' = regress + /usr/bin/cmp -s regress /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/regress + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/regress /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/regress.old + true + /bin/cp regress /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/regress + test '' = rt + /usr/bin/cmp -s rt /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/rt + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/rt /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/rt.old + true + /bin/cp rt /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/rt + test '' = execrate + /usr/bin/cmp -s execrate /var/tmp/work/shells/ast-ksh/work/bin/execrate + /bin/mv /var/tmp/work/shells/ast-ksh/work/bin/execrate /var/tmp/work/shells/ast-ksh/work/bin/execrate.old + /bin/cp execrate /var/tmp/work/shells/ast-ksh/work/bin/execrate + test '' = ignore + /usr/bin/cmp -s ignore /var/tmp/work/shells/ast-ksh/work/bin/ignore + /bin/mv /var/tmp/work/shells/ast-ksh/work/bin/ignore /var/tmp/work/shells/ast-ksh/work/bin/ignore.old + /bin/cp ignore /var/tmp/work/shells/ast-ksh/work/bin/ignore + case static,port:$OPTIND:$RANDOM in + case '' in + case 0 in + cp /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/bin/mamprobe + /bin/mv /var/tmp/work/shells/ast-ksh/work/bin/mamprobe /var/tmp/work/shells/ast-ksh/work/bin/mamprobe.old + /bin/cp mamprobe /var/tmp/work/shells/ast-ksh/work/bin/mamprobe + test '' = package + /usr/bin/cmp -s package /var/tmp/work/shells/ast-ksh/work/bin/package + /bin/mv /var/tmp/work/shells/ast-ksh/work/bin/package /var/tmp/work/shells/ast-ksh/work/bin/package.old + /bin/cp package /var/tmp/work/shells/ast-ksh/work/bin/package + test '' = silent + /usr/bin/cmp -s silent /var/tmp/work/shells/ast-ksh/work/bin/silent + /bin/mv /var/tmp/work/shells/ast-ksh/work/bin/silent /var/tmp/work/shells/ast-ksh/work/bin/silent.old + /bin/cp silent /var/tmp/work/shells/ast-ksh/work/bin/silent + test '' = crossexec + /usr/bin/cmp -s crossexec /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/crossexec + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/crossexec /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/crossexec.old + true + /bin/cp crossexec /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/crossexec + test '' = ditto + /usr/bin/cmp -s ditto /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ditto + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ditto /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ditto.old + true + /bin/cp ditto /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ditto + test '' = filter + /usr/bin/cmp -s filter /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/filter + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/filter /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/filter.old + true + /bin/cp filter /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/filter + test '' = package.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/package.mk /var/tmp/work/shells/ast-ksh/work/lib/package/package.mk + test '' = CONVERT.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/CONVERT.mk /var/tmp/work/shells/ast-ksh/work/lib/package/CONVERT.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/lib/package/CONVERT.mk /var/tmp/work/shells/ast-ksh/work/lib/package/CONVERT.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/CONVERT.mk /var/tmp/work/shells/ast-ksh/work/lib/package/CONVERT.mk + test '!' -d /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make + mkdir -p /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make + test '' = package.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/package.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/package.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/package.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/package.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/package.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/package.mk + test '' = PROBE.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/PROBE.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/PROBE.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/PROBE.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/PROBE.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/PROBE.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/PROBE.mk + test '' = TEST.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/TEST.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/TEST.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/TEST.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/TEST.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/TEST.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/TEST.mk + test '' = WWW.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/WWW.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/WWW.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/WWW.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/WWW.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/WWW.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/WWW.mk + test '' = MSGFUN.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/MSGFUN.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGFUN.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGFUN.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGFUN.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/MSGFUN.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGFUN.mk + test '' = MSGKEY.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/MSGKEY.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGKEY.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGKEY.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGKEY.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/MSGKEY.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MSGKEY.mk + test '' = MAPLIB.mk + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/MAPLIB.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MAPLIB.mk + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MAPLIB.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MAPLIB.mk.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/MAPLIB.mk /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/make/MAPLIB.mk + test '' = mamake + /usr/bin/cmp -s mamake /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mamake + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mamake /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mamake.old + /bin/cp mamake /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mamake + test '' = proto + /usr/bin/cmp -s proto /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/proto + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/proto /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/proto.old + /bin/cp proto /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/proto + test '' = ratz + /usr/bin/cmp -s ratz /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ratz + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ratz /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ratz.old + /bin/cp ratz /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ratz + test '' = release + /usr/bin/cmp -s release /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/release + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/release /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/release.old + /bin/cp release /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/release + test '!' -x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/mkdir -a -x /bin/mkdir + mkdir -p + : + test -d ./-p + test '' = C+probe + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/C+probe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/probe + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/probe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/probe.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/INIT/C+probe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/probe + test '!' -d /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/pp + mkdir -p /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/pp + test '' = mprobe + /usr/bin/cmp -s mprobe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/probe + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/probe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/probe.old + true + /bin/cp mprobe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/probe + test '' = mprobe + /usr/bin/cmp -s mprobe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/mprobe + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/mprobe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/mprobe.old + true + /bin/cp mprobe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/mam/mprobe + test '' = probe + /usr/bin/cmp -s probe /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/make/probe + t=darwin.arm64-64 + ifs=' ' + IFS=. + set x darwin arm64-64 + IFS=' ' + t=darwin + set x /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/make/probe.ini + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/make/probe.ini /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/make/probe.ini.old + true + /bin/cp probe.ini /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/probe/C/make/probe.ini + test '!' -d /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast + mkdir -p /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast + proto -f /dev/null + cmp -s h.77127.h prototyped.h + mv h.77127.h prototyped.h + test '' = prototyped.h + /usr/bin/cmp -s prototyped.h /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/prototyped.h + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/prototyped.h /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/prototyped.h.old + true + /bin/cp prototyped.h /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/prototyped.h + test '!' -d /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib + mkdir -p /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib + set - + test '' = dl.req + /usr/bin/cmp -s dl.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dl + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dl /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dl.old + true + /bin/cp dl.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dl + set - + test '' = iconv.req + /usr/bin/cmp -s iconv.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/iconv + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/iconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/iconv.old + true + /bin/cp iconv.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/iconv + set - + test '' = w.req + /usr/bin/cmp -s w.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/w + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/w /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/w.old + true + /bin/cp w.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/w + set - + test '' = intl.req + /usr/bin/cmp -s intl.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/intl + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/intl /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/intl.old + true + /bin/cp intl.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/intl + set - + test '' = m.req + /usr/bin/cmp -s m.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/m + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/m /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/m.old + true + /bin/cp m.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/m + set - + test '' = nsl.req + /usr/bin/cmp -s nsl.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/nsl + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/nsl /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/nsl.old + true + /bin/cp nsl.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/nsl + set - + test '' = socket.req + /usr/bin/cmp -s socket.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/socket + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/socket /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/socket.old + true + /bin/cp socket.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/socket + set - + test '' = dbm.req + /usr/bin/cmp -s dbm.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dbm + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dbm /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dbm.old + true + /bin/cp dbm.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dbm + mamake -C lib/libast -k LDFLAGS=-lm install probing C language processor /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/cc for mam information + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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 posix_memalign 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 ... no iffe: test: fd is first arg to poll() ... no iffe: test: fd is second arg to poll() ... no iffe: test: is _lib_poll_fd_1||_lib_poll_fd_2 true ... no 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 ... no 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_ast -O -lm ' run /var/tmp/work/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 ... no 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 ... no 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 ... 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_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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 posix_memalign a library function ... yes 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 ... no iffe: test: gnu malloc hooks work ... no iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/map.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/map.c ... ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/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.7943.x + mv 1.7943.x ast_common.h + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/param.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/param.sh ... iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/param.sh ... yes + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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 - /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/conf.sh + silent test -w conf -a -x conf + chmod u+w,+x conf + /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/src/lib/libast/conf -v /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/conf.tab cc -D_BLD_ast -O conf: read /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/limits.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/limits.c ... In file included from ./pkgs15884.c:356: ./conflim.h:75:34: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] 75 | printf("#define UINT_MAX %lu\n", UINT_MAX); | ~~~ ^~~~~~~~ | %u /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/limits.h:64:19: note: expanded from macro 'UINT_MAX' 64 | #define UINT_MAX (__INT_MAX__ *2U +1U) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./pkgs15884.c:356: ./conflim.h:81:33: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 81 | printf("#define INT_MAX %ld\n", INT_MAX); | ~~~ ^~~~~~~ | %d /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/limits.h:50:19: note: expanded from macro 'INT_MAX' 50 | #define INT_MAX __INT_MAX__ | ^~~~~~~~~~~ :61:21: note: expanded from macro '__INT_MAX__' 61 | #define __INT_MAX__ 2147483647 | ^~~~~~~~~~ 2 warnings generated. ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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 ... no iffe: test: is abort a symbol that needs a prototype ... no 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 ... no 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 ... no 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 ... no 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 ... no iffe: test: is memcmp a symbol that needs a prototype ... no iffe: test: is memcpy a symbol that needs a prototype ... no iffe: test: is memmove a symbol that needs a prototype ... no iffe: test: is memset a symbol that needs a prototype ... no 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 posix_memalign 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 ... no 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 ... no iffe: test: is strcat a symbol that needs a prototype ... no iffe: test: is strchr a symbol that needs a prototype ... no iffe: test: is strcmp a symbol that needs a prototype ... no iffe: test: is strcoll a symbol that needs a prototype ... no iffe: test: is strcpy a symbol that needs a prototype ... no iffe: test: is strcspn a symbol that needs a prototype ... no iffe: test: is strdup a symbol that needs a prototype ... no iffe: test: is strlcat a symbol that needs a prototype ... no iffe: test: is strlcpy a symbol that needs a prototype ... no iffe: test: is strlen a symbol that needs a prototype ... no iffe: test: is strncasecmp a symbol that needs a prototype ... no iffe: test: is strncat a symbol that needs a prototype ... no iffe: test: is strncmp a symbol that needs a prototype ... no iffe: test: is strncpy a symbol that needs a prototype ... no iffe: test: is strpbrk a symbol that needs a prototype ... no iffe: test: is strrchr a symbol that needs a prototype ... no iffe: test: is strspn a symbol that needs a prototype ... no iffe: test: is strstr a symbol that needs a prototype ... no iffe: test: is strtok a symbol that needs a prototype ... no iffe: test: is strxfrm a symbol that needs a prototype ... no 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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/botch.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/botch.c ... ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/fcntl.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/fcntl.c ... ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -o astmath.exe /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/limits.h /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/unistd.h /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/limits.h + set - + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/state.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/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_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/mode.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/mode.c ... ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/opendir.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/readdir.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/rewinddir.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/seekdir.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/telldir.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:80: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 107 | while (dp = d) | ~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:107:12: note: place parentheses around the assignment to silence this warning 107 | while (dp = d) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:107:12: note: use '==' to turn this assignment into an equality comparison 107 | while (dp = d) | ^ | == /var/tmp/work/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] 256 | while (*d++ = *p++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:256:18: note: place parentheses around the assignment to silence this warning 256 | while (*d++ = *p++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:256:18: note: use '==' to turn this assignment into an equality comparison 256 | while (*d++ = *p++); | ^ | == /var/tmp/work/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] 271 | while (entry = readdir(dirp)) | ~~~~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:271:17: note: place parentheses around the assignment to silence this warning 271 | while (entry = readdir(dirp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getcwd.c:271:17: note: use '==' to turn this assignment into an equality comparison 271 | while (entry = readdir(dirp)) | ^ | == 24 warnings generated. + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/findlib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 125 | while (c = *t++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:125:11: note: place parentheses around the assignment to silence this warning 125 | while (c = *t++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:125:11: note: use '==' to turn this assignment into an equality comparison 125 | while (c = *t++) | ^ | == /var/tmp/work/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] 193 | if (path = findcodes[i]) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:193:13: note: place parentheses around the assignment to silence this warning 193 | if (path = findcodes[i]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:193:13: note: use '==' to turn this assignment into an equality comparison 193 | if (path = findcodes[i]) | ^ | == /var/tmp/work/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] 233 | if (b = strrchr(fp->encode.file, '/')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:233:13: note: place parentheses around the assignment to silence this warning 233 | if (b = strrchr(fp->encode.file, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:233:13: note: use '==' to turn this assignment into an equality comparison 233 | if (b = strrchr(fp->encode.file, '/')) | ^ | == /var/tmp/work/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] 250 | else if (b = strrchr(path, '/')) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:250:16: note: place parentheses around the assignment to silence this warning 250 | else if (b = strrchr(path, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:250:16: note: use '==' to turn this assignment into an equality comparison 250 | else if (b = strrchr(path, '/')) | ^ | == /var/tmp/work/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] 290 | if (s = strrchr(path, '/')) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:290:10: note: place parentheses around the assignment to silence this warning 290 | if (s = strrchr(path, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:290:10: note: use '==' to turn this assignment into an equality comparison 290 | if (s = strrchr(path, '/')) | ^ | == /var/tmp/work/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] 371 | if (path = findcodes[i]) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:371:13: note: place parentheses around the assignment to silence this warning 371 | if (path = findcodes[i]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:371:13: note: use '==' to turn this assignment into an equality comparison 371 | if (path = findcodes[i]) | ^ | == /var/tmp/work/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] 382 | if (fp->fp = sfopen(NiL, fp->decode.path, "r")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:382:20: note: place parentheses around the assignment to silence this warning 382 | if (fp->fp = sfopen(NiL, fp->decode.path, "r")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:382:20: note: use '==' to turn this assignment into an equality comparison 382 | if (fp->fp = sfopen(NiL, fp->decode.path, "r")) | ^ | == /var/tmp/work/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] 391 | else if (fp->fp = sfopen(NiL, path, "r")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:391:23: note: place parentheses around the assignment to silence this warning 391 | else if (fp->fp = sfopen(NiL, path, "r")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:391:23: note: use '==' to turn this assignment into an equality comparison 391 | else if (fp->fp = sfopen(NiL, path, "r")) | ^ | == /var/tmp/work/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] 410 | if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:410:18: note: place parentheses around the assignment to silence this warning 410 | if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:410:18: note: use '==' to turn this assignment into an equality comparison 410 | if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) | ^ | == /var/tmp/work/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] 459 | while (j = sfgetc(fp->fp)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:459:13: note: place parentheses around the assignment to silence this warning 459 | while (j = sfgetc(fp->fp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:459:13: note: use '==' to turn this assignment into an equality comparison 459 | while (j = sfgetc(fp->fp)) | ^ | == /var/tmp/work/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] 568 | if (p = s = (char*)pattern) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:568:9: note: place parentheses around the assignment to silence this warning 568 | if (p = s = (char*)pattern) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:568:9: note: use '==' to turn this assignment into an equality comparison 568 | if (p = s = (char*)pattern) | ^ | == /var/tmp/work/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] 625 | if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:625:11: note: place parentheses around the assignment to silence this warning 625 | if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:625:11: note: use '==' to turn this assignment into an equality comparison 625 | if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) | ^ | == /var/tmp/work/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] 638 | while (i = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:638:14: note: place parentheses around the assignment to silence this warning 638 | while (i = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:638:14: note: use '==' to turn this assignment into an equality comparison 638 | while (i = *s++) | ^ | == /var/tmp/work/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] 739 | } while (*p++ = c); | ~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:739:18: note: place parentheses around the assignment to silence this warning 739 | } while (*p++ = c); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:739:18: note: use '==' to turn this assignment into an equality comparison 739 | } while (*p++ = c); | ^ | == /var/tmp/work/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] 1001 | if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1001:10: note: place parentheses around the assignment to silence this warning 1001 | if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1001:10: note: use '==' to turn this assignment into an equality comparison 1001 | if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) | ^ | == /var/tmp/work/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] 1107 | if (d = fp->encode.hits[n]) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1107:10: note: place parentheses around the assignment to silence this warning 1107 | if (d = fp->encode.hits[n]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1107:10: note: use '==' to turn this assignment into an equality comparison 1107 | if (d = fp->encode.hits[n]) | ^ | == /var/tmp/work/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] 1153 | while (s = sfgetr(fp->fp, 0, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1153:12: note: place parentheses around the assignment to silence this warning 1153 | while (s = sfgetr(fp->fp, 0, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1153:12: note: use '==' to turn this assignment into an equality comparison 1153 | while (s = sfgetr(fp->fp, 0, 0)) | ^ | == /var/tmp/work/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] 1167 | while (n = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1167:13: note: place parentheses around the assignment to silence this warning 1167 | while (n = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1167:13: note: use '==' to turn this assignment into an equality comparison 1167 | while (n = *s++) | ^ | == /var/tmp/work/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] 1174 | if (d = fp->encode.code[n][m]) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1174:11: note: place parentheses around the assignment to silence this warning 1174 | if (d = fp->encode.code[n][m]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fastfind.c:1174:11: note: use '==' to turn this assignment into an equality comparison 1174 | if (d = fp->encode.code[n][m]) | ^ | == 40 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c /var/tmp/work/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] 90 | if (tab->root->local->region = region) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c:90:32: note: place parentheses around the assignment to silence this warning 90 | if (tab->root->local->region = region) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashalloc.c:90:32: note: use '==' to turn this assignment into an equality comparison 90 | if (tab->root->local->region = region) | ^ | == /var/tmp/work/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 *') 154 | va_copy(ap, va_listval(va_arg(ap, va_listarg))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ast_common.h:176:23: note: expanded from macro 'va_listval' 176 | #define va_listval(p) (p) /* retrieve va_list from va_arg(ap,va_listarg) */ | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stdarg_va_copy.h:11:52: note: expanded from macro 'va_copy' 11 | #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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c /var/tmp/work/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] 75 | if (n = tab->root->namesize) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:75:12: note: place parentheses around the assignment to silence this warning 75 | if (n = tab->root->namesize) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:75:12: note: use '==' to turn this assignment into an equality comparison 75 | if (n = tab->root->namesize) | ^ | == /var/tmp/work/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] 110 | if (scope = tab->scope) | ~~~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:110:12: note: place parentheses around the assignment to silence this warning 110 | if (scope = tab->scope) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:110:12: note: use '==' to turn this assignment into an equality comparison 110 | if (scope = tab->scope) | ^ | == /var/tmp/work/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] 113 | while (scope = scope->scope) level++; | ~~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:113:16: note: place parentheses around the assignment to silence this warning 113 | while (scope = scope->scope) level++; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashdump.c:113:16: note: use '==' to turn this assignment into an equality comparison 113 | while (scope = scope->scope) level++; | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c /var/tmp/work/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] 63 | if (region = tab->root->local->region) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:63:14: note: place parentheses around the assignment to silence this warning 63 | if (region = tab->root->local->region) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:63:14: note: use '==' to turn this assignment into an equality comparison 63 | if (region = tab->root->local->region) | ^ | == /var/tmp/work/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] 140 | if (tp = tab->scope) tp->frozen--; | ~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:140:9: note: place parentheses around the assignment to silence this warning 140 | if (tp = tab->scope) tp->frozen--; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashfree.c:140:9: note: use '==' to turn this assignment into an equality comparison 140 | if (tp = tab->scope) tp->frozen--; | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlast.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c /var/tmp/work/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] 57 | while (c = *s2++) HASHPART(n, c); | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:57:13: note: place parentheses around the assignment to silence this warning 57 | while (c = *s2++) HASHPART(n, c); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:57:13: note: use '==' to turn this assignment into an equality comparison 57 | while (c = *s2++) HASHPART(n, c); | ^ | == /var/tmp/work/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] 139 | if (b = last->bucket) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:139:9: note: place parentheses around the assignment to silence this warning 139 | if (b = last->bucket) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:139:9: note: use '==' to turn this assignment into an equality comparison 139 | if (b = last->bucket) | ^ | == /var/tmp/work/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] 265 | if (prev = b) | ~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:265:12: note: place parentheses around the assignment to silence this warning 265 | if (prev = b) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashlook.c:265:12: note: use '==' to turn this assignment into an equality comparison 265 | if (prev = b) | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashscan.c /var/tmp/work/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] 74 | } while (tab = tab->scope); | ~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashscan.c:74:16: note: place parentheses around the assignment to silence this warning 74 | } while (tab = tab->scope); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashscan.c:74:16: note: use '==' to turn this assignment into an equality comparison 74 | } while (tab = tab->scope); | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashsize.c /var/tmp/work/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] 51 | if (region = tab->root->local->region) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashsize.c:51:14: note: place parentheses around the assignment to silence this warning 51 | if (region = tab->root->local->region) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashsize.c:51:14: note: use '==' to turn this assignment into an equality comparison 51 | if (region = tab->root->local->region) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashview.c /var/tmp/work/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] 64 | if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:64:12: note: place parentheses around the assignment to silence this warning 64 | if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:64:12: note: use '==' to turn this assignment into an equality comparison 64 | if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) | ^ | == /var/tmp/work/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] 73 | else if (bot = top->scope) | ~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:73:15: note: place parentheses around the assignment to silence this warning 73 | else if (bot = top->scope) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashview.c:73:15: note: use '==' to turn this assignment into an equality comparison 73 | else if (bot = top->scope) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashwalk.c /var/tmp/work/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] 46 | while (b = hashnext(pos)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashwalk.c:46:11: note: place parentheses around the assignment to silence this warning 46 | while (b = hashnext(pos)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/hashwalk.c:46:11: note: use '==' to turn this assignment into an equality comparison 46 | while (b = hashnext(pos)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/memhash.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/memsum.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/strhash.c /var/tmp/work/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] 43 | while (c = *s++) HASHPART(i, c); | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/strhash.c:43:11: note: place parentheses around the assignment to silence this warning 43 | while (c = *s++) HASHPART(i, c); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/strhash.c:43:11: note: use '==' to turn this assignment into an equality comparison 43 | while (c = *s++) HASHPART(i, c); | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/strkey.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ihash -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/strsum.c /var/tmp/work/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] 47 | while (n = *s++) HASHPART(c, n); | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/strsum.c:47:11: note: place parentheses around the assignment to silence this warning 47 | while (n = *s++) HASHPART(c, n); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/hash/strsum.c:47:11: note: use '==' to turn this assignment into an equality comparison 47 | while (n = *s++) HASHPART(c, n); | ^ | == 1 warning generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stracmp.c /var/tmp/work/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] 55 | if (d = c - m[*b++]) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stracmp.c:55:9: note: place parentheses around the assignment to silence this warning 55 | if (d = c - m[*b++]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stracmp.c:55:9: note: use '==' to turn this assignment into an equality comparison 55 | if (d = c - m[*b++]) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnacmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/ccmap.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/ccmapid.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/ccnative.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/chresc.c /var/tmp/work/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] 96 | if (c = *s) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/chresc.c:96:11: note: place parentheses around the assignment to silence this warning 96 | if (c = *s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/chresc.c:96:11: note: use '==' to turn this assignment into an equality comparison 96 | if (c = *s) | ^ | == /var/tmp/work/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] 158 | if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/chresc.c:158:11: note: place parentheses around the assignment to silence this warning 158 | if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/chresc.c:158:11: note: use '==' to turn this assignment into an equality comparison 158 | if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/chrtoi.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/streval.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strexpr.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmatch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strcopy.c /var/tmp/work/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] 34 | while (*s++ = *t++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strcopy.c:34:14: note: place parentheses around the assignment to silence this warning 34 | while (*s++ = *t++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strcopy.c:34:14: note: use '==' to turn this assignment into an equality comparison 34 | while (*s++ = *t++); | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modei.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modex.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcat.c /var/tmp/work/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] 58 | if (m = n) | ~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:58:8: note: place parentheses around the assignment to silence this warning 58 | if (m = n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:58:8: note: use '==' to turn this assignment into an equality comparison 58 | if (m = n) | ^ | == /var/tmp/work/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] 74 | } while (*s++ = *t++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:74:18: note: place parentheses around the assignment to silence this warning 74 | } while (*s++ = *t++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcat.c:74:18: note: use '==' to turn this assignment into an equality comparison 74 | } while (*s++ = *t++); | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcpy.c /var/tmp/work/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] 65 | } while (*s++ = *t++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcpy.c:65:17: note: place parentheses around the assignment to silence this warning 65 | } while (*s++ = *t++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlcpy.c:65:17: note: use '==' to turn this assignment into an equality comparison 65 | } while (*s++ = *t++); | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlook.c /var/tmp/work/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] 46 | for (; s = *((char**)t); t += siz) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlook.c:46:11: note: place parentheses around the assignment to silence this warning 46 | for (; s = *((char**)t); t += siz) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strlook.c:46:11: note: use '==' to turn this assignment into an equality comparison 46 | for (; s = *((char**)t); t += siz) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strncopy.c /var/tmp/work/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] 44 | } while (*t++ = *f++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strncopy.c:44:16: note: place parentheses around the assignment to silence this warning 44 | } while (*t++ = *f++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strncopy.c:44:16: note: use '==' to turn this assignment into an equality comparison 44 | } while (*t++ = *f++); | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strsearch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strpsearch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stresc.c /var/tmp/work/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] 45 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stresc.c:45:11: note: place parentheses around the assignment to silence this warning 45 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stresc.c:45:11: note: use '==' to turn this assignment into an equality comparison 45 | while (c = *s++) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stropt.c /var/tmp/work/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] 91 | for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stropt.c:91:29: note: place parentheses around the assignment to silence this warning 91 | for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stropt.c:91:29: note: use '==' to turn this assignment into an equality comparison 91 | for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) | ^ | == /var/tmp/work/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] 128 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stropt.c:128:14: note: place parentheses around the assignment to silence this warning 128 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/stropt.c:128:14: note: use '==' to turn this assignment into an equality comparison 128 | while (c = *s++) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtape.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strpcmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnpcmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strvcmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnvcmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tok.c /var/tmp/work/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] 59 | if (p = freelist) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tok.c:59:8: note: place parentheses around the assignment to silence this warning 59 | if (p = freelist) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tok.c:59:8: note: use '==' to turn this assignment into an equality comparison 59 | if (p = freelist) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokline.c /var/tmp/work/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] 123 | else if (n = b - buf - 1) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokline.c:123:19: note: place parentheses around the assignment to silence this warning 123 | else if (n = b - buf - 1) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokline.c:123:19: note: use '==' to turn this assignment into an equality comparison 123 | else if (n = b - buf - 1) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c /var/tmp/work/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] 202 | if (f = prv_f) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:202:9: note: place parentheses around the assignment to silence this warning 202 | if (f = prv_f) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:202:9: note: use '==' to turn this assignment into an equality comparison 202 | if (f = prv_f) | ^ | == /var/tmp/work/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 *') 236 | va_copy(ap, va_listval(va_arg(ap, va_listarg))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ast_common.h:176:23: note: expanded from macro 'va_listval' 176 | #define va_listval(p) (p) /* retrieve va_list from va_arg(ap,va_listarg) */ | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stdarg_va_copy.h:11:52: note: expanded from macro 'va_copy' 11 | #define va_copy(dest, src) __builtin_va_copy(dest, src) | ^~~ /var/tmp/work/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] 281 | if (p_short = va_arg(ap, short*)) *p_short = (short)val; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:281:17: note: place parentheses around the assignment to silence this warning 281 | if (p_short = va_arg(ap, short*)) *p_short = (short)val; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:281:17: note: use '==' to turn this assignment into an equality comparison 281 | if (p_short = va_arg(ap, short*)) *p_short = (short)val; | ^ | == /var/tmp/work/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] 284 | if (p_long = va_arg(ap, long*)) *p_long = val; | ~~~~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:284:16: note: place parentheses around the assignment to silence this warning 284 | if (p_long = va_arg(ap, long*)) *p_long = val; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:284:16: note: use '==' to turn this assignment into an equality comparison 284 | if (p_long = va_arg(ap, long*)) *p_long = val; | ^ | == /var/tmp/work/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] 287 | if (p_int = va_arg(ap, int*)) *p_int = (int)val; | ~~~~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:287:15: note: place parentheses around the assignment to silence this warning 287 | if (p_int = va_arg(ap, int*)) *p_int = (int)val; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:287:15: note: use '==' to turn this assignment into an equality comparison 287 | if (p_int = va_arg(ap, int*)) *p_int = (int)val; | ^ | == /var/tmp/work/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] 304 | if (p_double = va_arg(ap, double*)) *p_double = dval; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:304:17: note: place parentheses around the assignment to silence this warning 304 | if (p_double = va_arg(ap, double*)) *p_double = dval; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:304:17: note: use '==' to turn this assignment into an equality comparison 304 | if (p_double = va_arg(ap, double*)) *p_double = dval; | ^ | == /var/tmp/work/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] 313 | if (q = *f) f++; | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:313:10: note: place parentheses around the assignment to silence this warning 313 | if (q = *f) f++; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:313:10: note: use '==' to turn this assignment into an equality comparison 313 | if (q = *f) f++; | ^ | == /var/tmp/work/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] 323 | if (q = *f) f++; | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:323:10: note: place parentheses around the assignment to silence this warning 323 | if (q = *f) f++; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/tokscan.c:323:10: note: use '==' to turn this assignment into an equality comparison 323 | if (q = *f) f++; | ^ | == 7 warnings and 1 error generated. mamake [lib/libast]: *** exit code 1 making tokscan.o + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathaccess.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcat.c /var/tmp/work/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] 79 | while (*s = *a++) | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:79:13: note: place parentheses around the assignment to silence this warning 79 | while (*s = *a++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:79:13: note: use '==' to turn this assignment into an equality comparison 79 | while (*s = *a++) | ^ | == /var/tmp/work/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] 96 | } while (*s++ = *b++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:96:17: note: place parentheses around the assignment to silence this warning 96 | } while (*s++ = *b++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcat.c:96:17: note: use '==' to turn this assignment into an equality comparison 96 | } while (*s++ = *b++); | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcanon.c:47: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcheck.c:46: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathpath.c /var/tmp/work/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] 90 | else if (s = (char*)a) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:90:13: note: place parentheses around the assignment to silence this warning 90 | else if (s = (char*)a) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:90:13: note: use '==' to turn this assignment into an equality comparison 90 | else if (s = (char*)a) | ^ | == /var/tmp/work/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] 114 | if (s = pathaccess(path, p, a, mode, path, size)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:114:13: note: place parentheses around the assignment to silence this warning 114 | if (s = pathaccess(path, p, a, mode, path, size)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathpath.c:114:13: note: use '==' to turn this assignment into an equality comparison 114 | if (s = pathaccess(path, p, a, mode, path, size)) | ^ | == 2 warnings generated. + cc -o lcgen /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c /var/tmp/work/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] 188 | while (*t++ = *f++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:188:14: note: place parentheses around the assignment to silence this warning 188 | while (*t++ = *f++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:188:14: note: use '==' to turn this assignment into an equality comparison 188 | while (*t++ = *f++); | ^ | == /var/tmp/work/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] 343 | while (s = fgets(buf, sizeof(buf), stdin)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:343:11: note: place parentheses around the assignment to silence this warning 343 | while (s = fgets(buf, sizeof(buf), stdin)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:343:11: note: use '==' to turn this assignment into an equality comparison 343 | while (s = fgets(buf, sizeof(buf), stdin)) | ^ | == /var/tmp/work/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] 446 | if (s = copy(&b, arg[2])) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:446:10: note: place parentheses around the assignment to silence this warning 446 | if (s = copy(&b, arg[2])) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:446:10: note: use '==' to turn this assignment into an equality comparison 446 | if (s = copy(&b, arg[2])) | ^ | == /var/tmp/work/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] 452 | if (c = *s) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:452:12: note: place parentheses around the assignment to silence this warning 452 | if (c = *s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:452:12: note: use '==' to turn this assignment into an equality comparison 452 | if (c = *s) | ^ | == /var/tmp/work/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] 508 | if (s = copy(&b, arg[4])) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:508:10: note: place parentheses around the assignment to silence this warning 508 | if (s = copy(&b, arg[4])) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lcgen.c:508:10: note: use '==' to turn this assignment into an equality comparison 508 | if (s = copy(&b, arg[4])) | ^ | == 5 warnings generated. ld: warning: -m is obsolete + ./lcgen 30299.1 30299.2 + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' 30299.1 + rm -f 30299.1 + cmp -s 30299.3 lc.h + mv 30299.3 lc.h + cmp -s 30299.2 lctab.c + mv 30299.2 lctab.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathexists.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 155 | if (s = strrchr((char*)lib, ':')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:155:9: note: place parentheses around the assignment to silence this warning 155 | if (s = strrchr((char*)lib, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathfind.c:155:9: note: use '==' to turn this assignment into an equality comparison 155 | if (s = strrchr((char*)lib, ':')) | ^ | == 22 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/preroot.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/preroot.sh ... iffe: test: capture output of /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 96 | if (flags = strchr(path, ' ')) | ~~~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:96:13: note: place parentheses around the assignment to silence this warning 96 | if (flags = strchr(path, ' ')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:96:13: note: use '==' to turn this assignment into an equality comparison 96 | if (flags = strchr(path, ' ')) | ^ | == /var/tmp/work/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] 154 | if (k = astconf("UNIVERSE", NiL, NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:154:9: note: place parentheses around the assignment to silence this warning 154 | if (k = astconf("UNIVERSE", NiL, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:154:9: note: use '==' to turn this assignment into an equality comparison 154 | if (k = astconf("UNIVERSE", NiL, NiL)) | ^ | == /var/tmp/work/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] 258 | if (k = env[c]) | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:258:10: note: place parentheses around the assignment to silence this warning 258 | if (k = env[c]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:258:10: note: use '==' to turn this assignment into an equality comparison 258 | if (k = env[c]) | ^ | == /var/tmp/work/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] 276 | if (k = env[c]) | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:276:11: note: place parentheses around the assignment to silence this warning 276 | if (k = env[c]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathkey.c:276:11: note: use '==' to turn this assignment into an equality comparison 276 | if (k = env[c]) | ^ | == 25 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std '-DHOSTTYPE="darwin.arm64-64"' -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 131 | if (p = strchr(proc, ' ')) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:131:9: note: place parentheses around the assignment to silence this warning 131 | if (p = strchr(proc, ' ')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:131:9: note: use '==' to turn this assignment into an equality comparison 131 | if (p = strchr(proc, ' ')) | ^ | == /var/tmp/work/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] 224 | if (sp = sfopen(NiL, path, "r")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:224:11: note: place parentheses around the assignment to silence this warning 224 | if (sp = sfopen(NiL, path, "r")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:224:11: note: use '==' to turn this assignment into an equality comparison 224 | if (sp = sfopen(NiL, path, "r")) | ^ | == /var/tmp/work/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] 226 | if (x = sfgetr(sp, '\n', 1)) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:226:11: note: place parentheses around the assignment to silence this warning 226 | if (x = sfgetr(sp, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:226:11: note: use '==' to turn this assignment into an equality comparison 226 | if (x = sfgetr(sp, '\n', 1)) | ^ | == /var/tmp/work/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] 232 | if (n = *x++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:232:12: note: place parentheses around the assignment to silence this warning 232 | if (n = *x++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:232:12: note: use '==' to turn this assignment into an equality comparison 232 | if (n = *x++) | ^ | == /var/tmp/work/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] 255 | if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:255:16: note: place parentheses around the assignment to silence this warning 255 | if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprobe.c:255:16: note: use '==' to turn this assignment into an equality comparison 255 | if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) | ^ | == 26 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathrepl.c /var/tmp/work/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] 75 | if (p < path) while (*p++ = *path++); | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathrepl.c:75:31: note: place parentheses around the assignment to silence this warning 75 | if (p < path) while (*p++ = *path++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathrepl.c:75:31: note: use '==' to turn this assignment into an equality comparison 75 | if (p < path) while (*p++ = *path++); | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathnative.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathposix.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:73: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 193 | while (s = strchr(s, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:193:14: note: place parentheses around the assignment to silence this warning 193 | while (s = strchr(s, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:193:14: note: use '==' to turn this assignment into an equality comparison 193 | while (s = strchr(s, ':')) | ^ | == /var/tmp/work/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] 203 | while (x = strchr(x, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:203:14: note: place parentheses around the assignment to silence this warning 203 | while (x = strchr(x, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtemp.c:203:14: note: use '==' to turn this assignment into an equality comparison 203 | while (x = strchr(x, ':')) | ^ | == 23 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathtmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathgetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathsetlink.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathbin.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathshell.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathcd.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/path/pathprog.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fs3d.c /var/tmp/work/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] 63 | if (v = strchr(val, ' ')) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fs3d.c:63:8: note: place parentheses around the assignment to silence this warning 63 | if (v = strchr(val, ' ')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fs3d.c:63:8: note: use '==' to turn this assignment into an equality comparison 63 | if (v = strchr(val, ' ')) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 73 | if (children = flags & FTW_CHILDREN) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:73:15: note: place parentheses around the assignment to silence this warning 73 | if (children = flags & FTW_CHILDREN) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwalk.c:73:15: note: use '==' to turn this assignment into an equality comparison 73 | if (children = flags & FTW_CHILDREN) | ^ | == 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/ftwflags.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 606 | while (path = *pathnames++) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:606:14: note: place parentheses around the assignment to silence this warning 606 | while (path = *pathnames++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:606:14: note: use '==' to turn this assignment into an equality comparison 606 | while (path = *pathnames++) | ^ | == /var/tmp/work/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] 635 | while (*path++ = *s++); | ~~~~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:635:21: note: place parentheses around the assignment to silence this warning 635 | while (*path++ = *s++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:635:21: note: use '==' to turn this assignment into an equality comparison 635 | while (*path++ = *s++); | ^ | == /var/tmp/work/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] 1012 | while (d = readdir(fts->dir)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1012:13: note: place parentheses around the assignment to silence this warning 1012 | while (d = readdir(fts->dir)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1012:13: note: use '==' to turn this assignment into an equality comparison 1012 | while (d = readdir(fts->dir)) | ^ | == /var/tmp/work/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] 1492 | if (f = fts_read(fts)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1492:9: note: place parentheses around the assignment to silence this warning 1492 | if (f = fts_read(fts)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fts.c:1492:9: note: use '==' to turn this assignment into an equality comparison 1492 | if (f = fts_read(fts)) | ^ | == 25 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/astintercept.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/conformance.c /var/tmp/work/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] 50 | if (sp = sfstropen()) | ~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:50:9: note: place parentheses around the assignment to silence this warning 50 | if (sp = sfstropen()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:50:9: note: use '==' to turn this assignment into an equality comparison 50 | if (sp = sfstropen()) | ^ | == /var/tmp/work/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] 79 | if (p = newof(0, char*, j, i)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:79:9: note: place parentheses around the assignment to silence this warning 79 | if (p = newof(0, char*, j, i)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:79:9: note: use '==' to turn this assignment into an equality comparison 79 | if (p = newof(0, char*, j, i)) | ^ | == /var/tmp/work/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] 144 | while (m = *q++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:144:12: note: place parentheses around the assignment to silence this warning 144 | while (m = *q++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/conformance.c:144:12: note: use '==' to turn this assignment into an equality comparison 144 | while (m = *q++) | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/getenv.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c /var/tmp/work/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] 99 | while (*p = *v++) | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:99:14: note: place parentheses around the assignment to silence this warning 99 | while (*p = *v++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:99:14: note: use '==' to turn this assignment into an equality comparison 99 | while (*p = *v++) | ^ | == /var/tmp/work/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] 118 | for (; s = *p; p++) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:118:11: note: place parentheses around the assignment to silence this warning 118 | for (; s = *p; p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:118:11: note: use '==' to turn this assignment into an equality comparison 118 | for (; s = *p; p++) | ^ | == /var/tmp/work/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] 130 | while (*v++ = *p++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:130:19: note: place parentheses around the assignment to silence this warning 130 | while (*v++ = *p++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/setenviron.c:130:19: note: use '==' to turn this assignment into an equality comparison 130 | while (*v++ = *p++); | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c /var/tmp/work/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] 527 | while (tsp = psp) | ~~~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:527:13: note: place parentheses around the assignment to silence this warning 527 | while (tsp = psp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:527:13: note: use '==' to turn this assignment into an equality comparison 527 | while (tsp = psp) | ^ | == /var/tmp/work/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] 600 | else while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:600:16: note: place parentheses around the assignment to silence this warning 600 | else while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:600:16: note: use '==' to turn this assignment into an equality comparison 600 | else while (c = *s++) | ^ | == /var/tmp/work/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] 905 | if (s = sfstruse(ip)) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:905:8: note: place parentheses around the assignment to silence this warning 905 | if (s = sfstruse(ip)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:905:8: note: use '==' to turn this assignment into an equality comparison 905 | if (s = sfstruse(ip)) | ^ | == /var/tmp/work/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] 925 | if (state.msgdict = dtopen(&state.msgdisc, Dtset)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:925:20: note: place parentheses around the assignment to silence this warning 925 | if (state.msgdict = dtopen(&state.msgdisc, Dtset)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:925:20: note: use '==' to turn this assignment into an equality comparison 925 | if (state.msgdict = dtopen(&state.msgdisc, Dtset)) | ^ | == /var/tmp/work/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] 1109 | if (s = p->catalog) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1109:8: note: place parentheses around the assignment to silence this warning 1109 | if (s = p->catalog) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1109:8: note: use '==' to turn this assignment into an equality comparison 1109 | if (s = p->catalog) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1134:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1134 | else if (*t == '[') | ^ /var/tmp/work/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] 1156 | if (a = (c = *s++) == ':') | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1156:10: note: place parentheses around the assignment to silence this warning 1156 | if (a = (c = *s++) == ':') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1156:10: note: use '==' to turn this assignment into an equality comparison 1156 | if (a = (c = *s++) == ':') | ^ | == /var/tmp/work/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] 1224 | if (tsp = newof(0, Push_t, 1, n + 1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1224:10: note: place parentheses around the assignment to silence this warning 1224 | if (tsp = newof(0, Push_t, 1, n + 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1224:10: note: use '==' to turn this assignment into an equality comparison 1224 | if (tsp = newof(0, Push_t, 1, n + 1)) | ^ | == /var/tmp/work/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] 1272 | if (tsp = newof(0, Push_t, 1, n + 1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1272:10: note: place parentheses around the assignment to silence this warning 1272 | if (tsp = newof(0, Push_t, 1, n + 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1272:10: note: use '==' to turn this assignment into an equality comparison 1272 | if (tsp = newof(0, Push_t, 1, n + 1)) | ^ | == /var/tmp/work/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] 1659 | if (b = sfstruse(ip)) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1659:12: note: place parentheses around the assignment to silence this warning 1659 | if (b = sfstruse(ip)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1659:12: note: use '==' to turn this assignment into an equality comparison 1659 | if (b = sfstruse(ip)) | ^ | == /var/tmp/work/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] 1941 | if (w = sfstruse(ip)) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1941:12: note: place parentheses around the assignment to silence this warning 1941 | if (w = sfstruse(ip)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:1941:12: note: use '==' to turn this assignment into an equality comparison 1941 | if (w = sfstruse(ip)) | ^ | == /var/tmp/work/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] 2519 | if (x = getenv("ERROR_OPTIONS")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2519:10: note: place parentheses around the assignment to silence this warning 2519 | if (x = getenv("ERROR_OPTIONS")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:2519:10: note: use '==' to turn this assignment into an equality comparison 2519 | if (x = getenv("ERROR_OPTIONS")) | ^ | == /var/tmp/work/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] 3332 | if (m = (a & ~m) | mode) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3332:14: note: place parentheses around the assignment to silence this warning 3332 | if (m = (a & ~m) | mode) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3332:14: note: use '==' to turn this assignment into an equality comparison 3332 | if (m = (a & ~m) | mode) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3421:90: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 3421 | sfprintf(sp_info, " %s %s\bno%-.*s\b %s.", T(NiL, ID, "On by default; use"), "--"+2-prefix, u - w, w, T(NiL, ID, "to turn off")); | ~~~~^~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3421:90: note: use array indexing to silence this warning 3421 | sfprintf(sp_info, " %s %s\bno%-.*s\b %s.", T(NiL, ID, "On by default; use"), "--"+2-prefix, u - w, w, T(NiL, ID, "to turn off")); | ^ | & [ ] /var/tmp/work/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] 3531 | if (s = o->release) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3531:9: note: place parentheses around the assignment to silence this warning 3531 | if (s = o->release) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3531:9: note: use '==' to turn this assignment into an equality comparison 3531 | if (s = o->release) | ^ | == /var/tmp/work/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] 3626 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3626:11: note: place parentheses around the assignment to silence this warning 3626 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3626:11: note: use '==' to turn this assignment into an equality comparison 3626 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) | ^ | == /var/tmp/work/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] 3676 | else if (t = strchr(u, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3676:15: note: place parentheses around the assignment to silence this warning 3676 | else if (t = strchr(u, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3676:15: note: use '==' to turn this assignment into an equality comparison 3676 | else if (t = strchr(u, ':')) | ^ | == /var/tmp/work/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] 3766 | while (c = *p++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3766:12: note: place parentheses around the assignment to silence this warning 3766 | while (c = *p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:3766:12: note: use '==' to turn this assignment into an equality comparison 3766 | while (c = *p++) | ^ | == /var/tmp/work/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] 4168 | else if (p = sfstruse(tp)) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4168:15: note: place parentheses around the assignment to silence this warning 4168 | else if (p = sfstruse(tp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4168:15: note: use '==' to turn this assignment into an equality comparison 4168 | else if (p = sfstruse(tp)) | ^ | == /var/tmp/work/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] 4197 | if (opt_info.arg = sfstruse(mp)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4197:19: note: place parentheses around the assignment to silence this warning 4197 | if (opt_info.arg = sfstruse(mp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4197:19: note: use '==' to turn this assignment into an equality comparison 4197 | if (opt_info.arg = sfstruse(mp)) | ^ | == /var/tmp/work/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] 4518 | if (c = argv[opt_info.index][opt_info.offset++]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4518:9: note: place parentheses around the assignment to silence this warning 4518 | if (c = argv[opt_info.index][opt_info.offset++]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4518:9: note: use '==' to turn this assignment into an equality comparison 4518 | if (c = argv[opt_info.index][opt_info.offset++]) | ^ | == /var/tmp/work/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] 4589 | if (k = cache->flags[map[c]]) | ~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4589:11: note: place parentheses around the assignment to silence this warning 4589 | if (k = cache->flags[map[c]]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4589:11: note: use '==' to turn this assignment into an equality comparison 4589 | if (k = cache->flags[map[c]]) | ^ | == /var/tmp/work/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] 4631 | else if (opt_info.arg = argv[opt_info.index]) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4631:28: note: place parentheses around the assignment to silence this warning 4631 | else if (opt_info.arg = argv[opt_info.index]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4631:28: note: use '==' to turn this assignment into an equality comparison 4631 | else if (opt_info.arg = argv[opt_info.index]) | ^ | == /var/tmp/work/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] 4673 | else if (cache = newof(0, Optcache_t, 1, 0)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4673:19: note: place parentheses around the assignment to silence this warning 4673 | else if (cache = newof(0, Optcache_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4673:19: note: use '==' to turn this assignment into an equality comparison 4673 | else if (cache = newof(0, Optcache_t, 1, 0)) | ^ | == /var/tmp/work/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] 4771 | if (s = strrchr(f, ':')) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4771:14: note: place parentheses around the assignment to silence this warning 4771 | if (s = strrchr(f, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4771:14: note: use '==' to turn this assignment into an equality comparison 4771 | if (s = strrchr(f, ':')) | ^ | == /var/tmp/work/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] 4856 | if (n = no) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4856:14: note: place parentheses around the assignment to silence this warning 4856 | if (n = no) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:4856:14: note: use '==' to turn this assignment into an equality comparison 4856 | if (n = no) | ^ | == /var/tmp/work/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] 5188 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5188:11: note: place parentheses around the assignment to silence this warning 5188 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5188:11: note: use '==' to turn this assignment into an equality comparison 5188 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) | ^ | == /var/tmp/work/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] 5305 | else if (opt_info.arg = argv[opt_info.index]) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5305:25: note: place parentheses around the assignment to silence this warning 5305 | else if (opt_info.arg = argv[opt_info.index]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5305:25: note: use '==' to turn this assignment into an equality comparison 5305 | else if (opt_info.arg = argv[opt_info.index]) | ^ | == /var/tmp/work/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] 5515 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5515:10: note: place parentheses around the assignment to silence this warning 5515 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5515:10: note: use '==' to turn this assignment into an equality comparison 5515 | if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) | ^ | == /var/tmp/work/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] 5667 | while (c = *++s) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5667:14: note: place parentheses around the assignment to silence this warning 5667 | while (c = *++s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5667:14: note: use '==' to turn this assignment into an equality comparison 5667 | while (c = *++s) | ^ | == /var/tmp/work/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] 5745 | while (*e++ = *s++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5745:16: note: place parentheses around the assignment to silence this warning 5745 | while (*e++ = *s++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optget.c:5745:16: note: use '==' to turn this assignment into an equality comparison 5745 | while (*e++ = *s++); | ^ | == 31 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c /var/tmp/work/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] 72 | while (fun = va_arg(ap, Optpass_f)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c:72:14: note: place parentheses around the assignment to silence this warning 72 | while (fun = va_arg(ap, Optpass_f)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optjoin.c:72:14: note: use '==' to turn this assignment into an equality comparison 72 | while (fun = va_arg(ap, Optpass_f)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optesc.c /var/tmp/work/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] 51 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:51:11: note: place parentheses around the assignment to silence this warning 51 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optesc.c:51:11: note: use '==' to turn this assignment into an equality comparison 51 | while (c = *s++) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optctx.c /var/tmp/work/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] 62 | if (o = freecontext) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optctx.c:62:9: note: place parentheses around the assignment to silence this warning 62 | if (o = freecontext) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/optctx.c:62:9: note: use '==' to turn this assignment into an equality comparison 62 | if (o = freecontext) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strsort.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/struniq.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:185: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 337 | if (p = getdata(mp, n, 1)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:337:11: note: place parentheses around the assignment to silence this warning 337 | if (p = getdata(mp, n, 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:337:11: note: use '==' to turn this assignment into an equality comparison 337 | if (p = getdata(mp, n, 1)) | ^ | == /var/tmp/work/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] 345 | if (p = getdata(mp, n, 2)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:345:11: note: place parentheses around the assignment to silence this warning 345 | if (p = getdata(mp, n, 2)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:345:11: note: use '==' to turn this assignment into an equality comparison 345 | if (p = getdata(mp, n, 2)) | ^ | == /var/tmp/work/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] 353 | if (p = getdata(mp, n, 8)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:353:11: note: place parentheses around the assignment to silence this warning 353 | if (p = getdata(mp, n, 8)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:353:11: note: use '==' to turn this assignment into an equality comparison 353 | if (p = getdata(mp, n, 8)) | ^ | == /var/tmp/work/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] 361 | if (p = getdata(mp, n, 4)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:361:11: note: place parentheses around the assignment to silence this warning 361 | if (p = getdata(mp, n, 4)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:361:11: note: use '==' to turn this assignment into an equality comparison 361 | if (p = getdata(mp, n, 4)) | ^ | == /var/tmp/work/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] 620 | if (base = strrchr(file, '/')) | ~~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:620:15: note: place parentheses around the assignment to silence this warning 620 | if (base = strrchr(file, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:620:15: note: use '==' to turn this assignment into an equality comparison 620 | if (base = strrchr(file, '/')) | ^ | == /var/tmp/work/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] 745 | if (mask = ep->mask) | ~~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:745:12: note: place parentheses around the assignment to silence this warning 745 | if (mask = ep->mask) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:745:12: note: use '==' to turn this assignment into an equality comparison 745 | if (mask = ep->mask) | ^ | == /var/tmp/work/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] 1101 | if (t = strrchr(s, '/')) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1101:11: note: place parentheses around the assignment to silence this warning 1101 | if (t = strrchr(s, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1101:11: note: use '==' to turn this assignment into an equality comparison 1101 | if (t = strrchr(s, '/')) | ^ | == /var/tmp/work/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] 1188 | if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1188:23: note: place parentheses around the assignment to silence this warning 1188 | if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1188:23: note: use '==' to turn this assignment into an equality comparison 1188 | if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) | ^ | == /var/tmp/work/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] 1198 | if (ip = (Info_t*)dtmatch(mp->idtab, s)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1198:16: note: place parentheses around the assignment to silence this warning 1198 | if (ip = (Info_t*)dtmatch(mp->idtab, s)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1198:16: note: use '==' to turn this assignment into an equality comparison 1198 | if (ip = (Info_t*)dtmatch(mp->idtab, s)) | ^ | == /var/tmp/work/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] 1693 | while (p = sfgetr(fp, '\n', 1)) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1693:11: note: place parentheses around the assignment to silence this warning 1693 | while (p = sfgetr(fp, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1693:11: note: use '==' to turn this assignment into an equality comparison 1693 | while (p = sfgetr(fp, '\n', 1)) | ^ | == /var/tmp/work/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] 1930 | if (p = strchr(p, '&')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1930:9: note: place parentheses around the assignment to silence this warning 1930 | if (p = strchr(p, '&')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1930:9: note: use '==' to turn this assignment into an equality comparison 1930 | if (p = strchr(p, '&')) | ^ | == /var/tmp/work/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] 1947 | if (p2 = strchr(p, '\t')) | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1947:10: note: place parentheses around the assignment to silence this warning 1947 | if (p2 = strchr(p, '\t')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:1947:10: note: use '==' to turn this assignment into an equality comparison 1947 | if (p2 = strchr(p, '\t')) | ^ | == /var/tmp/work/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] 2063 | if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2063:23: note: place parentheses around the assignment to silence this warning 2063 | if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2063:23: note: use '==' to turn this assignment into an equality comparison 2063 | if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) | ^ | == /var/tmp/work/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] 2160 | if (p = strchr(p2, '\t')) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2160:10: note: place parentheses around the assignment to silence this warning 2160 | if (p = strchr(p2, '\t')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2160:10: note: use '==' to turn this assignment into an equality comparison 2160 | if (p = strchr(p2, '\t')) | ^ | == /var/tmp/work/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] 2176 | if (p = strchr(p2, '\t')) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2176:14: note: place parentheses around the assignment to silence this warning 2176 | if (p = strchr(p2, '\t')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2176:14: note: use '==' to turn this assignment into an equality comparison 2176 | if (p = strchr(p2, '\t')) | ^ | == /var/tmp/work/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] 2242 | if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2242:11: note: place parentheses around the assignment to silence this warning 2242 | if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2242:11: note: use '==' to turn this assignment into an equality comparison 2242 | if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) | ^ | == /var/tmp/work/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] 2251 | else if (e = strchr(s, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2251:14: note: place parentheses around the assignment to silence this warning 2251 | else if (e = strchr(s, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2251:14: note: use '==' to turn this assignment into an equality comparison 2251 | else if (e = strchr(s, ':')) | ^ | == /var/tmp/work/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] 2407 | if (mp->fp = fp) | ~~~~~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2407:14: note: place parentheses around the assignment to silence this warning 2407 | if (mp->fp = fp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.c:2407:14: note: use '==' to turn this assignment into an equality comparison 2407 | if (mp->fp = fp) | ^ | == 39 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 111 | while (att = cap->att.next) | ~~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:111:13: note: place parentheses around the assignment to silence this warning 111 | while (att = cap->att.next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:111:13: note: use '==' to turn this assignment into an equality comparison 111 | while (att = cap->att.next) | ^ | == /var/tmp/work/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] 129 | while (cap = ent->cap) | ~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:129:13: note: place parentheses around the assignment to silence this warning 129 | while (cap = ent->cap) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:129:13: note: use '==' to turn this assignment into an equality comparison 129 | while (cap = ent->cap) | ^ | == /var/tmp/work/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] 304 | else if (e = strchr(s, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:304:14: note: place parentheses around the assignment to silence this warning 304 | else if (e = strchr(s, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:304:14: note: use '==' to turn this assignment into an equality comparison 304 | else if (e = strchr(s, ':')) | ^ | == /var/tmp/work/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] 320 | if (fp = tokline(s, SF_READ, NiL)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:320:10: note: place parentheses around the assignment to silence this warning 320 | if (fp = tokline(s, SF_READ, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:320:10: note: use '==' to turn this assignment into an equality comparison 320 | if (fp = tokline(s, SF_READ, NiL)) | ^ | == /var/tmp/work/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] 322 | while (t = sfgetr(fp, '\n', 1)) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:322:13: note: place parentheses around the assignment to silence this warning 322 | while (t = sfgetr(fp, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:322:13: note: use '==' to turn this assignment into an equality comparison 322 | while (t = sfgetr(fp, '\n', 1)) | ^ | == /var/tmp/work/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] 417 | if (ent = (Ent_t*)dtmatch(mp->cap, s)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:417:13: note: place parentheses around the assignment to silence this warning 417 | if (ent = (Ent_t*)dtmatch(mp->cap, s)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:417:13: note: use '==' to turn this assignment into an equality comparison 417 | if (ent = (Ent_t*)dtmatch(mp->cap, s)) | ^ | == /var/tmp/work/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] 425 | if (ent = (Ent_t*)dtmatch(mp->cap, s)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:425:14: note: place parentheses around the assignment to silence this warning 425 | if (ent = (Ent_t*)dtmatch(mp->cap, s)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:425:14: note: use '==' to turn this assignment into an equality comparison 425 | if (ent = (Ent_t*)dtmatch(mp->cap, s)) | ^ | == /var/tmp/work/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] 450 | if (ws.pattern = pattern) | ~~~~~~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:450:17: note: place parentheses around the assignment to silence this warning 450 | if (ws.pattern = pattern) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:450:17: note: use '==' to turn this assignment into an equality comparison 450 | if (ws.pattern = pattern) | ^ | == /var/tmp/work/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] 455 | else if (ent = find(mp, ws.pattern)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:455:16: note: place parentheses around the assignment to silence this warning 455 | else if (ent = find(mp, ws.pattern)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:455:16: note: use '==' to turn this assignment into an equality comparison 455 | else if (ent = find(mp, ws.pattern)) | ^ | == /var/tmp/work/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] 580 | if (c = *s) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:580:12: note: place parentheses around the assignment to silence this warning 580 | if (c = *s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:580:12: note: use '==' to turn this assignment into an equality comparison 580 | if (c = *s) | ^ | == /var/tmp/work/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] 642 | if (ent = find(mp, type)) | ~~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:642:10: note: place parentheses around the assignment to silence this warning 642 | if (ent = find(mp, type)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:642:10: note: use '==' to turn this assignment into an equality comparison 642 | if (ent = find(mp, type)) | ^ | == /var/tmp/work/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] 646 | while (s = cap->test) | ~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:646:13: note: place parentheses around the assignment to silence this warning 646 | while (s = cap->test) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:646:13: note: use '==' to turn this assignment into an equality comparison 646 | while (s = cap->test) | ^ | == /var/tmp/work/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] 648 | if (s = expand(mp, s, name, type, opts)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:648:11: note: place parentheses around the assignment to silence this warning 648 | if (s = expand(mp, s, name, type, opts)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:648:11: note: use '==' to turn this assignment into an equality comparison 648 | if (s = expand(mp, s, name, type, opts)) | ^ | == /var/tmp/work/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] 746 | if (n = lower(*s++) - lower(*v++)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:746:9: note: place parentheses around the assignment to silence this warning 746 | if (n = lower(*s++) - lower(*v++)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mime.c:746:9: note: use '==' to turn this assignment into an equality comparison 746 | if (n = lower(*s++) - lower(*v++)) | ^ | == 35 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimetype.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/mimelib.h:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/sig.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/sig.sh ... iffe: test: capture output of /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/signal.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/sigflag.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/systrace.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include '-DERROR_CATALOG="libast"' -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c /var/tmp/work/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] 277 | while (c = *name++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:277:12: note: place parentheses around the assignment to silence this warning 277 | while (c = *name++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:277:12: note: use '==' to turn this assignment into an equality comparison 277 | while (c = *name++) | ^ | == /var/tmp/work/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] 335 | if (s = sfgetr(error_state.tty, '\n', 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:335:9: note: place parentheses around the assignment to silence this warning 335 | if (s = sfgetr(error_state.tty, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:335:9: note: use '==' to turn this assignment into an equality comparison 335 | if (s = sfgetr(error_state.tty, '\n', 1)) | ^ | == /var/tmp/work/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] 435 | if (off = stktell(stkstd)) | ~~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:435:11: note: place parentheses around the assignment to silence this warning 435 | if (off = stktell(stkstd)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:435:11: note: use '==' to turn this assignment into an equality comparison 435 | if (off = stktell(stkstd)) | ^ | == /var/tmp/work/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] 563 | if (t = memchr(s, '\f', n)) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:563:10: note: place parentheses around the assignment to silence this warning 563 | if (t = memchr(s, '\f', n)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:563:10: note: use '==' to turn this assignment into an equality comparison 563 | if (t = memchr(s, '\f', n)) | ^ | == /var/tmp/work/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] 642 | if (p = freecontext) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:642:10: note: place parentheses around the assignment to silence this warning 642 | if (p = freecontext) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/error.c:642:10: note: use '==' to turn this assignment into an equality comparison 642 | if (p = freecontext) | ^ | == 5 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/errorf.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/errormsg.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/errorx.c /var/tmp/work/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] 46 | if (s = (*error_info.translate)(loc, cmd, cat, msg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/errorx.c:46:9: note: place parentheses around the assignment to silence this warning 46 | if (s = (*error_info.translate)(loc, cmd, cat, msg)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/errorx.c:46:9: note: use '==' to turn this assignment into an equality comparison 46 | if (s = (*error_info.translate)(loc, cmd, cat, msg)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c /var/tmp/work/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] 397 | if (e = t) | ~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:397:8: note: place parentheses around the assignment to silence this warning 397 | if (e = t) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/setlocale.c:397:8: note: use '==' to turn this assignment into an equality comparison 397 | if (e = t) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/translate.c /var/tmp/work/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] 140 | else if (o = setlocale(LC_MESSAGES, NiL)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/translate.c:140:14: note: place parentheses around the assignment to silence this warning 140 | else if (o = setlocale(LC_MESSAGES, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/translate.c:140:14: note: use '==' to turn this assignment into an equality comparison 140 | else if (o = setlocale(LC_MESSAGES, NiL)) | ^ | == /var/tmp/work/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] 201 | if (cp->messages = dtopen(&state.message_disc, Dtset)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/translate.c:201:20: note: place parentheses around the assignment to silence this warning 201 | if (cp->messages = dtopen(&state.message_disc, Dtset)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/translate.c:201:20: note: use '==' to turn this assignment into an equality comparison 201 | if (cp->messages = dtopen(&state.message_disc, Dtset)) | ^ | == /var/tmp/work/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] 242 | if (t = strchr(s, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/translate.c:242:9: note: place parentheses around the assignment to silence this warning 242 | if (t = strchr(s, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/translate.c:242:9: note: use '==' to turn this assignment into an equality comparison 242 | if (t = strchr(s, ':')) | ^ | == 3 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/catopen.c /var/tmp/work/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] 157 | if (s = sfstruse(((Cc_t*)cat)->tmp)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:157:10: note: place parentheses around the assignment to silence this warning 157 | if (s = sfstruse(((Cc_t*)cat)->tmp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/catopen.c:157:10: note: use '==' to turn this assignment into an equality comparison 157 | if (s = sfstruse(((Cc_t*)cat)->tmp)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c /var/tmp/work/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] 473 | if (cp = bp) | ~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:473:9: note: place parentheses around the assignment to silence this warning 473 | if (cp = bp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:473:9: note: use '==' to turn this assignment into an equality comparison 473 | if (cp = bp) | ^ | == /var/tmp/work/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] 701 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:701:12: note: place parentheses around the assignment to silence this warning 701 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:701:12: note: use '==' to turn this assignment into an equality comparison 701 | while (c = *s++) | ^ | == /var/tmp/work/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] 704 | for (i = 0; c = ume_M[i]; i++) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:704:17: note: place parentheses around the assignment to silence this warning 704 | for (i = 0; c = ume_M[i]; i++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:704:17: note: use '==' to turn this assignment into an equality comparison 704 | for (i = 0; c = ume_M[i]; i++) | ^ | == /var/tmp/work/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] 1212 | if (oc = freelist[i]) | ~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1212:11: note: place parentheses around the assignment to silence this warning 1212 | if (oc = freelist[i]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1212:11: note: use '==' to turn this assignment into an equality comparison 1212 | if (oc = freelist[i]) | ^ | == /var/tmp/work/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] 1285 | if (m = cc->to.map) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1285:10: note: place parentheses around the assignment to silence this warning 1285 | if (m = cc->to.map) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/iconv.c:1285:10: note: use '==' to turn this assignment into an equality comparison 1285 | if (m = cc->to.map) | ^ | == 5 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c /var/tmp/work/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] 462 | else if (al = newof(0, Lc_attribute_list_t, 1, 0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:462:16: note: place parentheses around the assignment to silence this warning 462 | else if (al = newof(0, Lc_attribute_list_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:462:16: note: use '==' to turn this assignment into an equality comparison 462 | else if (al = newof(0, Lc_attribute_list_t, 1, 0)) | ^ | == /var/tmp/work/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] 695 | if (s = attributes_name) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:695:8: note: place parentheses around the assignment to silence this warning 695 | if (s = attributes_name) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:695:8: note: use '==' to turn this assignment into an equality comparison 695 | if (s = attributes_name) | ^ | == /var/tmp/work/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] 714 | if (ai = newof(0, Lc_attribute_list_t, 1, 0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:714:14: note: place parentheses around the assignment to silence this warning 714 | if (ai = newof(0, Lc_attribute_list_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:714:14: note: use '==' to turn this assignment into an equality comparison 714 | if (ai = newof(0, Lc_attribute_list_t, 1, 0)) | ^ | == /var/tmp/work/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] 739 | if (s = charset_name) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:739:8: note: place parentheses around the assignment to silence this warning 739 | if (s = charset_name) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/lc.c:739:8: note: use '==' to turn this assignment into an equality comparison 739 | if (s = charset_name) | ^ | == 4 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c lctab.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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 ... no 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 ... yes 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_ast -O -lm ' run /var/tmp/work/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 ... yes iffe: test: long is larger than int ... yes 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_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 97 | for (i = 0; p = paths[i]; i += next) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:97:16: note: place parentheses around the assignment to silence this warning 97 | for (i = 0; p = paths[i]; i += next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:97:16: note: use '==' to turn this assignment into an equality comparison 97 | for (i = 0; p = paths[i]; i += next) | ^ | == /var/tmp/work/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] 190 | if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:190:10: note: place parentheses around the assignment to silence this warning 190 | if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:190:10: note: use '==' to turn this assignment into an equality comparison 190 | if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) | ^ | == /var/tmp/work/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] 299 | while (i = sfgetu(ip)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:299:11: note: place parentheses around the assignment to silence this warning 299 | while (i = sfgetu(ip)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:299:11: note: use '==' to turn this assignment into an equality comparison 299 | while (i = sfgetu(ip)) | ^ | == /var/tmp/work/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] 315 | if (n = sfgetu(ip)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:315:10: note: place parentheses around the assignment to silence this warning 315 | if (n = sfgetu(ip)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:315:10: note: use '==' to turn this assignment into an equality comparison 315 | if (n = sfgetu(ip)) | ^ | == /var/tmp/work/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] 485 | if (s = sp->msg[num]) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:485:8: note: place parentheses around the assignment to silence this warning 485 | if (s = sp->msg[num]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:485:8: note: use '==' to turn this assignment into an equality comparison 485 | if (s = sp->msg[num]) | ^ | == /var/tmp/work/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] 586 | if (s = sp->msg[j]) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:586:11: note: place parentheses around the assignment to silence this warning 586 | if (s = sp->msg[j]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mc.c:586:11: note: use '==' to turn this assignment into an equality comparison 586 | if (s = sp->msg[j]) | ^ | == 27 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/base64.c /var/tmp/work/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] 71 | if (tp = (unsigned char*)tb) | ~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/base64.c:71:9: note: place parentheses around the assignment to silence this warning 71 | if (tp = (unsigned char*)tb) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/base64.c:71:9: note: use '==' to turn this assignment into an equality comparison 71 | if (tp = (unsigned char*)tb) | ^ | == /var/tmp/work/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] 179 | for (tp = (unsigned char*)alp; c = *tp; tp++) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/base64.c:179:36: note: place parentheses around the assignment to silence this warning 179 | for (tp = (unsigned char*)alp; c = *tp; tp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/base64.c:179:36: note: use '==' to turn this assignment into an equality comparison 179 | for (tp = (unsigned char*)alp; c = *tp; tp++) | ^ | == /var/tmp/work/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] 186 | if (tp = (unsigned char*)tb) | ~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/base64.c:186:9: note: place parentheses around the assignment to silence this warning 186 | if (tp = (unsigned char*)tb) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/base64.c:186:9: note: use '==' to turn this assignment into an equality comparison 186 | if (tp = (unsigned char*)tb) | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/recfmt.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/recstr.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/reclen.c /var/tmp/work/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] 44 | if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/reclen.c:44:9: note: place parentheses around the assignment to silence this warning 44 | if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/reclen.c:44:9: note: use '==' to turn this assignment into an equality comparison 44 | if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fmtrec.c /var/tmp/work/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] 64 | if (n = REC_V_SIZE(f)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fmtrec.c:64:9: note: place parentheses around the assignment to silence this warning 64 | if (n = REC_V_SIZE(f)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/fmtrec.c:64:9: note: use '==' to turn this assignment into an equality comparison 64 | if (n = REC_V_SIZE(f)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtbase.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtbuf.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtclock.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtdev.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtelapsed.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmterror.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c /var/tmp/work/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] 83 | while (*b = *qb++) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:83:13: note: place parentheses around the assignment to silence this warning 83 | while (*b = *qb++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:83:13: note: use '==' to turn this assignment into an equality comparison 83 | while (*b = *qb++) | ^ | == /var/tmp/work/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] 212 | while (*b = *qe++) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:212:14: note: place parentheses around the assignment to silence this warning 212 | while (*b = *qe++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:212:14: note: use '==' to turn this assignment into an equality comparison 212 | while (*b = *qe++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtesc.c:92:19: warning: left operand of comma operator has no effect [-Wunused-value] 92 | if ((m = mbsize(s)) > 1 && (s + m) <= e) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfmt.c /var/tmp/work/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] 185 | if (extra[i] = x) | ~~~~~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfmt.c:185:18: note: place parentheses around the assignment to silence this warning 185 | if (extra[i] = x) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfmt.c:185:18: note: use '==' to turn this assignment into an equality comparison 185 | if (extra[i] = x) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 75 | else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:75:14: note: place parentheses around the assignment to silence this warning 75 | else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:75:14: note: use '==' to turn this assignment into an equality comparison 75 | else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) | ^ | == /var/tmp/work/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] 78 | if (mp = mntopen(NiL, "r")) | ~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:78:9: note: place parentheses around the assignment to silence this warning 78 | if (mp = mntopen(NiL, "r")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtfs.c:78:9: note: use '==' to turn this assignment into an equality comparison 78 | if (mp = mntopen(NiL, "r")) | ^ | == 23 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtident.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtint.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtip4.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c /var/tmp/work/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] 62 | while (*s = *p++) | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c:62:12: note: place parentheses around the assignment to silence this warning 62 | while (*s = *p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtip6.c:62:12: note: use '==' to turn this assignment into an equality comparison 62 | while (*s = *p++) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 93 | while (*s = *info++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:93:13: note: place parentheses around the assignment to silence this warning 93 | while (*s = *info++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:93:13: note: use '==' to turn this assignment into an equality comparison 93 | while (*s = *info++) | ^ | == /var/tmp/work/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] 97 | while (*s = *name++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:97:12: note: place parentheses around the assignment to silence this warning 97 | while (*s = *name++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtls.c:97:12: note: use '==' to turn this assignment into an equality comparison 97 | while (*s = *name++) | ^ | == 23 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c /var/tmp/work/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] 54 | if (a = *s == '^') | ~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:54:8: note: place parentheses around the assignment to silence this warning 54 | if (a = *s == '^') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:54:8: note: use '==' to turn this assignment into an equality comparison 54 | if (a = *s == '^') | ^ | == /var/tmp/work/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] 146 | while (*t = *s) | ~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:146:16: note: place parentheses around the assignment to silence this warning 146 | while (*t = *s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:146:16: note: use '==' to turn this assignment into an equality comparison 146 | while (*t = *s) | ^ | == /var/tmp/work/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] 267 | if (e = !*s) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:267:10: note: place parentheses around the assignment to silence this warning 267 | if (e = !*s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmatch.c:267:10: note: use '==' to turn this assignment into an equality comparison 267 | if (e = !*s) | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtmode.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtnum.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtperm.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtre.c /var/tmp/work/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] 118 | if (p->min = *s == '-') | ~~~~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:118:16: note: place parentheses around the assignment to silence this warning 118 | if (p->min = *s == '-') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:118:16: note: use '==' to turn this assignment into an equality comparison 118 | if (p->min = *s == '-') | ^ | == /var/tmp/work/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] 147 | for (s += 3; *t = *s; t++, s++); | ~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:147:23: note: place parentheses around the assignment to silence this warning 147 | for (s += 3; *t = *s; t++, s++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:147:23: note: use '==' to turn this assignment into an equality comparison 147 | for (s += 3; *t = *s; t++, s++); | ^ | == /var/tmp/work/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] 158 | if (p->min = *s == '-') | ~~~~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:158:17: note: place parentheses around the assignment to silence this warning 158 | if (p->min = *s == '-') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtre.c:158:17: note: use '==' to turn this assignment into an equality comparison 158 | if (p->min = *s == '-') | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmttime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c /var/tmp/work/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] 76 | else if (ip = (Id_t*)dtmatch(dict, &uid)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:76:14: note: place parentheses around the assignment to silence this warning 76 | else if (ip = (Id_t*)dtmatch(dict, &uid)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:76:14: note: use '==' to turn this assignment into an equality comparison 76 | else if (ip = (Id_t*)dtmatch(dict, &uid)) | ^ | == /var/tmp/work/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] 78 | if (pw = getpwuid(uid)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:78:9: note: place parentheses around the assignment to silence this warning 78 | if (pw = getpwuid(uid)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtuid.c:78:9: note: use '==' to turn this assignment into an equality comparison 78 | if (pw = getpwuid(uid)) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c /var/tmp/work/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] 76 | else if (ip = (Id_t*)dtmatch(dict, &gid)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:76:14: note: place parentheses around the assignment to silence this warning 76 | else if (ip = (Id_t*)dtmatch(dict, &gid)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:76:14: note: use '==' to turn this assignment into an equality comparison 76 | else if (ip = (Id_t*)dtmatch(dict, &gid)) | ^ | == /var/tmp/work/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] 78 | if (gr = getgrgid(gid)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:78:9: note: place parentheses around the assignment to silence this warning 78 | if (gr = getgrgid(gid)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtgid.c:78:9: note: use '==' to turn this assignment into an equality comparison 78 | if (gr = getgrgid(gid)) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtsignal.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtscale.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmttmx.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmttv.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c /var/tmp/work/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] 46 | if (n = (v >> 24) & 0xff) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:46:9: note: place parentheses around the assignment to silence this warning 46 | if (n = (v >> 24) & 0xff) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:46:9: note: use '==' to turn this assignment into an equality comparison 46 | if (n = (v >> 24) & 0xff) | ^ | == /var/tmp/work/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] 48 | if (n = (v >> 16) & 0xff) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:48:9: note: place parentheses around the assignment to silence this warning 48 | if (n = (v >> 16) & 0xff) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/fmtversion.c:48:9: note: use '==' to turn this assignment into an equality comparison 48 | if (n = (v >> 16) & 0xff) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strelapsed.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strperm.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/struid.c /var/tmp/work/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] 80 | else if (ip = (Id_t*)dtmatch(dict, name)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/struid.c:80:14: note: place parentheses around the assignment to silence this warning 80 | else if (ip = (Id_t*)dtmatch(dict, name)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/struid.c:80:14: note: use '==' to turn this assignment into an equality comparison 80 | else if (ip = (Id_t*)dtmatch(dict, name)) | ^ | == /var/tmp/work/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] 82 | if (pw = getpwnam(name)) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/struid.c:82:9: note: place parentheses around the assignment to silence this warning 82 | if (pw = getpwnam(name)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/struid.c:82:9: note: use '==' to turn this assignment into an equality comparison 82 | if (pw = getpwnam(name)) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strgid.c /var/tmp/work/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] 86 | else if (ip = (Id_t*)dtmatch(dict, name)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strgid.c:86:14: note: place parentheses around the assignment to silence this warning 86 | else if (ip = (Id_t*)dtmatch(dict, name)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strgid.c:86:14: note: use '==' to turn this assignment into an equality comparison 86 | else if (ip = (Id_t*)dtmatch(dict, name)) | ^ | == /var/tmp/work/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] 88 | if (gr = getgrnam(name)) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strgid.c:88:9: note: place parentheses around the assignment to silence this warning 88 | if (gr = getgrnam(name)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strgid.c:88:9: note: use '==' to turn this assignment into an equality comparison 88 | if (gr = getgrnam(name)) | ^ | == /var/tmp/work/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] 90 | else if (pw = getpwnam(name)) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strgid.c:90:14: note: place parentheses around the assignment to silence this warning 90 | else if (pw = getpwnam(name)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strgid.c:90:14: note: use '==' to turn this assignment into an equality comparison 90 | else if (pw = getpwnam(name)) | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c /var/tmp/work/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] 95 | if (old = part < 4) | ~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:95:10: note: place parentheses around the assignment to silence this warning 95 | if (old = part < 4) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:95:10: note: use '==' to turn this assignment into an equality comparison 95 | if (old = part < 4) | ^ | == /var/tmp/work/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] 138 | if (*pbits = bits) | ~~~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:138:14: note: place parentheses around the assignment to silence this warning 138 | if (*pbits = bits) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoip4.c:138:14: note: use '==' to turn this assignment into an equality comparison 138 | if (*pbits = bits) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoip6.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/stack.c /var/tmp/work/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] 76 | while (p = b) | ~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/stack.c:76:11: note: place parentheses around the assignment to silence this warning 76 | while (p = b) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/stack.c:76:11: note: use '==' to turn this assignment into an equality comparison 76 | while (p = b) | ^ | == 1 warning generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/align.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/align.c ... ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/stk.c /var/tmp/work/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] 545 | if(fp->nalias=nn) | ~~~~~~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/stk.c:545:15: note: place parentheses around the assignment to silence this warning 545 | if(fp->nalias=nn) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/stk.c:545:15: note: use '==' to turn this assignment into an equality comparison 545 | if(fp->nalias=nn) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/swapget.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/swapmem.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/swapop.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/swapput.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/signal.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/signal.c ... ./pkgs44397.c:389:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 389 | else if (s = strsignal(i)) | ~~^~~~~~~~~~~~~~ ./pkgs44397.c:389:14: note: place parentheses around the assignment to silence this warning 389 | else if (s = strsignal(i)) | ^ | ( ) ./pkgs44397.c:389:14: note: use '==' to turn this assignment into an equality comparison 389 | else if (s = strsignal(i)) | ^ | == 1 warning generated. ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/signal.c ... yes + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/sigdata.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/sigcrit.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/sigunblock.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:36: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 670 | for (i = 0; n = modv[i]; i++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:670:18: note: place parentheses around the assignment to silence this warning 670 | for (i = 0; n = modv[i]; i++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:670:18: note: use '==' to turn this assignment into an equality comparison 670 | for (i = 0; n = modv[i]; i++) | ^ | == /var/tmp/work/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] 765 | while (*p++ = *argv++); | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:765:17: note: place parentheses around the assignment to silence this warning 765 | while (*p++ = *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:765:17: note: use '==' to turn this assignment into an equality comparison 765 | while (*p++ = *argv++); | ^ | == /var/tmp/work/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] 829 | for (i = 0; n = modv[i]; i++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:829:18: note: place parentheses around the assignment to silence this warning 829 | for (i = 0; n = modv[i]; i++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:829:18: note: use '==' to turn this assignment into an equality comparison 829 | for (i = 0; n = modv[i]; i++) | ^ | == /var/tmp/work/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] 915 | for (i = 0; n = modv[i]; i++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:915:17: note: place parentheses around the assignment to silence this warning 915 | for (i = 0; n = modv[i]; i++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procopen.c:915:17: note: use '==' to turn this assignment into an equality comparison 915 | for (i = 0; n = modv[i]; i++) | ^ | == 25 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procclose.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procrun.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/procfree.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmdate.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmequiv.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c /var/tmp/work/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] 58 | if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:58:8: note: place parentheses around the assignment to silence this warning 58 | if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:58:8: note: use '==' to turn this assignment into an equality comparison 58 | if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) | ^ | == /var/tmp/work/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] 155 | if (w = (w - p->tm_wday)) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:155:9: note: place parentheses around the assignment to silence this warning 155 | if (w = (w - p->tm_wday)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmfix.c:155:9: note: use '==' to turn this assignment into an equality comparison 155 | if (w = (w - p->tm_wday)) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmfmt.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmform.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmgoff.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tminit.c /var/tmp/work/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] 161 | if (n = tp->tm_yday - n) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:161:8: note: place parentheses around the assignment to silence this warning 161 | if (n = tp->tm_yday - n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:161:8: note: use '==' to turn this assignment into an equality comparison 161 | if (n = tp->tm_yday - n) | ^ | == /var/tmp/work/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] 226 | if (s = getenv("TZ")) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:226:9: note: place parentheses around the assignment to silence this warning 226 | if (s = getenv("TZ")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:226:9: note: use '==' to turn this assignment into an equality comparison 226 | if (s = getenv("TZ")) | ^ | == /var/tmp/work/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] 313 | if (s = strchr(s, ',')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:313:9: note: place parentheses around the assignment to silence this warning 313 | if (s = strchr(s, ',')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tminit.c:313:9: note: use '==' to turn this assignment into an equality comparison 313 | if (s = strchr(s, ',')) | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmleap.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlex.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c /var/tmp/work/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] 536 | while (*s++ = *t++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:536:15: note: place parentheses around the assignment to silence this warning 536 | while (*s++ = *t++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:536:15: note: use '==' to turn this assignment into an equality comparison 536 | while (*s++ = *t++); | ^ | == /var/tmp/work/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] 567 | if (b = (char**)li->data) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:567:8: note: place parentheses around the assignment to silence this warning 567 | if (b = (char**)li->data) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:567:8: note: use '==' to turn this assignment into an equality comparison 567 | if (b = (char**)li->data) | ^ | == /var/tmp/work/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] 581 | if (u = (unsigned char*)sfreserve(sp, 3, 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:581:9: note: place parentheses around the assignment to silence this warning 581 | if (u = (unsigned char*)sfreserve(sp, 3, 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:581:9: note: use '==' to turn this assignment into an equality comparison 581 | if (u = (unsigned char*)sfreserve(sp, 3, 1)) | ^ | == /var/tmp/work/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] 585 | if (tp = sfstropen()) | ~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:585:12: note: place parentheses around the assignment to silence this warning 585 | if (tp = sfstropen()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:585:12: note: use '==' to turn this assignment into an equality comparison 585 | if (tp = sfstropen()) | ^ | == /var/tmp/work/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] 595 | if (b = newof(0, char*, TM_NFORM, n + 2)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:595:9: note: place parentheses around the assignment to silence this warning 595 | if (b = newof(0, char*, TM_NFORM, n + 2)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmlocale.c:595:9: note: use '==' to turn this assignment into an equality comparison 595 | if (b = newof(0, char*, TM_NFORM, n + 2)) | ^ | == 5 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmmake.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmpoff.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmscan.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmsleep.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmtime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmtype.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c /var/tmp/work/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] 81 | if (d = tm->tm_wday - day) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c:81:8: note: place parentheses around the assignment to silence this warning 81 | if (d = tm->tm_wday - day) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmweek.c:81:8: note: use '==' to turn this assignment into an equality comparison 81 | if (d = tm->tm_wday - day) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmword.c /var/tmp/work/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] 52 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmword.c:52:12: note: place parentheses around the assignment to silence this warning 52 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmword.c:52:12: note: use '==' to turn this assignment into an equality comparison 52 | while (c = *s++) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmzone.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c /var/tmp/work/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] 508 | if (w = t - s) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:508:10: note: place parentheses around the assignment to silence this warning 508 | if (w = t - s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:508:10: note: use '==' to turn this assignment into an equality comparison 508 | if (w = t - s) | ^ | == /var/tmp/work/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] 821 | if (n = strtol(s, &t, 10)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:821:12: note: place parentheses around the assignment to silence this warning 821 | if (n = strtol(s, &t, 10)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:821:12: note: use '==' to turn this assignment into an equality comparison 821 | if (n = strtol(s, &t, 10)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:970:32: warning: for loop has empty body [-Wempty-body] 970 | for (s = t; skip[*s]; s++); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:970:32: note: put the semicolon on a separate line to silence this warning /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:834:34: warning: for loop has empty body [-Wempty-body] 834 | for (u = t; isspace(*u); u++); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxdate.c:834:34: note: put the semicolon on a separate line to silence this warning 4 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxduration.c + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c /var/tmp/work/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] 371 | if (c = *format) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:371:10: note: place parentheses around the assignment to silence this warning 371 | if (c = *format) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:371:10: note: use '==' to turn this assignment into an equality comparison 371 | if (c = *format) | ^ | == /var/tmp/work/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] 476 | if (p = zp->type) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:476:16: note: place parentheses around the assignment to silence this warning 476 | if (p = zp->type) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:476:16: note: use '==' to turn this assignment into an equality comparison 476 | if (p = zp->type) | ^ | == /var/tmp/work/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] 478 | else if (p = zp->type) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:478:19: note: place parentheses around the assignment to silence this warning 478 | else if (p = zp->type) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:478:19: note: use '==' to turn this assignment into an equality comparison 478 | else if (p = zp->type) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:478:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 478 | else if (p = zp->type) | ^ /var/tmp/work/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] 497 | while (n = *format) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:497:15: note: place parentheses around the assignment to silence this warning 497 | while (n = *format) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:497:15: note: use '==' to turn this assignment into an equality comparison 497 | while (n = *format) | ^ | == /var/tmp/work/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] 607 | if (*arg++ = *format) | ~~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:607:15: note: place parentheses around the assignment to silence this warning 607 | if (*arg++ = *format) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxfmt.c:607:15: note: use '==' to turn this assignment into an equality comparison 607 | if (*arg++ = *format) | ^ | == 6 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxgettime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxleap.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxmake.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c /var/tmp/work/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] 374 | if (zp = tmtype(s, &u)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:374:12: note: place parentheses around the assignment to silence this warning 374 | if (zp = tmtype(s, &u)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:374:12: note: use '==' to turn this assignment into an equality comparison 374 | if (zp = tmtype(s, &u)) | ^ | == /var/tmp/work/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] 486 | if (p = newof(0, char*, n, m)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:486:11: note: place parentheses around the assignment to silence this warning 486 | if (p = newof(0, char*, n, m)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:486:11: note: use '==' to turn this assignment into an equality comparison 486 | if (p = newof(0, char*, n, m)) | ^ | == /var/tmp/work/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] 511 | if (p = datemask) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:511:9: note: place parentheses around the assignment to silence this warning 511 | if (p = datemask) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:511:9: note: use '==' to turn this assignment into an equality comparison 511 | if (p = datemask) | ^ | == /var/tmp/work/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] 512 | while (v = *p++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:512:13: note: place parentheses around the assignment to silence this warning 512 | while (v = *p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxscan.c:512:13: note: use '==' to turn this assignment into an equality comparison 512 | while (v = *p++) | ^ | == 4 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxsettime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxsleep.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c /var/tmp/work/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] 99 | if (tm->tm_isdst = tl->tm_isdst) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:99:22: note: place parentheses around the assignment to silence this warning 99 | if (tm->tm_isdst = tl->tm_isdst) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxtime.c:99:22: note: use '==' to turn this assignment into an equality comparison 99 | if (tm->tm_isdst = tl->tm_isdst) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmxtouch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvcmp.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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 ... yes 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 ... yes 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 ... yes iffe: test: link{ ... }end ... no iffe: test: output{ ... }end ... yes + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvgettime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvsettime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvsleep.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:41: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 260 | if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:260:11: note: place parentheses around the assignment to silence this warning 260 | if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tvtouch.c:260:11: note: use '==' to turn this assignment into an equality comparison 260 | if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) | ^ | == 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c /var/tmp/work/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] 200 | while (*p = *++argv) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:200:12: note: place parentheses around the assignment to silence this warning 200 | while (*p = *++argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:200:12: note: use '==' to turn this assignment into an equality comparison 200 | while (*p = *++argv) | ^ | == /var/tmp/work/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] 209 | while (s = *argv) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:209:12: note: place parentheses around the assignment to silence this warning 209 | while (s = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:209:12: note: use '==' to turn this assignment into an equality comparison 209 | while (s = *argv) | ^ | == /var/tmp/work/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] 250 | if (p = cmd->postarg) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:250:8: note: place parentheses around the assignment to silence this warning 250 | if (p = cmd->postarg) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:250:8: note: use '==' to turn this assignment into an equality comparison 250 | if (p = cmd->postarg) | ^ | == /var/tmp/work/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] 251 | while (*cmd->nextarg++ = *p++); | ~~~~~~~~~~~~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:251:26: note: place parentheses around the assignment to silence this warning 251 | while (*cmd->nextarg++ = *p++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:251:26: note: use '==' to turn this assignment into an equality comparison 251 | while (*cmd->nextarg++ = *p++); | ^ | == /var/tmp/work/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] 254 | if (s = cmd->insert) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:254:8: note: place parentheses around the assignment to silence this warning 254 | if (s = cmd->insert) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:254:8: note: use '==' to turn this assignment into an equality comparison 254 | if (s = cmd->insert) | ^ | == /var/tmp/work/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] 270 | if (t = cmd->insertarg[n]) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:270:10: note: place parentheses around the assignment to silence this warning 270 | if (t = cmd->insertarg[n]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:270:10: note: use '==' to turn this assignment into an equality comparison 270 | if (t = cmd->insertarg[n]) | ^ | == /var/tmp/work/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] 310 | while (s = *++p) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:310:12: note: place parentheses around the assignment to silence this warning 310 | while (s = *++p) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:310:12: note: use '==' to turn this assignment into an equality comparison 310 | while (s = *++p) | ^ | == /var/tmp/work/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] 322 | for (p = cmd->argv + 1; s = *p++;) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:322:29: note: place parentheses around the assignment to silence this warning 322 | for (p = cmd->argv + 1; s = *p++;) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:322:29: note: use '==' to turn this assignment into an equality comparison 322 | for (p = cmd->argv + 1; s = *p++;) | ^ | == /var/tmp/work/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] 370 | if (i = cmdflush(cmd)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:370:10: note: place parentheses around the assignment to silence this warning 370 | if (i = cmdflush(cmd)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/cmdarg.c:370:10: note: use '==' to turn this assignment into an equality comparison 370 | if (i = cmdflush(cmd)) | ^ | == 9 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c /var/tmp/work/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] 65 | while (s = *argv = *vec++) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:65:12: note: place parentheses around the assignment to silence this warning 65 | while (s = *argv = *vec++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:65:12: note: use '==' to turn this assignment into an equality comparison 65 | while (s = *argv = *vec++) | ^ | == /var/tmp/work/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] 71 | while (*argv = *oargv++) argv++; | ~~~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:71:16: note: place parentheses around the assignment to silence this warning 71 | while (*argv = *oargv++) argv++; | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecargs.c:71:16: note: use '==' to turn this assignment into an equality comparison 71 | while (*argv = *oargv++) argv++; | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfile.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecfree.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecload.c /var/tmp/work/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] 78 | if (p = newof(0, char*, n + 3, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecload.c:78:8: note: place parentheses around the assignment to silence this warning 78 | if (p = newof(0, char*, n + 3, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecload.c:78:8: note: use '==' to turn this assignment into an equality comparison 78 | if (p = newof(0, char*, n + 3, 0)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vec/vecstring.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univdata.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/touch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 73 | if (x = (const char*)strchr(fs, ':')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:73:8: note: place parentheses around the assignment to silence this warning 73 | if (x = (const char*)strchr(fs, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:73:8: note: use '==' to turn this assignment into an equality comparison 73 | if (x = (const char*)strchr(fs, ':')) | ^ | == /var/tmp/work/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] 85 | else if (x = (const char*)strchr(fs, '@')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:85:13: note: place parentheses around the assignment to silence this warning 85 | else if (x = (const char*)strchr(fs, '@')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/mnt.c:85:13: note: use '==' to turn this assignment into an equality comparison 85 | else if (x = (const char*)strchr(fs, '@')) | ^ | == 23 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/debug.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c:39:1: error: expected parameter declarator 39 | memccpy(void* as1, const void* as2, register int c, size_t n) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:55:47: note: expanded from macro 'memccpy' 55 | __builtin___memccpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:40:63: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c:39:1: error: expected ')' /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:55:47: note: expanded from macro 'memccpy' 55 | __builtin___memccpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:40:63: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c:39:1: note: to match this '(' /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:55:47: note: expanded from macro 'memccpy' 55 | __builtin___memccpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:40:54: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c:39:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | memccpy(void* as1, const void* as2, register int c, size_t n) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:55:47: note: expanded from macro 'memccpy' 55 | __builtin___memccpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:40:32: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c:39:1: error: conflicting types for '__builtin___memccpy_chk' /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:55:3: note: expanded from macro 'memccpy' 55 | __builtin___memccpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memccpy.c:39:1: note: '__builtin___memccpy_chk' is a builtin with type 'void *(void *, const void *, int, unsigned long, unsigned long)' /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:55:3: note: expanded from macro 'memccpy' 55 | __builtin___memccpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ 4 errors generated. mamake [lib/libast]: *** exit code 1 making memccpy.o + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memchr.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memcmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memcpy.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/memdup.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memmove.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/memset.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mkdir.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mkfifo.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mknod.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/rmdir.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/remove.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/rename.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/link.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/unlink.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strdup.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strchr.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strrchr.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strstr.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtod.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:52: /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:187:1: warning: incompatible redeclaration of library function 'strtold' [-Wincompatible-library-redeclaration] 187 | S2F_function(const char* str, char** end) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:26:22: note: expanded from macro 'S2F_function' 26 | #define S2F_function strtold | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:187:1: note: 'strtold' is a builtin with type 'long double (const char *, char **)' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtold.c:26:22: note: expanded from macro 'S2F_function' 26 | #define S2F_function strtold | ^ 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtol.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:44: /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:220:1: warning: incompatible redeclaration of library function 'strtoll' [-Wincompatible-library-redeclaration] 220 | S2I_function(const char* a, char** e, int base) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:40:22: note: expanded from macro 'S2I_function' 40 | #define S2I_function strtoll | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:220:1: note: 'strtoll' is a builtin with type 'long long (const char *, char **, int)' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoll.c:40:22: note: expanded from macro 'S2I_function' 40 | #define S2I_function strtoll | ^ 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoul.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:45: /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:220:1: warning: incompatible redeclaration of library function 'strtoull' [-Wincompatible-library-redeclaration] 220 | S2I_function(const char* a, char** e, int base) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:40:22: note: expanded from macro 'S2I_function' 40 | #define S2I_function strtoull | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:220:1: note: 'strtoull' is a builtin with type 'unsigned long long (const char *, char **, int)' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strtoull.c:40:22: note: expanded from macro 'S2I_function' 40 | #define S2I_function strtoull | ^ 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strton.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtonll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntod.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntold.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtof.h:48: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strnton.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntonll.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntol.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoll.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoul.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strntoull.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strtoi.h:89: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strcasecmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strncasecmp.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/strerror.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mktemp.c /var/tmp/work/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] 52 | if (s = strrchr(buf, '/')) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mktemp.c:52:8: note: place parentheses around the assignment to silence this warning 52 | if (s = strrchr(buf, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mktemp.c:52:8: note: use '==' to turn this assignment into an equality comparison 52 | if (s = strrchr(buf, '/')) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/tmpnam.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/fsync.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execlp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execve.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execvp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c /var/tmp/work/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] 61 | if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:61:15: note: place parentheses around the assignment to silence this warning 61 | if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:61:15: note: use '==' to turn this assignment into an equality comparison 61 | if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) | ^ | == /var/tmp/work/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] 67 | while (*nv++ = *++ov); | ~~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:67:17: note: place parentheses around the assignment to silence this warning 67 | while (*nv++ = *++ov); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/execvpe.c:67:17: note: use '==' to turn this assignment into an equality comparison 67 | while (*nv++ = *++ov); | ^ | == 2 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c /var/tmp/work/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] 54 | if (err = posix_spawnattr_init(&attr)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:54:10: note: place parentheses around the assignment to silence this warning 54 | if (err = posix_spawnattr_init(&attr)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:54:10: note: use '==' to turn this assignment into an equality comparison 54 | if (err = posix_spawnattr_init(&attr)) | ^ | == /var/tmp/work/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] 60 | if (err = posix_spawnattr_setpgroup(&attr, pgid)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:60:11: note: place parentheses around the assignment to silence this warning 60 | if (err = posix_spawnattr_setpgroup(&attr, pgid)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:60:11: note: use '==' to turn this assignment into an equality comparison 60 | if (err = posix_spawnattr_setpgroup(&attr, pgid)) | ^ | == /var/tmp/work/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] 62 | if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:62:11: note: place parentheses around the assignment to silence this warning 62 | if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:62:11: note: use '==' to turn this assignment into an equality comparison 62 | if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) | ^ | == /var/tmp/work/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] 65 | if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:65:10: note: place parentheses around the assignment to silence this warning 65 | if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/spawnveg.c:65:10: note: use '==' to turn this assignment into an equality comparison 65 | if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) | ^ | == 4 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/vfork.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/killpg.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/hsearch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/tsearch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getlogin.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/putenv.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/setenv.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/unsetenv.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/lstat.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/statvfs.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/eaccess.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/gross.c:27: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/omitted.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/readlink.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/symlink.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getpgrp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/setpgid.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/setsid.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/waitpid.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/creat64.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/fcntl.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/open.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/atexit.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/getdents.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir/dirlib.h:49: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getwd.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/dup2.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/errno.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/preroot/getpreroot.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/preroot/ispreroot.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/preroot/realopen.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/preroot/setpreroot.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getgroups.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mount.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/system.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/iblocks.c:40: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Istring -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/string -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modedata.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/modelib.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/tm/tmdata.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/memfatal.c /var/tmp/work/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] 78 | if (disc = vmdisc(Vmregion, NiL)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/memfatal.c:78:11: note: place parentheses around the assignment to silence this warning 78 | if (disc = vmdisc(Vmregion, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/memfatal.c:78:11: note: use '==' to turn this assignment into an equality comparison 78 | if (disc = vmdisc(Vmregion, NiL)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c /var/tmp/work/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] 185 | if (i = *--v) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:185:10: note: place parentheses around the assignment to silence this warning 185 | if (i = *--v) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfkeyprintf.c:185:10: note: use '==' to turn this assignment into an equality comparison 185 | if (i = *--v) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdio.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 173 | if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:173:18: note: place parentheses around the assignment to silence this warning 173 | if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcdos.c:173:18: note: use '==' to turn this assignment into an equality comparison 173 | if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) | ^ | == 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcfilter.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcseekable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcslow.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdctee.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcunion.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 103 | else if (n = strlen(label)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:103:13: note: place parentheses around the assignment to silence this warning 103 | else if (n = strlen(label)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:103:13: note: use '==' to turn this assignment into an equality comparison 103 | else if (n = strlen(label)) | ^ | == /var/tmp/work/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] 227 | if (more->match = strlen(more->pattern)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:227:20: note: place parentheses around the assignment to silence this warning 227 | if (more->match = strlen(more->pattern)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:227:20: note: use '==' to turn this assignment into an equality comparison 227 | if (more->match = strlen(more->pattern)) | ^ | == /var/tmp/work/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] 273 | if (f = more->input) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:273:9: note: place parentheses around the assignment to silence this warning 273 | if (f = more->input) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:273:9: note: use '==' to turn this assignment into an equality comparison 273 | if (f = more->input) | ^ | == /var/tmp/work/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] 278 | else if (f = more->error) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:278:14: note: place parentheses around the assignment to silence this warning 278 | else if (f = more->error) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcmore.c:278:14: note: use '==' to turn this assignment into an equality comparison 278 | else if (f = more->error) | ^ | == 25 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdcprefix.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfdchdr.h:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wc.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/string/wc2utf8.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/basename.c + cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/namval.h ast_namval.h + rm -f ast_namval.h + silent test -d . + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/namval.h ast_namval.h + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/closelog.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/dirname.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/fmtmsglib.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/fnmatch.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getdate.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getsubopt.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Idir -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/dir -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 93 | while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:93:12: note: place parentheses around the assignment to silence this warning 93 | while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:93:12: note: use '==' to turn this assignment into an equality comparison 93 | while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) | ^ | == /var/tmp/work/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] 224 | } while (*dp++ = c); | ~~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:224:17: note: place parentheses around the assignment to silence this warning 224 | } while (*dp++ = c); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:224:17: note: use '==' to turn this assignment into an equality comparison 224 | } while (*dp++ = c); | ^ | == /var/tmp/work/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] 458 | if (starstar = (p[2]==0)) | ~~~~~~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:458:17: note: place parentheses around the assignment to silence this warning 458 | if (starstar = (p[2]==0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:458:17: note: use '==' to turn this assignment into an equality comparison 458 | if (starstar = (p[2]==0)) | ^ | == /var/tmp/work/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] 488 | if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:488:14: note: place parentheses around the assignment to silence this warning 488 | if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:488:14: note: use '==' to turn this assignment into an equality comparison 488 | if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) | ^ | == /var/tmp/work/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] 503 | if (err = regcomp(&rec, pat, gp->re_flags)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:503:14: note: place parentheses around the assignment to silence this warning 503 | if (err = regcomp(&rec, pat, gp->re_flags)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:503:14: note: use '==' to turn this assignment into an equality comparison 503 | if (err = regcomp(&rec, pat, gp->re_flags)) | ^ | == /var/tmp/work/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] 531 | if (notdir = (gp->gl_status & GLOB_NOTDIR)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:531:16: note: place parentheses around the assignment to silence this warning 531 | if (notdir = (gp->gl_status & GLOB_NOTDIR)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/glob.c:531:16: note: use '==' to turn this assignment into an equality comparison 531 | if (notdir = (gp->gl_status & GLOB_NOTDIR)) | ^ | == 27 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/nftw.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h:59: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h:37: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/openlog.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/re_comp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/resolvepath.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/realpath.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c /var/tmp/work/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] 92 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:92:13: note: place parentheses around the assignment to silence this warning 92 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:92:13: note: use '==' to turn this assignment into an equality comparison 92 | while (c = *s++) | ^ | == /var/tmp/work/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] 151 | } while (s = va_arg(ap, char*)); | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:151:14: note: place parentheses around the assignment to silence this warning 151 | } while (s = va_arg(ap, char*)); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:151:14: note: use '==' to turn this assignment into an equality comparison 151 | } while (s = va_arg(ap, char*)); | ^ | == /var/tmp/work/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] 184 | if (re->nsub = nsub) | ~~~~~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:184:15: note: place parentheses around the assignment to silence this warning 184 | if (re->nsub = nsub) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:184:15: note: use '==' to turn this assignment into an equality comparison 184 | if (re->nsub = nsub) | ^ | == /var/tmp/work/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] 215 | if (i = re->sub[n]) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:215:9: note: place parentheses around the assignment to silence this warning 215 | if (i = re->sub[n]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regcmp.c:215:9: note: use '==' to turn this assignment into an equality comparison 215 | if (i = re->sub[n]) | ^ | == 4 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regexp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/setlogmask.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strftime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/strptime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/swab.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/syslog.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/tempnam.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c /var/tmp/work/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] 72 | if(offset=staktell()) | ~~~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:72:11: note: place parentheses around the assignment to silence this warning 72 | if(offset=staktell()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:72:11: note: use '==' to turn this assignment into an equality comparison 72 | if(offset=staktell()) | ^ | == /var/tmp/work/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] 88 | while(c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:88:10: note: place parentheses around the assignment to silence this warning 88 | while(c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:88:10: note: use '==' to turn this assignment into an equality comparison 88 | while(c = *cp++) | ^ | == /var/tmp/work/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] 97 | if(c= *cp) | ~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:97:9: note: place parentheses around the assignment to silence this warning 97 | if(c= *cp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:97:9: note: use '==' to turn this assignment into an equality comparison 97 | if(c= *cp) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:115:39: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 115 | else if(!quoted && strchr("|&\n;<>"+ac,c)) | ~~~~~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:115:39: note: use array indexing to silence this warning 115 | else if(!quoted && strchr("|&\n;<>"+ac,c)) | ^ | & [ ] /var/tmp/work/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] 144 | if(c=sfclose(iop)) | ~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:144:6: note: place parentheses around the assignment to silence this warning 144 | if(c=sfclose(iop)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:144:6: note: use '==' to turn this assignment into an equality comparison 144 | if(c=sfclose(iop)) | ^ | == /var/tmp/work/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] 157 | else if(av = (char**)malloc(c*sizeof(char*))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:157:13: note: place parentheses around the assignment to silence this warning 157 | else if(av = (char**)malloc(c*sizeof(char*))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:157:13: note: use '==' to turn this assignment into an equality comparison 157 | else if(av = (char**)malloc(c*sizeof(char*))) | ^ | == /var/tmp/work/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] 186 | while(c= *cp++); | ~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:186:10: note: place parentheses around the assignment to silence this warning 186 | while(c= *cp++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:186:10: note: use '==' to turn this assignment into an equality comparison 186 | while(c= *cp++); | ^ | == /var/tmp/work/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] 207 | while(arg=argnext) | ~~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:207:12: note: place parentheses around the assignment to silence this warning 207 | while(arg=argnext) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.c:207:12: note: use '==' to turn this assignment into an equality comparison 207 | while(arg=argnext) | ^ | == 8 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/mktime.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regalloc.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regclass.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcoll.c + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c /var/tmp/work/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] 150 | if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:150:8: note: place parentheses around the assignment to silence this warning 150 | if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:150:8: note: use '==' to turn this assignment into an equality comparison 150 | if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:149:120: warning: expression result unused [-Wunused-value] 149 | DEBUG_TEST(0x0800,(sfprintf(sfstdout, "%s:%d node(%d,%d,%d,%u)\n", file, line, type, lo, hi, sizeof(Rex_t) + extra)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' 51 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/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] 223 | } while (e = x); | ~~^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:223:14: note: place parentheses around the assignment to silence this warning 223 | } while (e = x); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:223:14: note: use '==' to turn this assignment into an equality comparison 223 | } while (e = x); | ^ | == /var/tmp/work/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] 263 | } while (e = e->next); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:263:14: note: place parentheses around the assignment to silence this warning 263 | } while (e = e->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:263:14: note: use '==' to turn this assignment into an equality comparison 263 | } while (e = e->next); | ^ | == /var/tmp/work/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] 301 | } while (e = e->next); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:301:13: note: place parentheses around the assignment to silence this warning 301 | } while (e = e->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:301:13: note: use '==' to turn this assignment into an equality comparison 301 | } while (e = e->next); | ^ | == /var/tmp/work/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] 517 | if (q = e->re.group.expr.binary.right) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:517:10: note: place parentheses around the assignment to silence this warning 517 | if (q = e->re.group.expr.binary.right) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:517:10: note: use '==' to turn this assignment into an equality comparison 517 | if (q = e->re.group.expr.binary.right) | ^ | == /var/tmp/work/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] 635 | } while (e = e->next); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:635:13: note: place parentheses around the assignment to silence this warning 635 | } while (e = e->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:635:13: note: use '==' to turn this assignment into an equality comparison 635 | } while (e = e->next); | ^ | == /var/tmp/work/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] 652 | if (mp = state.magic[c]) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:652:9: note: place parentheses around the assignment to silence this warning 652 | if (mp = state.magic[c]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:652:9: note: use '==' to turn this assignment into an equality comparison 652 | if (mp = state.magic[c]) | ^ | == /var/tmp/work/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] 962 | if (posixkludge = env->posixkludge) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:962:18: note: place parentheses around the assignment to silence this warning 962 | if (posixkludge = env->posixkludge) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:962:18: note: use '==' to turn this assignment into an equality comparison 962 | if (posixkludge = env->posixkludge) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:926:36: warning: left operand of comma operator has no effect [-Wunused-value] 926 | if ((env->token.len = MBSIZE(env->cursor)) > 1) | ~~~ ^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:979:43: warning: left operand of comma operator has no effect [-Wunused-value] 979 | env->token.len += MBSIZE(env->cursor + 1); | ~~~~~~~~~~~ ^ ~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:988:40: warning: left operand of comma operator has no effect [-Wunused-value] 988 | env->token.len += MBSIZE(env->cursor + 1); | ~~~~~~~~~~~ ^ ~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 1471 | if (ic = env->flags & REG_ICASE) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1471:11: note: place parentheses around the assignment to silence this warning 1471 | if (ic = env->flags & REG_ICASE) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1471:11: note: use '==' to turn this assignment into an equality comparison 1471 | if (ic = env->flags & REG_ICASE) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1203:25: warning: left operand of comma operator has no effect [-Wunused-value] 1203 | start = first + MBSIZE(first); | ^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1206:36: warning: left operand of comma operator has no effect [-Wunused-value] 1206 | begin = env->cursor + MBSIZE(env->cursor); | ~~~ ^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1217:35: warning: left operand of comma operator has no effect [-Wunused-value] 1217 | env->cursor += (w = MBSIZE(env->cursor)); | ~~~ ^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1485:37: warning: left operand of comma operator has no effect [-Wunused-value] 1485 | env->cursor += (w = MBSIZE(env->cursor)); | ~~~ ^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 1912 | if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1912:8: note: place parentheses around the assignment to silence this warning 1912 | if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:1912:8: note: use '==' to turn this assignment into an equality comparison 1912 | if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) | ^ | == /var/tmp/work/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] 2450 | while (c = *env->cursor) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2450:12: note: place parentheses around the assignment to silence this warning 2450 | while (c = *env->cursor) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2450:12: note: use '==' to turn this assignment into an equality comparison 2450 | while (c = *env->cursor) | ^ | == /var/tmp/work/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] 2796 | if (e = bra(env)) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2796:11: note: place parentheses around the assignment to silence this warning 2796 | if (e = bra(env)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2796:11: note: use '==' to turn this assignment into an equality comparison 2796 | if (e = bra(env)) | ^ | == /var/tmp/work/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] 2806 | if (e = ccl(env, c)) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2806:11: note: place parentheses around the assignment to silence this warning 2806 | if (e = ccl(env, c)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2806:11: note: use '==' to turn this assignment into an equality comparison 2806 | if (e = ccl(env, c)) | ^ | == /var/tmp/work/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] 2831 | if (e = node(env, REX_ONECHAR, 1, 1, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2831:11: note: place parentheses around the assignment to silence this warning 2831 | if (e = node(env, REX_ONECHAR, 1, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2831:11: note: use '==' to turn this assignment into an equality comparison 2831 | if (e = node(env, REX_ONECHAR, 1, 1, 0)) | ^ | == /var/tmp/work/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] 2998 | } while (x = x->sib); | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2998:13: note: place parentheses around the assignment to silence this warning 2998 | } while (x = x->sib); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:2998:13: note: use '==' to turn this assignment into an equality comparison 2998 | } while (x = x->sib); | ^ | == /var/tmp/work/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] 3025 | if (e = p->env->rex) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3025:8: note: place parentheses around the assignment to silence this warning 3025 | if (e = p->env->rex) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3025:8: note: use '==' to turn this assignment into an equality comparison 3025 | if (e = p->env->rex) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3104:72: warning: expression result unused [-Wunused-value] 3104 | DEBUG_TEST(0x0010,(sfprintf(sfstderr, "BM#0: k=%d j=%d\n", k, j)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' 51 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3110:96: warning: expression result unused [-Wunused-value] 3110 | DEBUG_TEST(0x0010,sfprintf(sfstderr, "CUT1: mask[%d][%c]=mask[%d][%c]\n", k, m, j, m), (0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' 51 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3113:152: warning: expression result unused [-Wunused-value] 3113 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' 51 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:3122:106: warning: expression result unused [-Wunused-value] 3122 | DEBUG_TEST(0x0010,sfprintf(sfstderr, "BM#4: fail[%d]=%d => %d\n", i, a->re.bm.fail[i], n + k - i), (0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' 51 | #define DEBUG_TEST(f,y,n) (n) | ^ 28 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcache.c /var/tmp/work/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] 99 | if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:99:25: note: place parentheses around the assignment to silence this warning 99 | if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:99:25: note: use '==' to turn this assignment into an equality comparison 99 | if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) | ^ | == /var/tmp/work/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] 183 | if (i = regcomp(&cp->re, pattern, reflags)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:183:9: note: place parentheses around the assignment to silence this warning 183 | if (i = regcomp(&cp->re, pattern, reflags)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regcache.c:183:9: note: use '==' to turn this assignment into an equality comparison 183 | if (i = regcomp(&cp->re, pattern, reflags)) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c /var/tmp/work/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] 68 | } while (x = x->son); | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:68:13: note: place parentheses around the assignment to silence this warning 68 | } while (x = x->son); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:68:13: note: use '==' to turn this assignment into an equality comparison 68 | } while (x = x->son); | ^ | == /var/tmp/work/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] 361 | if (q = e->re.group.expr.binary.right) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:361:10: note: place parentheses around the assignment to silence this warning 361 | if (q = e->re.group.expr.binary.right) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:361:10: note: use '==' to turn this assignment into an equality comparison 361 | if (q = e->re.group.expr.binary.right) | ^ | == /var/tmp/work/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] 385 | } while (e = e->next); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:385:13: note: place parentheses around the assignment to silence this warning 385 | } while (e = e->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regdecomp.c:385:13: note: use '==' to turn this assignment into an equality comparison 385 | } while (e = e->next); | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regerror.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regexec.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regfatal.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reginit.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c /var/tmp/work/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] 357 | if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:357:9: note: place parentheses around the assignment to silence this warning 357 | if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:357:9: note: use '==' to turn this assignment into an equality comparison 357 | if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:316:402: warning: expression result unused [-Wunused-value] 316 | 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;}); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:102:31: note: expanded from macro 'DEBUG_CODE' 102 | #define DEBUG_CODE(f,y,n) do {n} while(0) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:408:210: warning: expression result unused [-Wunused-value] 408 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:444:405: warning: expression result unused [-Wunused-value] 444 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:447:157: warning: expression result unused [-Wunused-value] 447 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:452:409: warning: expression result unused [-Wunused-value] 452 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/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] 504 | if (p = rex->map) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:504:8: note: place parentheses around the assignment to silence this warning 504 | if (p = rex->map) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:504:8: note: use '==' to turn this assignment into an equality comparison 504 | if (p = rex->map) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:662:18: warning: left operand of comma operator has no effect [-Wunused-value] 662 | if ((w = MBSIZE(s)) > 1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 1284 | if (q = rex->re.group.expr.binary.right) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1284:10: note: place parentheses around the assignment to silence this warning 1284 | if (q = rex->re.group.expr.binary.right) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1284:10: note: use '==' to turn this assignment into an equality comparison 1284 | if (q = rex->re.group.expr.binary.right) | ^ | == /var/tmp/work/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] 1291 | if (q = rex->re.group.expr.binary.left) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1291:10: note: place parentheses around the assignment to silence this warning 1291 | if (q = rex->re.group.expr.binary.left) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1291:10: note: use '==' to turn this assignment into an equality comparison 1291 | if (q = rex->re.group.expr.binary.left) | ^ | == /var/tmp/work/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] 1308 | if (q = catcher.re.cond_catch.next[r != NONE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1308:10: note: place parentheses around the assignment to silence this warning 1308 | if (q = catcher.re.cond_catch.next[r != NONE]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1308:10: note: use '==' to turn this assignment into an equality comparison 1308 | if (q = catcher.re.cond_catch.next[r != NONE]) | ^ | == /var/tmp/work/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] 1352 | if (p = rex->map) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1352:10: note: place parentheses around the assignment to silence this warning 1352 | if (p = rex->map) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1352:10: note: use '==' to turn this assignment into an equality comparison 1352 | if (p = rex->map) | ^ | == /var/tmp/work/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] 1493 | if (p = rex->map) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1493:12: note: place parentheses around the assignment to silence this warning 1493 | if (p = rex->map) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1493:12: note: use '==' to turn this assignment into an equality comparison 1493 | if (p = rex->map) | ^ | == /var/tmp/work/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] 1571 | if (p = rex->map) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1571:12: note: place parentheses around the assignment to silence this warning 1571 | if (p = rex->map) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1571:12: note: use '==' to turn this assignment into an equality comparison 1571 | if (p = rex->map) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:819:132: warning: expression result unused [-Wunused-value] 819 | DEBUG_TEST(0x0008,(sfprintf(sfstdout, "AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1040:391: warning: expression result unused [-Wunused-value] 1040 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1071:391: warning: expression result unused [-Wunused-value] 1071 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1117:26: warning: left operand of comma operator has no effect [-Wunused-value] 1117 | s += b[i] = MBSIZE(s); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1158:19: warning: left operand of comma operator has no effect [-Wunused-value] 1158 | s += MBSIZE(s); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1160:44: warning: left operand of comma operator has no effect [-Wunused-value] 1160 | for (; s <= e && i <= n; s += MBSIZE(s), i++) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1179:131: warning: expression result unused [-Wunused-value] 1179 | DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1201:170: warning: expression result unused [-Wunused-value] 1201 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1678:191: warning: expression result unused [-Wunused-value] 1678 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1687:256: warning: expression result unused [-Wunused-value] 1687 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1704:183: warning: expression result unused [-Wunused-value] 1704 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/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] 1875 | if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1875:17: note: place parentheses around the assignment to silence this warning 1875 | if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1875:17: note: use '==' to turn this assignment into an equality comparison 1875 | if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) | ^ | == /var/tmp/work/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] 1984 | if (k = env->error) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1984:8: note: place parentheses around the assignment to silence this warning 1984 | if (k = env->error) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1984:8: note: use '==' to turn this assignment into an equality comparison 1984 | if (k = env->error) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1858:135: warning: expression result unused [-Wunused-value] 1858 | DEBUG_TEST(0x0001,(sfprintf(sfstdout, "AHA#%04d 0x%04x regnexec %d 0x%08x `%-.*s'\n", __LINE__, debug_flag, nmatch, flags, len, s)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1865:100: warning: expression result unused [-Wunused-value] 1865 | DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, len, env->min)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1894:42: warning: expression result unused [-Wunused-value] 1894 | DEBUG_TEST(0x1000,(list(env,env->rex)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1898:74: warning: expression result unused [-Wunused-value] 1898 | DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REX_BM\n", __LINE__)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1901:107: warning: expression result unused [-Wunused-value] 1901 | DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, len, e->re.bm.right)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1915:176: warning: expression result unused [-Wunused-value] 1915 | 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)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1921:100: warning: expression result unused [-Wunused-value] 1921 | DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, index, HIT)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1969:83: warning: expression result unused [-Wunused-value] 1969 | DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d parse once=%d\n", __LINE__, j)),(0)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' 101 | #define DEBUG_TEST(f,y,n) (n) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regnexec.c:1974:14: warning: left operand of comma operator has no effect [-Wunused-value] 1974 | i = MBSIZE(s); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' 72 | #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 36 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c /var/tmp/work/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] 185 | if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:185:10: note: place parentheses around the assignment to silence this warning 185 | if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:185:10: note: use '==' to turn this assignment into an equality comparison 185 | if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) | ^ | == /var/tmp/work/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] 269 | if (c = *s) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:269:10: note: place parentheses around the assignment to silence this warning 269 | if (c = *s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:269:10: note: use '==' to turn this assignment into an equality comparison 269 | if (c = *s) | ^ | == /var/tmp/work/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] 278 | if (c = *s) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:278:10: note: place parentheses around the assignment to silence this warning 278 | if (c = *s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:278:10: note: use '==' to turn this assignment into an equality comparison 278 | if (c = *s) | ^ | == /var/tmp/work/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] 334 | if (op->len = (t - sub->re_rhs) - op->off) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:334:15: note: place parentheses around the assignment to silence this warning 334 | if (op->len = (t - sub->re_rhs) - op->off) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubcomp.c:334:15: note: use '==' to turn this assignment into an equality comparison 334 | if (op->len = (t - sub->re_rhs) - op->off) | ^ | == 4 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c /var/tmp/work/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] 175 | if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c:175:9: note: place parentheses around the assignment to silence this warning 175 | if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsubexec.c:175:9: note: use '==' to turn this assignment into an equality comparison 175 | if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsub.c /var/tmp/work/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] 123 | if (c = *sp) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:123:10: note: place parentheses around the assignment to silence this warning 123 | if (c = *sp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:123:10: note: use '==' to turn this assignment into an equality comparison 123 | if (c = *sp) | ^ | == /var/tmp/work/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] 141 | if (c = *sp) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:141:10: note: place parentheses around the assignment to silence this warning 141 | if (c = *sp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:141:10: note: use '==' to turn this assignment into an equality comparison 141 | if (c = *sp) | ^ | == /var/tmp/work/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] 260 | if (r = subold(dp, op, sp, nmatch, match, flags, sre)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:260:10: note: place parentheses around the assignment to silence this warning 260 | if (r = subold(dp, op, sp, nmatch, match, flags, sre)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regsub.c:260:10: note: use '==' to turn this assignment into an equality comparison 260 | if (r = subold(dp, op, sp, nmatch, match, flags, sre)) | ^ | == 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regrecord.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c /var/tmp/work/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] 119 | if (n = (*record)(handle, (char*)beg, x - beg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:119:12: note: place parentheses around the assignment to silence this warning 119 | if (n = (*record)(handle, (char*)beg, x - beg)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:119:12: note: use '==' to turn this assignment into an equality comparison 119 | if (n = (*record)(handle, (char*)beg, x - beg)) | ^ | == /var/tmp/work/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] 124 | else if (n = (*record)(handle, (char*)l, r - l)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:124:15: note: place parentheses around the assignment to silence this warning 124 | else if (n = (*record)(handle, (char*)l, r - l)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regrexec.c:124:15: note: use '==' to turn this assignment into an equality comparison 124 | else if (n = (*record)(handle, (char*)l, r - l)) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iregex -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/regex/regstat.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtclose.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtdisc.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dthash.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtlist.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtmethod.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtopen.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtstrhash.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dttree.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtview.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icdt -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtwalk.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtnew.c /var/tmp/work/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] 70 | if (dt = _dtopen(&dc.ndisc, meth, version)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtnew.c:70:9: note: place parentheses around the assignment to silence this warning 70 | if (dt = _dtopen(&dc.ndisc, meth, version)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtnew.c:70:9: note: use '==' to turn this assignment into an equality comparison 70 | if (dt = _dtopen(&dc.ndisc, meth, version)) | ^ | == 1 warning generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/dtcomp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclose.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfclrlock.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdisc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfexcept.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:25: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 319 | if (n = isinf(f)) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:319:9: note: place parentheses around the assignment to silence this warning 319 | if (n = isinf(f)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfcvt.c:319:9: note: use '==' to turn this assignment into an equality comparison 319 | if (n = isinf(f)) | ^ | == 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfecvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffcvt.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfextern.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sffilbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprints.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmode.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmove.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnew.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpkrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnotify.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfnputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpeek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpoll.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpool.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfrd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfread.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfreserve.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfseek.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfset.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 77 | if(astsfio = getenv("SFIO_OPTIONS")) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:77:14: note: place parentheses around the assignment to silence this warning 77 | if(astsfio = getenv("SFIO_OPTIONS")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetbuf.c:77:14: note: use '==' to turn this assignment into an equality comparison 77 | if(astsfio = getenv("SFIO_OPTIONS")) | ^ | == 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsetfd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstack.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfstrtod.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfsync.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfswap.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/sfinit.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/sfinit.c ... ld: warning: -m is obsolete iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/sfinit.c ... yes + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftable.c:75:22: warning: left operand of comma operator has no effect [-Wunused-value] 75 | { form += SFMBLEN(form, &fmbs); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' 318 | #define SFMBLEN(s,mb) mbsize(s) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftell.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sftmp.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfungetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvprintf.c:212:22: warning: left operand of comma operator has no effect [-Wunused-value] 212 | { if((n = SFMBLEN(form, &fmbs)) <= 0) | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' 318 | #define SFMBLEN(s,mb) mbsize(s) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 22 warnings generated. + cc -D_BLD_ast -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfvscanf.c:179:47: warning: left operand of comma operator has no effect [-Wunused-value] 179 | if((flags&SFFMT_LONG) && (n = (int)SFMBLEN(form,&mbs)) <= 0) | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' 318 | #define SFMBLEN(s,mb) mbsize(s) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' 191 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwrite.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfpurge.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfraise.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfwalk.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfgetm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfmutex.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfresize.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfeof.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sferror.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sffileno.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfopen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfstacked.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfvalue.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfdlen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfllen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfslen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfulen.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputc.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputd.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputl.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputm.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/_sfputu.c:22: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/clearerr.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fdopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/feof.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ferror.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fflush.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgets.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fileno.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fpurge.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputs.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fread.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/freopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseek.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fseeko.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fsetpos.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftell.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftello.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwrite.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/flockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/funlockfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/pclose.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/popen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/printf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/puts.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putw.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/rewind.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/scanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setbuffer.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setlinebuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/setvbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/snprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/sscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/asprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 32 | if (f = sfstropen()) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:32:8: note: place parentheses around the assignment to silence this warning 32 | if (f = sfstropen()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vasprintf.c:32:8: note: use '==' to turn this assignment into an equality comparison 32 | if (f = sfstropen()) | ^ | == 22 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/tmpfile.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsnprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vsscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doprnt.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_doscan.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_filbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_flsbuf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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 ... no 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 ... no iffe: test: is drem a library function ... no 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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdfun.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdopen.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdprintf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdscanf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 100 | if (w = newof(0, Wide_t, 1, n)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:100:8: note: place parentheses around the assignment to silence this warning 100 | if (w = newof(0, Wide_t, 1, n)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:100:8: note: use '==' to turn this assignment into an equality comparison 100 | if (w = newof(0, Wide_t, 1, n)) | ^ | == /var/tmp/work/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] 102 | if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:102:9: note: place parentheses around the assignment to silence this warning 102 | if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwscanf.c:102:9: note: use '==' to turn this assignment into an equality comparison 102 | if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) | ^ | == 23 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fgetws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/wscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/swscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vswscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fputws.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getwchar.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/ungetwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fwide.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/putwc.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 40 | if (m = malloc(n + 1)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:40:8: note: place parentheses around the assignment to silence this warning 40 | if (m = malloc(n + 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:40:8: note: use '==' to turn this assignment into an equality comparison 40 | if (m = malloc(n + 1)) | ^ | == /var/tmp/work/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] 42 | if (t = sfstropen()) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:42:9: note: place parentheses around the assignment to silence this warning 42 | if (t = sfstropen()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:42:9: note: use '==' to turn this assignment into an equality comparison 42 | if (t = sfstropen()) | ^ | == /var/tmp/work/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] 52 | if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:52:11: note: place parentheses around the assignment to silence this warning 52 | if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vfwprintf.c:52:11: note: use '==' to turn this assignment into an equality comparison 52 | if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) | ^ | == 24 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/vwscanf.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdio_c99.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fcloseall.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/fmemopen.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getdelim.c:24: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Istdio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/getline.c:28: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/stdio/stdhdr.h:34: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio/sfhdr.h:87: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/frexp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astcopy.c + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/libpath.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/libpath.sh ... iffe: test: capture output of /var/tmp/work/shells/ast-ksh/work/src/lib/libast/features/libpath.sh ... yes + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Imisc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 '-DCONF_LIBSUFFIX=".dylib"' '-DCONF_LIBPREFIX="lib"' '-DHOSTTYPE="darwin.arm64-64"' -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:6:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 6 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:7:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 7 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:8:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 8 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:9:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 9 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:10:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 10 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:11:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 11 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:14:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 14 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:15:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 15 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:16:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 16 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:17:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 17 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:18:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 18 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:19:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 19 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:20:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 20 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:21:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 21 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:22:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 22 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:23:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 23 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:24:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 24 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:25:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 25 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:26:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 26 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:27:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 27 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/univlib.h:50: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h:35: ./ast_mode.h:28:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 28 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 422 | for (; *d = *s++; d++); | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:422:15: note: place parentheses around the assignment to silence this warning 422 | for (; *d = *s++; d++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:422:15: note: use '==' to turn this assignment into an equality comparison 422 | for (; *d = *s++; d++); | ^ | == /var/tmp/work/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] 466 | for (s = (char*)fp->name; *d = *s++; d++); | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:466:31: note: place parentheses around the assignment to silence this warning 466 | for (s = (char*)fp->name; *d = *s++; d++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:466:31: note: use '==' to turn this assignment into an equality comparison 466 | for (s = (char*)fp->name; *d = *s++; d++); | ^ | == /var/tmp/work/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] 468 | for (s = (char*)path; *d = *s++; d++); | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:468:27: note: place parentheses around the assignment to silence this warning 468 | for (s = (char*)path; *d = *s++; d++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:468:27: note: use '==' to turn this assignment into an equality comparison 468 | for (s = (char*)path; *d = *s++; d++); | ^ | == /var/tmp/work/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] 470 | for (s = (char*)value; *d = *s++; d++); | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:470:28: note: place parentheses around the assignment to silence this warning 470 | for (s = (char*)value; *d = *s++; d++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:470:28: note: use '==' to turn this assignment into an equality comparison 470 | for (s = (char*)value; *d = *s++; d++); | ^ | == /var/tmp/work/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] 531 | if (p = getenv("PATH")) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:531:9: note: place parentheses around the assignment to silence this warning 531 | if (p = getenv("PATH")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:531:9: note: use '==' to turn this assignment into an equality comparison 531 | if (p = getenv("PATH")) | ^ | == /var/tmp/work/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] 540 | if (tmp = sfstropen()) | ~~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:540:12: note: place parentheses around the assignment to silence this warning 540 | if (tmp = sfstropen()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:540:12: note: use '==' to turn this assignment into an equality comparison 540 | if (tmp = sfstropen()) | ^ | == /var/tmp/work/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] 551 | if (r = p - d - 1) | ~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:551:14: note: place parentheses around the assignment to silence this warning 551 | if (r = p - d - 1) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:551:14: note: use '==' to turn this assignment into an equality comparison 551 | if (r = p - d - 1) | ^ | == /var/tmp/work/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] 985 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:985:11: note: place parentheses around the assignment to silence this warning 985 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:985:11: note: use '==' to turn this assignment into an equality comparison 985 | while (c = *s++) | ^ | == /var/tmp/work/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] 1354 | if (call = sfstruse(sp)) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1354:12: note: place parentheses around the assignment to silence this warning 1354 | if (call = sfstruse(sp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1354:12: note: use '==' to turn this assignment into an equality comparison 1354 | if (call = sfstruse(sp)) | ^ | == /var/tmp/work/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] 1389 | if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1389:10: note: place parentheses around the assignment to silence this warning 1389 | if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1389:10: note: use '==' to turn this assignment into an equality comparison 1389 | if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) | ^ | == /var/tmp/work/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] 1391 | if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1391:10: note: place parentheses around the assignment to silence this warning 1391 | if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1391:10: note: use '==' to turn this assignment into an equality comparison 1391 | if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) | ^ | == /var/tmp/work/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] 1483 | if (tmp = sfstropen()) | ~~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1483:12: note: place parentheses around the assignment to silence this warning 1483 | if (tmp = sfstropen()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1483:12: note: use '==' to turn this assignment into an equality comparison 1483 | if (tmp = sfstropen()) | ^ | == /var/tmp/work/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] 1522 | if (tmp = sfstropen()) | ~~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1522:12: note: place parentheses around the assignment to silence this warning 1522 | if (tmp = sfstropen()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1522:12: note: use '==' to turn this assignment into an equality comparison 1522 | if (tmp = sfstropen()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1648:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1648 | if (pp = nativeconf(&proc, _pth_getconf_a)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1648:10: note: place parentheses around the assignment to silence this warning 1648 | if (pp = nativeconf(&proc, _pth_getconf_a)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1648:10: note: use '==' to turn this assignment into an equality comparison 1648 | if (pp = nativeconf(&proc, _pth_getconf_a)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1651:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1651 | while (f = sfgetr(pp, '\n', 1)) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1651:13: note: place parentheses around the assignment to silence this warning 1651 | while (f = sfgetr(pp, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astconf.c:1651:13: note: use '==' to turn this assignment into an equality comparison 1651 | while (f = sfgetr(pp, '\n', 1)) | ^ | == 36 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iport -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/port -Isfio -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/sfio -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astdynamic.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:233:10: warning: left operand of comma operator has no effect [-Wunused-value] 233 | PUT(b, *s++); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:259:35: warning: left operand of comma operator has no effect [-Wunused-value] 259 | PUT(b, notice->cc[n > 0 ? 0 : 1]); | ~~~~~~~~~~ ~~~~~~~~~~~~~^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:261:12: warning: left operand of comma operator has no effect [-Wunused-value] 261 | PUT(b, cc); | ^~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:262:35: warning: left operand of comma operator has no effect [-Wunused-value] 262 | PUT(b, notice->cc[n > 0 ? 1 : 2]); | ~~~~~~~~~~ ~~~~~~~~~~~~~^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:271:10: warning: left operand of comma operator has no effect [-Wunused-value] 271 | PUT(b, cc); | ^~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:276:11: warning: left operand of comma operator has no effect [-Wunused-value] 276 | PUT(b, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:282:11: warning: left operand of comma operator has no effect [-Wunused-value] 282 | PUT(b, i); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:285:11: warning: left operand of comma operator has no effect [-Wunused-value] 285 | PUT(b, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:286:10: warning: left operand of comma operator has no effect [-Wunused-value] 286 | PUT(b, cc); | ^~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:288:9: warning: left operand of comma operator has no effect [-Wunused-value] 288 | PUT(b, '\n'); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/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] 308 | if (t = item->data) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:308:8: note: place parentheses around the assignment to silence this warning 308 | if (t = item->data) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:308:8: note: use '==' to turn this assignment into an equality comparison 308 | if (t = item->data) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:339:15: warning: left operand of comma operator has no effect [-Wunused-value] 339 | PUT(b, c); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:365:12: warning: left operand of comma operator has no effect [-Wunused-value] 365 | PUT(b, *t++); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:397:10: warning: left operand of comma operator has no effect [-Wunused-value] 397 | PUT(b, '-'); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:402:10: warning: left operand of comma operator has no effect [-Wunused-value] 402 | PUT(b, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:407:10: warning: left operand of comma operator has no effect [-Wunused-value] 407 | PUT(b, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:411:11: warning: left operand of comma operator has no effect [-Wunused-value] 411 | PUT(b, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:417:10: warning: left operand of comma operator has no effect [-Wunused-value] 417 | PUT(b, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/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] 465 | while (*t++ = *s++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:465:18: note: place parentheses around the assignment to silence this warning 465 | while (*t++ = *s++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:465:18: note: use '==' to turn this assignment into an equality comparison 465 | while (*t++ = *s++); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:443:12: warning: left operand of comma operator has no effect [-Wunused-value] 443 | PUT(buf, 0); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:472:13: warning: left operand of comma operator has no effect [-Wunused-value] 472 | PUT(buf, 0); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:482:12: warning: left operand of comma operator has no effect [-Wunused-value] 482 | PUT(buf, 0); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/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] 560 | while (c = *s) | ~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:560:12: note: place parentheses around the assignment to silence this warning 560 | while (c = *s) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:560:12: note: use '==' to turn this assignment into an equality comparison 560 | while (c = *s) | ^ | == /var/tmp/work/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] 1173 | if (v = notice.item[NOTICE].data) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1173:9: note: place parentheses around the assignment to silence this warning 1173 | if (v = notice.item[NOTICE].data) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1173:9: note: use '==' to turn this assignment into an equality comparison 1173 | if (v = notice.item[NOTICE].data) | ^ | == /var/tmp/work/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] 1218 | if (v = notice.item[AUTHOR].data) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1218:8: note: place parentheses around the assignment to silence this warning 1218 | if (v = notice.item[AUTHOR].data) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1218:8: note: use '==' to turn this assignment into an equality comparison 1218 | if (v = notice.item[AUTHOR].data) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:703:19: warning: left operand of comma operator has no effect [-Wunused-value] 703 | PUT(&buf, '='); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:713:20: warning: left operand of comma operator has no effect [-Wunused-value] 713 | PUT(&buf, '\''); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:716:20: warning: left operand of comma operator has no effect [-Wunused-value] 716 | PUT(&buf, '\''); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:717:19: warning: left operand of comma operator has no effect [-Wunused-value] 717 | PUT(&buf, '\n'); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:731:17: warning: left operand of comma operator has no effect [-Wunused-value] 731 | PUT(&buf, '\n'); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:788:15: warning: left operand of comma operator has no effect [-Wunused-value] 788 | PUT(&buf, 0); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:935:15: warning: left operand of comma operator has no effect [-Wunused-value] 935 | PUT(&tmp, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1101:18: warning: left operand of comma operator has no effect [-Wunused-value] 1101 | PUT(&tmp, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1135:17: warning: left operand of comma operator has no effect [-Wunused-value] 1135 | PUT(&tmp, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1205:16: warning: left operand of comma operator has no effect [-Wunused-value] 1205 | PUT(&tmp, ' '); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1245:17: warning: left operand of comma operator has no effect [-Wunused-value] 1245 | PUT(&buf, ']'); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1269:16: warning: left operand of comma operator has no effect [-Wunused-value] 1269 | PUT(&buf, ']'); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1291:13: warning: left operand of comma operator has no effect [-Wunused-value] 1291 | PUT(&buf, ']'); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1296:14: warning: left operand of comma operator has no effect [-Wunused-value] 1296 | PUT(&buf, ']'); | ^~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:1298:13: warning: left operand of comma operator has no effect [-Wunused-value] 1298 | PUT(&buf, '\n'); | ^~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' 103 | #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) | ^ 40 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astquery.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astwinsize.c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astwinsize.c:131:9: error: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | if (!ioctl(fd, op, tt)) return(0); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/astwinsize.c:139:12: error: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | else if (!ioctl(fd, op, tt)) return(0); | ^ 2 errors generated. mamake [lib/libast]: *** exit code 1 making astwinsize.o + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c conftab.c conftab.c:91:118: warning: implicit conversion from 'int' to 'short' changes value from 65537 to 1 [-Wconstant-conversion] 91 | { "DARWIN_USER_TEMP_DIR", { 0, 0 }, { 0, 0 }, CONF_FEATURE|CONF_UNDERSCORE|CONF_STRING, CONF_POSIX, 1, CONF_confstr, _CS_DARWIN_USER_TEMP_DIR }, | ~ ^~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:418:35: note: expanded from macro '_CS_DARWIN_USER_TEMP_DIR' 418 | #define _CS_DARWIN_USER_TEMP_DIR 65537 | ^~~~~ conftab.c:90:113: warning: implicit conversion from 'int' to 'short' changes value from 65536 to 0 [-Wconstant-conversion] 90 | { "DARWIN_USER_DIR", { 0, 0 }, { 0, 0 }, CONF_FEATURE|CONF_UNDERSCORE|CONF_STRING, CONF_POSIX, 1, CONF_confstr, _CS_DARWIN_USER_DIR }, | ~ ^~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:417:31: note: expanded from macro '_CS_DARWIN_USER_DIR' 417 | #define _CS_DARWIN_USER_DIR 65536 | ^~~~~ conftab.c:89:119: warning: implicit conversion from 'int' to 'short' changes value from 65538 to 2 [-Wconstant-conversion] 89 | { "DARWIN_USER_CACHE_DIR", { 0, 0 }, { 0, 0 }, CONF_FEATURE|CONF_UNDERSCORE|CONF_STRING, CONF_POSIX, 1, CONF_confstr, _CS_DARWIN_USER_CACHE_DIR }, | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:419:36: note: expanded from macro '_CS_DARWIN_USER_CACHE_DIR' 419 | #define _CS_DARWIN_USER_CACHE_DIR 65538 | ^~~~~ 3 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/port/aststatic.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getopt.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c /var/tmp/work/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] 61 | if (s = strchr(t, o->val)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:61:11: note: place parentheses around the assignment to silence this warning 61 | if (s = strchr(t, o->val)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:61:11: note: use '==' to turn this assignment into an equality comparison 61 | if (s = strchr(t, o->val)) | ^ | == /var/tmp/work/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] 81 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:81:12: note: place parentheses around the assignment to silence this warning 81 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getoptl.c:81:12: note: use '==' to turn this assignment into an equality comparison 81 | while (c = *s++) | ^ | == 2 warnings generated. + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iaso -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso.c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso.c:856:10: error: incompatible integer to pointer conversion passing 'uint64_t' (aka 'unsigned long long') to parameter of type 'void *' [-Wint-conversion] 856 | return _aso_casptr((void**)p, o, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./FEATURE/aso:19:66: note: expanded from macro '_aso_casptr' 19 | #define _aso_casptr(p,o,n) ((void*)__sync_val_compare_and_swap(p,(uint64_t)o,(uint64_t)n)) | ^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso.c:856:10: error: incompatible integer to pointer conversion passing 'uint64_t' (aka 'unsigned long long') to parameter of type 'void *' [-Wint-conversion] 856 | return _aso_casptr((void**)p, o, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./FEATURE/aso:19:78: note: expanded from macro '_aso_casptr' 19 | #define _aso_casptr(p,o,n) ((void*)__sync_val_compare_and_swap(p,(uint64_t)o,(uint64_t)n)) | ^~~~~~~~~~~ 2 errors generated. mamake [lib/libast]: *** exit code 1 making aso.o + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iaso -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/asolock.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iaso -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/asometh.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iaso -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/asorelax.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iaso -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c /var/tmp/work/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] 84 | if (path = (char*)details) | ~~~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:84:11: note: place parentheses around the assignment to silence this warning 84 | if (path = (char*)details) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:84:11: note: use '==' to turn this assignment into an equality comparison 84 | if (path = (char*)details) | ^ | == /var/tmp/work/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] 85 | while (opt = strchr(path, ',')) | ~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:85:14: note: place parentheses around the assignment to silence this warning 85 | while (opt = strchr(path, ',')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-sem.c:85:14: note: use '==' to turn this assignment into an equality comparison 85 | while (opt = strchr(path, ',')) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iaso -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c /var/tmp/work/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] 92 | if (path = (char*)details) | ~~~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:92:11: note: place parentheses around the assignment to silence this warning 92 | if (path = (char*)details) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:92:11: note: use '==' to turn this assignment into an equality comparison 92 | if (path = (char*)details) | ^ | == /var/tmp/work/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] 93 | while (opt = strchr(path, ',')) | ~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:93:14: note: place parentheses around the assignment to silence this warning 93 | while (opt = strchr(path, ',')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/aso/aso-fcntl.c:93:14: note: use '==' to turn this assignment into an equality comparison 93 | while (opt = strchr(path, ',')) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmbest.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmclear.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmclose.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmdcheap.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmdebug.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmdisc.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmexit.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmlast.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmopen.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmpool.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmprivate.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmprofile.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmregion.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmsegment.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmset.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmstat.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmstrdup.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmtrace.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmwalk.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmmopen.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Ivmalloc -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:395:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 395 | if(vm = regionof((Void_t*)list)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:395:9: note: place parentheses around the assignment to silence this warning 395 | if(vm = regionof((Void_t*)list)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:395:9: note: use '==' to turn this assignment into an equality comparison 395 | if(vm = regionof((Void_t*)list)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1306:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1306 | if (s = getenv("VMALLOC_OPTIONS")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1306:8: note: place parentheses around the assignment to silence this warning 1306 | if (s = getenv("VMALLOC_OPTIONS")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/malloc.c:1306:8: note: use '==' to turn this assignment into an equality comparison 1306 | if (s = getenv("VMALLOC_OPTIONS")) | ^ | == 2 warnings generated. + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/vmalloc/vmgetmem.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/a64l.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/acosh.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/asinh.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/atanh.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/cbrt.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/crypt.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/erf.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/err.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/exp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/exp__E.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/expm1.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/gamma.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/getpass.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/lgamma.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/log.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/log1p.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/log__L.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/rand48.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/random.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/rcmd.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/rint.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Iuwin -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/uwin/support.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/disc/sfstrtmp.c + cc -D_BLD_ast -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast -Icomp -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/include -Istd -I/var/tmp/work/shells/ast-ksh/work/src/lib/libast/std -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c /var/tmp/work/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] 101 | if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:101:15: note: place parentheses around the assignment to silence this warning 101 | if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:101:15: note: use '==' to turn this assignment into an equality comparison 101 | if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) | ^ | == /var/tmp/work/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] 107 | while (*nv++ = *++ov); | ~~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:107:17: note: place parentheses around the assignment to silence this warning 107 | while (*nv++ = *++ov); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libast/obsolete/spawn.c:107:17: note: use '==' to turn this assignment into an equality comparison 107 | while (*nv++ = *++ov); | ^ | == 2 warnings generated. + test '' = man/LIBAST.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/LIBAST.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/LIBAST.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/LIBAST.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/LIBAST.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/LIBAST.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/LIBAST.3 + test '' = man/aso.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/aso.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/aso.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/aso.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/aso.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/aso.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/aso.3 + test '' = man/ast.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/ast.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ast.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ast.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ast.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/ast.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ast.3 + test '' = man/astsa.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/astsa.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/astsa.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/astsa.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/astsa.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/astsa.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/astsa.3 + test '' = man/cdt.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/cdt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/cdt.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/cdt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/cdt.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/cdt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/cdt.3 + test '' = man/chr.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/chr.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/chr.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/chr.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/chr.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/chr.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/chr.3 + test '' = man/compat.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/compat.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/compat.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/compat.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/compat.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/compat.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/compat.3 + test '' = man/error.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/error.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/error.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/error.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/error.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/error.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/error.3 + test '' = man/find.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/find.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/find.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/find.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/find.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/find.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/find.3 + test '' = man/fmt.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/fmt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmt.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmt.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/fmt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmt.3 + test '' = man/fmtls.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/fmtls.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmtls.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmtls.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmtls.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/fmtls.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fmtls.3 + test '' = man/fs3d.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/fs3d.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fs3d.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fs3d.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fs3d.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/fs3d.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/fs3d.3 + test '' = man/ftwalk.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/ftwalk.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ftwalk.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ftwalk.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ftwalk.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/ftwalk.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ftwalk.3 + test '' = man/getcwd.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/getcwd.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/getcwd.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/getcwd.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/getcwd.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/getcwd.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/getcwd.3 + test '' = man/hash.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/hash.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/hash.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/hash.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/hash.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/hash.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/hash.3 + test '' = man/iblocks.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/iblocks.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/iblocks.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/iblocks.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/iblocks.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/iblocks.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/iblocks.3 + test '' = man/int.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/int.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/int.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/int.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/int.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/int.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/int.3 + test '' = man/ip6.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/ip6.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ip6.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ip6.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ip6.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/ip6.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/ip6.3 + test '' = man/magic.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/magic.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/magic.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/magic.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/magic.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/magic.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/magic.3 + test '' = man/mem.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/mem.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mem.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mem.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mem.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/mem.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mem.3 + test '' = man/mime.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/mime.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mime.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mime.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mime.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/mime.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/mime.3 + test '' = man/modecanon.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/modecanon.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/modecanon.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/modecanon.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/modecanon.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/modecanon.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/modecanon.3 + test '' = man/optget.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/optget.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/optget.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/optget.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/optget.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/optget.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/optget.3 + test '' = man/path.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/path.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/path.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/path.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/path.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/path.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/path.3 + test '' = man/preroot.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/preroot.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/preroot.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/preroot.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/preroot.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/preroot.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/preroot.3 + test '' = man/proc.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/proc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/proc.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/proc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/proc.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/proc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/proc.3 + test '' = man/re.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/re.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/re.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/re.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/re.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/re.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/re.3 + test '' = man/regex.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/regex.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/regex.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/regex.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/regex.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/regex.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/regex.3 + test '' = man/setenviron.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/setenviron.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/setenviron.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/setenviron.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/setenviron.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/setenviron.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/setenviron.3 + test '' = man/sfdisc.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/sfdisc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfdisc.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfdisc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfdisc.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/sfdisc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfdisc.3 + test '' = man/sfio.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/sfio.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfio.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfio.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfio.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/sfio.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sfio.3 + test '' = man/sig.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/sig.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sig.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sig.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sig.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/sig.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/sig.3 + test '' = man/spawnveg.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/spawnveg.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/spawnveg.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/spawnveg.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/spawnveg.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/spawnveg.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/spawnveg.3 + test '' = man/stak.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stak.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stak.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stak.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stak.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stak.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stak.3 + test '' = man/stk.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stk.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stk.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stk.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stk.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stk.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stk.3 + test '' = man/strcopy.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strcopy.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strcopy.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strcopy.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strcopy.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strcopy.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strcopy.3 + test '' = man/strdup.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strdup.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strdup.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strdup.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strdup.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strdup.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strdup.3 + test '' = man/strelapsed.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strelapsed.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strelapsed.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strelapsed.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strelapsed.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strelapsed.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strelapsed.3 + test '' = man/strerror.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strerror.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strerror.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strerror.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strerror.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strerror.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strerror.3 + test '' = man/stresc.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stresc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stresc.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stresc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stresc.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stresc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stresc.3 + test '' = man/streval.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/streval.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/streval.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/streval.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/streval.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/streval.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/streval.3 + test '' = man/strgid.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strgid.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strgid.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strgid.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strgid.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strgid.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strgid.3 + test '' = man/strmatch.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strmatch.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strmatch.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strmatch.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strmatch.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strmatch.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strmatch.3 + test '' = man/stropt.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stropt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stropt.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stropt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stropt.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/stropt.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/stropt.3 + test '' = man/strperm.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strperm.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strperm.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strperm.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strperm.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strperm.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strperm.3 + test '' = man/strsignal.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strsignal.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsignal.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsignal.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsignal.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strsignal.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsignal.3 + test '' = man/strsort.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strsort.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsort.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsort.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsort.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strsort.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strsort.3 + test '' = man/strtape.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strtape.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strtape.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strtape.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strtape.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strtape.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strtape.3 + test '' = man/strton.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strton.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strton.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strton.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strton.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/strton.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/strton.3 + test '' = man/struid.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/struid.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/struid.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/struid.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/struid.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/struid.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/struid.3 + test '' = man/swap.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/swap.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/swap.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/swap.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/swap.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/swap.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/swap.3 + test '' = man/tab.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tab.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tab.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tab.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tab.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tab.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tab.3 + test '' = man/tm.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tm.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tm.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tm.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tm.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tm.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tm.3 + test '' = man/tmx.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tmx.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tmx.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tmx.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tmx.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tmx.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tmx.3 + test '' = man/tok.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tok.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tok.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tok.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tok.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tok.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tok.3 + test '' = man/touch.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/touch.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/touch.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/touch.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/touch.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/touch.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/touch.3 + test '' = man/tv.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tv.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tv.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tv.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tv.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/tv.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/tv.3 + test '' = man/vecargs.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/vecargs.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vecargs.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vecargs.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vecargs.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/vecargs.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vecargs.3 + test '' = man/vmalloc.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/vmalloc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vmalloc.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vmalloc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vmalloc.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/man/vmalloc.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/vmalloc.3 + test '' = ast.req + /usr/bin/cmp -s ast.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/ast + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/ast /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/ast.old + true + /bin/cp ast.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/ast + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_common.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_common.h 1.63257.x + mv 1.63257.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_common.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h 1.63265.x + mv 1.63265.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_dir.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_dir.h 1.63275.x + mv 1.63275.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_dir.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_getopt.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_getopt.h 1.63281.x + mv 1.63281.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_getopt.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_std.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_std.h 1.63297.x + mv 1.63297.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_std.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_namval.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_namval.h 1.63308.x + mv 1.63308.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_namval.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ast_windows.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_windows.h 1.63318.x + mv 1.63318.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_windows.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ccode.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ccode.h 1.63330.x + mv 1.63330.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ccode.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/cdt.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cdt.h 1.63344.x + mv 1.63344.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cdt.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/cdt/cdtlib.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cdtlib.h 1.63352.x + mv 1.63352.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cdtlib.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/cmdarg.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cmdarg.h 1.63371.x + mv 1.63371.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cmdarg.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/debug.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/debug.h 1.63384.x + mv 1.63384.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/debug.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/dt.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/dt.h 1.63389.x + mv 1.63389.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/dt.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/error.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/error.h 1.63398.x + mv 1.63398.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/error.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/find.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/find.h 1.63407.x + mv 1.63407.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/find.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/ftw.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ftw.h 1.63423.x + mv 1.63423.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ftw.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ftwalk.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ftwalk.h 1.63440.x + mv 1.63440.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ftwalk.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fts.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h 1.63455.x + mv 1.63455.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fs3d.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fs3d.h 1.63469.x + mv 1.63469.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fs3d.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/getopt.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/getopt.h 1.63475.x + mv 1.63475.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/getopt.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/glob.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/glob.h 1.63480.x + mv 1.63480.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/glob.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/hash.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/hash.h 1.63487.x + mv 1.63487.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/hash.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/hashkey.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/hashkey.h 1.63506.x + mv 1.63506.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/hashkey.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/hashpart.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/hashpart.h 1.63524.x + mv 1.63524.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/hashpart.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ip6.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ip6.h 1.63531.x + mv 1.63531.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ip6.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' lc.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/lc.h 1.63542.x + mv 1.63542.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/lc.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/ls.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h 1.63549.x + mv 1.63549.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magic.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/magic.h 1.63567.x + mv 1.63567.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/magic.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/mc.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/mc.h 1.63583.x + mv 1.63583.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/mc.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/mime.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/mime.h 1.63602.x + mv 1.63602.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/mime.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/mnt.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/mnt.h 1.63623.x + mv 1.63623.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/mnt.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/modecanon.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/modecanon.h 1.63633.x + mv 1.63633.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/modecanon.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/modex.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/modex.h 1.63642.x + mv 1.63642.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/modex.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/namval.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/namval.h 1.63648.x + mv 1.63648.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/namval.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/option.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/option.h 1.63668.x + mv 1.63668.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/option.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/proc.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/proc.h 1.63677.x + mv 1.63677.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/proc.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/re_comp.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/re_comp.h 1.63687.x + mv 1.63687.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/re_comp.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/recfmt.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/recfmt.h 1.63699.x + mv 1.63699.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/recfmt.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/regex.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/regex.h 1.63711.x + mv 1.63711.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/regex.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/regexp.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/regexp.h 1.63727.x + mv 1.63727.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/regexp.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/sfio.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfio.h 1.63737.x + mv 1.63737.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfio.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/sfio_s.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfio_s.h 1.63746.x + mv 1.63746.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfio_s.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/sfio_t.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfio_t.h 1.63765.x + mv 1.63765.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfio_t.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/sfdisc.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfdisc.h 1.63781.x + mv 1.63781.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sfdisc.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/shcmd.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/shcmd.h 1.63795.x + mv 1.63795.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/shcmd.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/stack.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stack.h 1.63815.x + mv 1.63815.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stack.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/stak.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stak.h 1.63821.x + mv 1.63821.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stak.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/stk.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stk.h 1.63840.x + mv 1.63840.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stk.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/swap.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/swap.h 1.63858.x + mv 1.63858.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/swap.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/tar.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tar.h 1.63872.x + mv 1.63872.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tar.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/times.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/times.h 1.63883.x + mv 1.63883.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/times.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/tm.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tm.h 1.63899.x + mv 1.63899.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tm.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/tok.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tok.h 1.63908.x + mv 1.63908.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tok.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/usage.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/usage.h 1.63924.x + mv 1.63924.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/usage.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/vdb.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/vdb.h 1.63933.x + mv 1.63933.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/vdb.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/vecargs.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/vecargs.h 1.63951.x + mv 1.63951.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/vecargs.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/vmalloc.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/vmalloc.h 1.63971.x + mv 1.63971.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/vmalloc.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/wait.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wait.h 1.63982.x + mv 1.63982.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wait.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/wordexp.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wordexp.h 1.64006.x + mv 1.64006.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wordexp.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/bytesex.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/bytesex.h 1.64028.x + mv 1.64028.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/bytesex.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/endian.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/endian.h 1.64042.x + mv 1.64042.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/endian.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/comp/fnmatch.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fnmatch.h 1.64067.x + mv 1.64067.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fnmatch.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/magicid.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/magicid.h 1.64079.x + mv 1.64079.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/magicid.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/fnv.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fnv.h 1.64093.x + mv 1.64093.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fnv.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/include/aso.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/aso.h 1.64100.x + mv 1.64100.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/aso.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/dirent.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/dirent.h 1.64119.x + mv 1.64119.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/dirent.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/iconv.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/iconv.h 1.64136.x + mv 1.64136.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/iconv.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/nl_types.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/nl_types.h 1.64149.x + mv 1.64149.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/nl_types.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/stdio.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stdio.h 1.64159.x + mv 1.64159.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/stdio.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/wchar.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wchar.h 1.64172.x + mv 1.64172.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wchar.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' /var/tmp/work/shells/ast-ksh/work/src/lib/libast/std/wctype.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wctype.h 1.64190.x + mv 1.64190.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/wctype.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' align.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/align.h 1.64194.x + mv 1.64194.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/align.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' preroot.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/preroot.h 1.64199.x + mv 1.64199.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/preroot.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' sig.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sig.h 1.64213.x + mv 1.64213.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sig.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' tmx.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tmx.h 1.64223.x + mv 1.64223.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tmx.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' tv.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tv.h 1.64231.x + mv 1.64231.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/tv.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_api.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_api.h 1.64242.x + mv 1.64242.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_api.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_botch.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_botch.h 1.64257.x + mv 1.64257.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_botch.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_ccode.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_ccode.h 1.64267.x + mv 1.64267.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_ccode.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_fcntl.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_fcntl.h 1.64276.x + mv 1.64276.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_float.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_float.h 1.64299.x + mv 1.64299.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_float.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_fs.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_fs.h 1.64309.x + mv 1.64309.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_fs.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_lib.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_lib.h 1.64326.x + mv 1.64326.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_lib.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_map.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_map.h 1.64334.x + mv 1.64334.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_map.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_mmap.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mmap.h 1.64339.x + mv 1.64339.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mmap.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_mode.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h 1.64349.x + mv 1.64349.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_ndbm.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_ndbm.h 1.64715.x + mv 1.64715.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_ndbm.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_param.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_param.h 1.64722.x + mv 1.64722.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_param.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_sys.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_sys.h 1.64738.x + mv 1.64738.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_sys.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_time.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_time.h 1.64747.x + mv 1.64747.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_time.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_tty.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_tty.h 1.64752.x + mv 1.64752.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_tty.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_vfork.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_vfork.h 1.64756.x + mv 1.64756.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_vfork.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_wait.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_wait.h 1.64760.x + mv 1.64760.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_wait.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_limits.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_limits.h 1.64773.x + mv 1.64773.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_limits.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_standards.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_standards.h 1.64780.x + mv 1.64780.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_standards.h + iffe -v -X ast -X std -c 'cc -D_BLD_ast -O -lm ' run /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_sizeof.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_sizeof.h 1.64997.x + mv 1.64997.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_sizeof.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_dirent.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_dirent.h 1.65011.x + mv 1.65011.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_dirent.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_iconv.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_iconv.h 1.65025.x + mv 1.65025.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_iconv.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_nl_types.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_nl_types.h 1.65040.x + mv 1.65040.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_nl_types.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_stdio.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_stdio.h 1.65048.x + mv 1.65048.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_stdio.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_wchar.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_wchar.h 1.65069.x + mv 1.65069.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_wchar.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' ast_wctype.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_wctype.h 1.65106.x + mv 1.65106.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_wctype.h + silent test '!' -d /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/file + mkdir -p /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/file + test '' = misc/magic.tab + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.tab /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/file/magic + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/file/magic /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/file/magic.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libast/misc/magic.tab /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/file/magic mamake: *** exit code 1 making lib/libast + mamake -C lib/libdll -k LDFLAGS=-lm install + set - + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -last -liconv : run /var/tmp/work/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 ... no 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 -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dlfcn.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllopen.c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllopen.c:90:9: error: call to undeclared function 'dlopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | return dlopen(name, mode); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllopen.c:90:9: note: did you mean 'dllopen'? /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllopen.c:87:1: note: 'dllopen' declared here 87 | dllopen(const char* name, int mode) | ^ 88 | { 89 | state.error = 0; 90 | return dlopen(name, mode); | ~~~~~~ | dllopen /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllopen.c:90:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *' [-Wint-conversion] 90 | return dlopen(name, mode); | ^~~~~~~~~~~~~~~~~~ 2 errors generated. mamake [lib/libdll]: *** exit code 1 making dllopen.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllfind.c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllfind.c:43:37: error: call to undeclared function 'dllplug'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllfind.c:43:35: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] 43 | if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllfind.c:45:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *' [-Wint-conversion] 45 | return dllplug(NiL, lib, ver, flags, path, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. mamake [lib/libdll]: *** exit code 1 making dllfind.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:41:2: error: unknown type name 'Dllscan_t'; did you mean 'Dllstate_t'? 41 | Dllscan_t* dls; | ^~~~~~~~~ | Dllstate_t /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dlllib.h:32:3: note: 'Dllstate_t' declared here 32 | } Dllstate_t; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:42:2: error: use of undeclared identifier 'Dllent_t' 42 | Dllent_t* dle; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:42:12: error: use of undeclared identifier 'dle' 42 | Dllent_t* dle; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:13: error: call to undeclared function 'dllsopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | if (dls = dllsopen(lib, name, ver)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: error: incompatible integer to pointer conversion assigning to 'Dllstate_t *' (aka 'struct Dllstate_s *') from 'int' [-Wint-conversion] 47 | if (dls = dllsopen(lib, name, ver)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 47 | if (dls = dllsopen(lib, name, ver)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: note: place parentheses around the assignment to silence this warning 47 | if (dls = dllsopen(lib, name, ver)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: note: use '==' to turn this assignment into an equality comparison 47 | if (dls = dllsopen(lib, name, ver)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:17: error: call to undeclared function 'dllsread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | while (dle = dllsread(dls)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | while (dle = dllsread(dls)) | ~~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:15: note: place parentheses around the assignment to silence this warning 49 | while (dle = dllsread(dls)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:15: note: use '==' to turn this assignment into an equality comparison 49 | while (dle = dllsread(dls)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:11: error: use of undeclared identifier 'dle' 49 | while (dle = dllsread(dls)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:15: error: call to undeclared function 'dllopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 55 | if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:13: note: place parentheses around the assignment to silence this warning 55 | if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:13: note: use '==' to turn this assignment into an equality comparison 55 | if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:23: error: use of undeclared identifier 'dle' 55 | if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:40: error: use of undeclared identifier 'RTLD_GLOBAL' 55 | if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:52: error: use of undeclared identifier 'RTLD_PARENT' 55 | if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:57:11: error: call to undeclared function 'dllcheck'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | if (!dllcheck(dll, dle->path, rel, cur)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:57:25: error: use of undeclared identifier 'dle' 57 | if (!dllcheck(dll, dle->path, rel, cur)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:60:7: error: call to undeclared function 'dlclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | dlclose(dll); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:65:21: error: use of undeclared identifier 'dle' 65 | strlcpy(path, dle->path, size); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:93:74: error: call to undeclared function 'dllerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | errorf("dll", NiL, 1, "dllplugin: %s dlopen failed: %s", dle->path, dllerror(1)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:93:63: error: use of undeclared identifier 'dle' 93 | errorf("dll", NiL, 1, "dllplugin: %s dlopen failed: %s", dle->path, dllerror(1)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:97:4: error: call to undeclared function 'dllsclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | dllsclose(dls); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllplug.c:109:12: error: call to undeclared function 'dllopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | if (dll = dllopen(name, flags)) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. mamake [lib/libdll]: *** exit code 1 making dllplug.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:42:1: error: unknown type name 'Dllnames_t' 42 | Dllnames_t* | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:43:44: error: unknown type name 'Dllnames_t' 43 | dllnames(const char* id, const char* name, Dllnames_t* names) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:56:32: error: expected expression 56 | s = fmtbuf(sizeof(Dllnames_t*) + sizeof(names) - 1); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:56:21: error: use of undeclared identifier 'Dllnames_t' 56 | s = fmtbuf(sizeof(Dllnames_t*) + sizeof(names) - 1); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:57:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 57 | if (n = (s - (char*)0) % sizeof(names)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:57:9: note: place parentheses around the assignment to silence this warning 57 | if (n = (s - (char*)0) % sizeof(names)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:57:9: note: use '==' to turn this assignment into an equality comparison 57 | if (n = (s - (char*)0) % sizeof(names)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:59:23: error: expected expression 59 | names = (Dllnames_t*)s; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:59:12: error: use of undeclared identifier 'Dllnames_t' 59 | names = (Dllnames_t*)s; | ^ /var/tmp/work/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] 83 | if (t = strrchr(s, ':')) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:83:8: note: place parentheses around the assignment to silence this warning 83 | if (t = strrchr(s, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:83:8: note: use '==' to turn this assignment into an equality comparison 83 | if (t = strrchr(s, ':')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:110:9: error: unknown type name 'Dllnames_t' 110 | dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:110:51: error: unknown type name 'Dllerror_f' 110 | dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:138:14: error: call to undeclared function 'dllplugin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | 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)))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:138:67: error: use of undeclared identifier 'RTLD_LAZY' 138 | 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)))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:138:241: error: use of undeclared identifier 'RTLD_LAZY' 138 | 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)))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:152:26: error: call to undeclared function 'dlllook'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | if (!(libf = (Dll_lib_f)dlllook(dll, sym))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:152:15: warning: cast to 'Dll_lib_f' (aka 'void *(*)(const char *, void *, const char *)') from smaller integer type 'int' [-Wint-to-pointer-cast] 152 | if (!(libf = (Dll_lib_f)dlllook(dll, sym))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:165:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 165 | if (lib = newof(0, Dll_lib_t, 1, (n = strlen(names->base)) + strlen(names->path) + 1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:165:10: note: place parentheses around the assignment to silence this warning 165 | if (lib = newof(0, Dll_lib_t, 1, (n = strlen(names->base)) + strlen(names->path) + 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:165:10: note: use '==' to turn this assignment into an equality comparison 165 | if (lib = newof(0, Dll_lib_t, 1, (n = strlen(names->base)) + strlen(names->path) + 1)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:185:2: error: use of undeclared identifier 'Dllnames_t'; did you mean 'dllnames'? 185 | Dllnames_t names; | ^~~~~~~~~~ | dllnames /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:43:1: note: 'dllnames' declared here 43 | dllnames(const char* id, const char* name, Dllnames_t* names) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:185:12: error: expected ';' after expression 185 | Dllnames_t names; | ^ | ; /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:185:13: error: use of undeclared identifier 'names'; did you mean 'name'? 185 | Dllnames_t names; | ^~~~~ | name /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:183:37: note: 'name' declared here 183 | dllmeth(const char* id, const char* name, unsigned long version) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:187:37: error: use of undeclared identifier 'names'; did you mean 'name'? 187 | return dll_lib(dllnames(id, name, &names), version, 0, 0); | ^~~~~ | name /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:183:37: note: 'name' declared here 183 | dllmeth(const char* id, const char* name, unsigned long version) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:185:13: warning: expression result unused [-Wunused-value] 185 | Dllnames_t names; | ^~~~~ 5 warnings and 16 errors generated. mamake [lib/libdll]: *** exit code 1 making dll_lib.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllnext.c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllnext.c:210:17: error: call to undeclared function 'dllopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | while (!(dll = dllopen(path, flags))) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllnext.c:210:15: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] 210 | while (!(dll = dllopen(path, flags))) | ^ ~~~~~~~~~~~~~~~~~~~~ 2 errors generated. mamake [lib/libdll]: *** exit code 1 making dllnext.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dlllook.c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dlllook.c:40:15: error: call to undeclared function 'dlsym'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dlllook.c:40:13: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] 40 | if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) | ^ ~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dlllook.c:45:8: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] 45 | addr = dlsym(dll, name); | ^ ~~~~~~~~~~~~~~~~ 3 errors generated. mamake [lib/libdll]: *** exit code 1 making dlllook.o + cc -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:62: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:85:1: error: unknown type name 'Dllinfo_t' 85 | Dllinfo_t* | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:98:9: error: unknown type name 'Dllinfo_t' 98 | static Dllinfo_t info; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:165:18: error: use of undeclared identifier 'DLL_INFO_PREVER' 165 | info.flags |= DLL_INFO_PREVER; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:167:18: error: use of undeclared identifier 'DLL_INFO_DOTVER' 167 | info.flags |= DLL_INFO_DOTVER; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:197:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 197 | if (n = *a - *b) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:197:9: note: place parentheses around the assignment to silence this warning 197 | if (n = *a - *b) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:197:9: note: use '==' to turn this assignment into an equality comparison 197 | if (n = *a - *b) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:211:1: error: unknown type name 'Dllscan_t' 211 | Dllscan_t* | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:216:2: error: use of undeclared identifier 'Dllscan_t' 216 | Dllscan_t* scan; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:216:13: error: use of undeclared identifier 'scan' 216 | Dllscan_t* scan; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:217:2: error: use of undeclared identifier 'Dllinfo_t' 217 | Dllinfo_t* info; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:217:13: error: use of undeclared identifier 'info' 217 | Dllinfo_t* info; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:232:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if (s = strrchr(lib, ':')) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:232:9: note: place parentheses around the assignment to silence this warning 232 | if (s = strrchr(lib, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:232:9: note: use '==' to turn this assignment into an equality comparison 232 | if (s = strrchr(lib, ':')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:15: error: expected expression 243 | if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) | ^ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/vmalloc.h:335:31: note: expanded from macro 'vmnewof' 335 | #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:30: error: use of undeclared identifier 'Dllscan_t' 243 | if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:30: error: use of undeclared identifier 'Dllscan_t' /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:8: error: use of undeclared identifier 'scan' 243 | if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:53: error: use of undeclared identifier 'scan' 243 | if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:248:2: error: use of undeclared identifier 'scan' 248 | scan->vm = vm; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:249:2: error: use of undeclared identifier 'info' 249 | info = dllinfo(); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:250:2: error: use of undeclared identifier 'scan' 250 | scan->flags = info->flags; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:250:16: error: use of undeclared identifier 'info' 250 | scan->flags = info->flags; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllscan.c:253:3: error: use of undeclared identifier 'scan' 253 | scan->lib = (char**)(scan + 1); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 23 warnings and 20 errors generated. mamake [lib/libdll]: *** exit code 1 making dllscan.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c /var/tmp/work/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'? 37 | Dll_plugin_version_f pvf; | ^~~~~~~~~~~~~~~~~~~~ | plugin_version /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:422:33: note: 'plugin_version' declared here 422 | extern __MANGLE__ unsigned long plugin_version __PROTO__((void)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:22: error: expected ';' after expression 37 | Dll_plugin_version_f pvf; | ^ | ; /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:23: error: use of undeclared identifier 'pvf' 37 | Dll_plugin_version_f pvf; | ^ /var/tmp/work/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'? 39 | if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) | ^~~~~~~~~~~~~~~~~~~~ | plugin_version /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:422:33: note: 'plugin_version' declared here 422 | extern __MANGLE__ unsigned long plugin_version __PROTO__((void)); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 39 | if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:10: note: place parentheses around the assignment to silence this warning 39 | if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:10: note: use '==' to turn this assignment into an equality comparison 39 | if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:6: error: use of undeclared identifier 'pvf' 39 | if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:34: error: expected ')' 39 | if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:5: note: to match this '(' 39 | if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:40:12: error: use of undeclared identifier 'pvf' 40 | return (*pvf)(); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:2: warning: expression result unused [-Wunused-value] 37 | Dll_plugin_version_f pvf; | ^~~~~~~~~~~~~~~~~~~~ 2 warnings and 7 errors generated. mamake [lib/libdll]: *** exit code 1 making dllcheck.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libdll -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllerror.c /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllerror.c:45:6: error: call to undeclared function 'dlerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | s = dlerror(); | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllerror.c:45:6: note: did you mean 'dllerror'? /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllerror.c:36:1: note: 'dllerror' declared here 36 | dllerror(int retain) | ^ 37 | { 38 | char* s; 39 | 40 | if (state.error) 41 | { 42 | state.error = retain; 43 | return state.errorbuf; 44 | } 45 | s = dlerror(); | ~~~~~~~ | dllerror /var/tmp/work/shells/ast-ksh/work/src/lib/libdll/dllerror.c:45:4: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] 45 | s = dlerror(); | ^ ~~~~~~~~~ 2 errors generated. mamake [lib/libdll]: *** exit code 1 making dllerror.o + test '' = dll.req + /usr/bin/cmp -s dll.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dll + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dll /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dll.old + true + /bin/cp dll.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/dll + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1997,author=gsf' dlldefs.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/dlldefs.h 1.67484.x + mv 1.67484.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/dlldefs.h mamake: *** exit code 1 making lib/libdll + mamake -C lib/libcoshell -k LDFLAGS=-lm install + set - + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:112:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 112 | while (*s = *v++) | ~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:112:15: note: place parentheses around the assignment to silence this warning 112 | while (*s = *v++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:112:15: note: use '==' to turn this assignment into an equality comparison 112 | while (*s = *v++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 237 | if (t = strrchr(s = av[0], '/')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:237:11: note: place parentheses around the assignment to silence this warning 237 | if (t = strrchr(s = av[0], '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:237:11: note: use '==' to turn this assignment into an equality comparison 237 | if (t = strrchr(s = av[0], '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:277:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 277 | if (t = getenv(CO_ENV_ATTRIBUTES)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:277:9: note: place parentheses around the assignment to silence this warning 277 | if (t = getenv(CO_ENV_ATTRIBUTES)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:277:9: note: use '==' to turn this assignment into an equality comparison 277 | if (t = getenv(CO_ENV_ATTRIBUTES)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:328:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 328 | if (t = strchr(s, ',')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:328:11: note: place parentheses around the assignment to silence this warning 328 | if (t = strchr(s, ',')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coopen.c:328:11: note: use '==' to turn this assignment into an equality comparison 328 | if (t = strchr(s, ',')) | ^ | == 4 warnings generated. + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coclose.c + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:75:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 75 | if (cvt = *n == '%') | ~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:75:10: note: place parentheses around the assignment to silence this warning 75 | if (cvt = *n == '%') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:75:10: note: use '==' to turn this assignment into an equality comparison 75 | if (cvt = *n == '%') | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:190:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | for (n = 0; s = co_export[n]; n++) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:190:19: note: place parentheses around the assignment to silence this warning 190 | for (n = 0; s = co_export[n]; n++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:190:19: note: use '==' to turn this assignment into an equality comparison 190 | for (n = 0; s = co_export[n]; n++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 204 | if (v = strchr(s, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:204:12: note: place parentheses around the assignment to silence this warning 204 | if (v = strchr(s, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:204:12: note: use '==' to turn this assignment into an equality comparison 204 | if (v = strchr(s, ':')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:206:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 206 | while (e = *ep++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:206:15: note: place parentheses around the assignment to silence this warning 206 | while (e = *ep++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:206:15: note: use '==' to turn this assignment into an equality comparison 206 | while (e = *ep++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:212:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | for (n = 0; xs = co_export[n]; n++) | ~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:212:24: note: place parentheses around the assignment to silence this warning 212 | for (n = 0; xs = co_export[n]; n++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:212:24: note: use '==' to turn this assignment into an equality comparison 212 | for (n = 0; xs = co_export[n]; n++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:244:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 244 | if (t = strchr(s, ':')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:244:13: note: place parentheses around the assignment to silence this warning 244 | if (t = strchr(s, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:244:13: note: use '==' to turn this assignment into an equality comparison 244 | if (t = strchr(s, ':')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:318:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 318 | while (n = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:318:13: note: place parentheses around the assignment to silence this warning 318 | while (n = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:318:13: note: use '==' to turn this assignment into an equality comparison 318 | while (n = *s++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:411:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 411 | if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:411:23: note: place parentheses around the assignment to silence this warning 411 | if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coinit.c:411:23: note: use '==' to turn this assignment into an equality comparison 411 | if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) | ^ | == 29 warnings generated. + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:31: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:292:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 292 | else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:292:21: note: place parentheses around the assignment to silence this warning 292 | else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:292:21: note: use '==' to turn this assignment into an equality comparison 292 | else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:367:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 367 | else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:367:21: note: place parentheses around the assignment to silence this warning 367 | else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexec.c:367:21: note: use '==' to turn this assignment into an equality comparison 367 | else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) | ^ | == 23 warnings generated. + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/costash.c + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cowait.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:42:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 42 | if (sp = sfopen(NiL, *path, "r")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:42:9: note: place parentheses around the assignment to silence this warning 42 | if (sp = sfopen(NiL, *path, "r")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:42:9: note: use '==' to turn this assignment into an equality comparison 42 | if (sp = sfopen(NiL, *path, "r")) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cowait.c:183:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 183 | else if (cj->service && !cj->service->pid) | ^ 2 warnings generated. + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cokill.c + iffe -v -c 'cc -fPIC -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/cosync.c:35: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coquote.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coquote.c:38:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 38 | while (c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coquote.c:38:11: note: place parentheses around the assignment to silence this warning 38 | while (c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coquote.c:38:11: note: use '==' to turn this assignment into an equality comparison 38 | while (c = *s++) | ^ | == 1 warning generated. + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/codata.c + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coexport.c + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/procrun.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/procrun.c:45:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 45 | while (s = *++a) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/procrun.c:45:11: note: place parentheses around the assignment to silence this warning 45 | while (s = *++a) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/procrun.c:45:11: note: use '==' to turn this assignment into an equality comparison 45 | while (s = *++a) | ^ | == 1 warning generated. + cc -fPIC -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/system.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/system.c:41:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 41 | if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/system.c:41:9: note: place parentheses around the assignment to silence this warning 41 | if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/system.c:41:9: note: use '==' to turn this assignment into an equality comparison 41 | 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 /var/tmp/work/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 /var/tmp/work/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 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a.old + true + /bin/cp libcoshell.a /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a + test '' = coshell.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coshell.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/coshell.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/coshell.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/coshell.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coshell.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/coshell.3 + test '' = coshell.req + /usr/bin/cmp -s coshell.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/coshell + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/coshell /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/coshell.old + true + /bin/cp coshell.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/coshell + test '' = ignore + /usr/bin/cmp -s ignore /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ignore + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ignore /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ignore.old + true + /bin/cp ignore /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/ignore + test '' = silent + /usr/bin/cmp -s silent /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/silent + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/silent /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/silent.old + true + /bin/cp silent /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/bin/silent + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1990,author=gsf' /var/tmp/work/shells/ast-ksh/work/src/lib/libcoshell/coshell.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/coshell.h 1.68294.x + mv 1.68294.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/coshell.h + mamake -C lib/libsum -k LDFLAGS=-lm install + set - + iffe -v -c 'cc -fPIC -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -last -liconv : run /var/tmp/work/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 ... yes 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/var/tmp/work/shells/ast-ksh/work/src/lib/libsum -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:84:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 84 | if (p = newof(0, Integral_t, 1, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:84:8: note: place parentheses around the assignment to silence this warning 84 | if (p = newof(0, Integral_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:84:8: note: use '==' to turn this assignment into an equality comparison 84 | if (p = newof(0, Integral_t, 1, 0)) | ^ | == In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:153: /var/tmp/work/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] 72 | if (p = newof(0, Ast4_t, 1, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-ast4.c:72:8: note: place parentheses around the assignment to silence this warning 72 | if (p = newof(0, Ast4_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-ast4.c:72:8: note: use '==' to turn this assignment into an equality comparison 72 | if (p = newof(0, Ast4_t, 1, 0)) | ^ | == In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:155: /var/tmp/work/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] 71 | if (sum = newof(0, Crc_t, 1, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-crc.c:71:10: note: place parentheses around the assignment to silence this warning 71 | if (sum = newof(0, Crc_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-crc.c:71:10: note: use '==' to turn this assignment into an equality comparison 71 | if (sum = newof(0, Crc_t, 1, 0)) | ^ | == In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:156: /var/tmp/work/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] 62 | if (sum = newof(0, Prng_t, 1, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-prng.c:62:10: note: place parentheses around the assignment to silence this warning 62 | if (sum = newof(0, Prng_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-prng.c:62:10: note: use '==' to turn this assignment into an equality comparison 62 | if (sum = newof(0, Prng_t, 1, 0)) | ^ | == In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:164: /var/tmp/work/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] 117 | if (p = newof(0, Md5_t, 1, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-md5.c:117:8: note: place parentheses around the assignment to silence this warning 117 | if (p = newof(0, Md5_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-md5.c:117:8: note: use '==' to turn this assignment into an equality comparison 117 | if (p = newof(0, Md5_t, 1, 0)) | ^ | == In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:165: /var/tmp/work/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] 254 | if (sha = newof(0, Sha1_t, 1, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha1.c:254:10: note: place parentheses around the assignment to silence this warning 254 | if (sha = newof(0, Sha1_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha1.c:254:10: note: use '==' to turn this assignment into an equality comparison 254 | if (sha = newof(0, Sha1_t, 1, 0)) | ^ | == In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sumlib.c:166: /var/tmp/work/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] 695 | if (sha = newof(0, Sha256_t, 1, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:695:10: note: place parentheses around the assignment to silence this warning 695 | if (sha = newof(0, Sha256_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:695:10: note: use '==' to turn this assignment into an equality comparison 695 | if (sha = newof(0, Sha256_t, 1, 0)) | ^ | == /var/tmp/work/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] 1058 | if (sha = newof(0, Sha512_t, 1, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1058:10: note: place parentheses around the assignment to silence this warning 1058 | if (sha = newof(0, Sha512_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1058:10: note: use '==' to turn this assignment into an equality comparison 1058 | if (sha = newof(0, Sha512_t, 1, 0)) | ^ | == /var/tmp/work/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] 1195 | if (sha = newof(0, Sha384_t, 1, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1195:10: note: place parentheses around the assignment to silence this warning 1195 | if (sha = newof(0, Sha384_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum-sha2.c:1195:10: note: use '==' to turn this assignment into an equality comparison 1195 | if (sha = newof(0, Sha384_t, 1, 0)) | ^ | == 9 warnings generated. + /usr/bin/ar rc libsum.a sumlib.o + test '' = libsum.a + /usr/bin/cmp -s libsum.a /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libsum.a + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libsum.a /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libsum.a.old + true + /bin/cp libsum.a /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libsum.a + test '' = sum.req + /usr/bin/cmp -s sum.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/sum + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/sum /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/sum.old + true + /bin/cp sum.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/sum + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1996,author=gsf' /var/tmp/work/shells/ast-ksh/work/src/lib/libsum/sum.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sum.h 1.69066.x + mv 1.69066.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/sum.h + mamake -C lib/libcmd -k LDFLAGS=-lm install + set - + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -lutil -last -liconv : run /var/tmp/work/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 -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -lutil -last -liconv : run /var/tmp/work/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 -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -lutil -last -liconv : run /var/tmp/work/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 -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -lutil -last -liconv : run /var/tmp/work/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 + sed -e '/^b_[a-z_][a-z_0-9]*(/!d' -e 's/^b_//' -e 's/(.*//' -e 's/.*/extern int b_&(int, char**, Shbltin_t*);/' /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/basename.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chown.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/dirname.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/ln.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/logname.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/md5sum.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mv.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pids.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rmdir.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sum.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tty.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/vmstate.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/revlib.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wclib.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/lib.c + sort -u + cmp -s 1.71704.h cmdext.h + mv 1.71704.h cmdext.h + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | if (cp = strrchr(argv[0], '/')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c:50:9: note: place parentheses around the assignment to silence this warning 50 | if (cp = strrchr(argv[0], '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmdinit.c:50:9: note: use '==' to turn this assignment into an equality comparison 50 | if (cp = strrchr(argv[0], '/')) | ^ | == 1 warning generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/basename.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/basename.c:136:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | while (string = *argv++) | ~~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/basename.c:136:17: note: place parentheses around the assignment to silence this warning 136 | while (string = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/basename.c:136:17: note: use '==' to turn this assignment into an equality comparison 136 | while (string = *argv++) | ^ | == 1 warning generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:176:25: warning: left operand of comma operator has no effect [-Wunused-value] 176 | if ((m = mbsize(pp)) == c) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:213:26: warning: left operand of comma operator has no effect [-Wunused-value] 213 | if ((m = mbsize(tmp)) >= c) | ^~~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:515:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 515 | if (cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:515:9: note: place parentheses around the assignment to silence this warning 515 | if (cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:515:9: note: use '==' to turn this assignment into an equality comparison 515 | if (cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 551 | } while (cp = *argv++); | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:551:14: note: place parentheses around the assignment to silence this warning 551 | } while (cp = *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cat.c:551:14: note: use '==' to turn this assignment into an equality comparison 551 | } while (cp = *argv++); | ^ | == 4 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:108: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:355:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 355 | while (s = sfgetr(sp, '\n', 1)) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:355:12: note: place parentheses around the assignment to silence this warning 355 | while (s = sfgetr(sp, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:355:12: note: use '==' to turn this assignment into an equality comparison 355 | while (s = sfgetr(sp, '\n', 1)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:434:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 434 | if (m = (Map_t*)dtmatch(map, &keys[i])) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:434:12: note: place parentheses around the assignment to silence this warning 434 | if (m = (Map_t*)dtmatch(map, &keys[i])) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chgrp.c:434:12: note: use '==' to turn this assignment into an equality comparison 434 | if (m = (Map_t*)dtmatch(map, &keys[i])) | ^ | == 23 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chmod.c:137: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/chown.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:114: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:189:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | while (p = sfgetr(ip, '\n', 1)) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:189:12: note: place parentheses around the assignment to silence this warning 189 | while (p = sfgetr(ip, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:189:12: note: use '==' to turn this assignment into an equality comparison 189 | while (p = sfgetr(ip, '\n', 1)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:200:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 200 | while (p = sfreserve(ip, SF_UNBOUND, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:200:12: note: place parentheses around the assignment to silence this warning 200 | while (p = sfreserve(ip, SF_UNBOUND, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:200:12: note: use '==' to turn this assignment into an equality comparison 200 | while (p = sfreserve(ip, SF_UNBOUND, 0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:209:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 209 | while (r = memchr(p, '\r', e - p)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:209:13: note: place parentheses around the assignment to silence this warning 209 | while (r = memchr(p, '\r', e - p)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:209:13: note: use '==' to turn this assignment into an equality comparison 209 | while (r = memchr(p, '\r', e - p)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:226:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | while (p = sfreserve(ip, SF_UNBOUND, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:226:12: note: place parentheses around the assignment to silence this warning 226 | while (p = sfreserve(ip, SF_UNBOUND, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:226:12: note: use '==' to turn this assignment into an equality comparison 226 | while (p = sfreserve(ip, SF_UNBOUND, 0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:272:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 272 | if (t = strchr(s, ' ')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:272:8: note: place parentheses around the assignment to silence this warning 272 | if (t = strchr(s, ' ')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:272:8: note: use '==' to turn this assignment into an equality comparison 272 | if (t = strchr(s, ' ')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:281:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if (t = strchr(++e, ' ')) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:281:10: note: place parentheses around the assignment to silence this warning 281 | if (t = strchr(++e, ' ')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:281:10: note: use '==' to turn this assignment into an equality comparison 281 | if (t = strchr(++e, ' ')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:291:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | if (e = strchr(++t, ' ')) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:291:11: note: place parentheses around the assignment to silence this warning 291 | if (e = strchr(++t, ' ')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:291:11: note: use '==' to turn this assignment into an equality comparison 291 | if (e = strchr(++t, ' ')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:306:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | if (sp = openfile(file, "rb")) | ~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:306:10: note: place parentheses around the assignment to silence this warning 306 | if (sp = openfile(file, "rb")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:306:10: note: use '==' to turn this assignment into an equality comparison 306 | if (sp = openfile(file, "rb")) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:411:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 411 | while (file = sfgetr(lp, '\n', 1)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:411:14: note: place parentheses around the assignment to silence this warning 411 | while (file = sfgetr(lp, '\n', 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:411:14: note: use '==' to turn this assignment into an equality comparison 411 | while (file = sfgetr(lp, '\n', 1)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 412 | if (sp = openfile(file, state->check ? "rt" : "rb")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:412:10: note: place parentheses around the assignment to silence this warning 412 | if (sp = openfile(file, state->check ? "rt" : "rb")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:412:10: note: use '==' to turn this assignment into an equality comparison 412 | if (sp = openfile(file, state->check ? "rt" : "rb")) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:577:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 577 | while (file = *argv++) | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:577:16: note: place parentheses around the assignment to silence this warning 577 | while (file = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:577:16: note: use '==' to turn this assignment into an equality comparison 577 | while (file = *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:578:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 578 | if (sp = openfile(file, "rt")) | ~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:578:12: note: place parentheses around the assignment to silence this warning 578 | if (sp = openfile(file, "rt")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:578:12: note: use '==' to turn this assignment into an equality comparison 578 | if (sp = openfile(file, "rt")) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:584:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 584 | else if (sp = openfile(NiL, "rt")) | ~~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:584:15: note: place parentheses around the assignment to silence this warning 584 | else if (sp = openfile(NiL, "rt")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:584:15: note: use '==' to turn this assignment into an equality comparison 584 | else if (sp = openfile(NiL, "rt")) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:604:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 604 | if (sp = openfile(ent->fts_accpath, "rb")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:604:12: note: place parentheses around the assignment to silence this warning 604 | if (sp = openfile(ent->fts_accpath, "rb")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cksum.c:604:12: note: use '==' to turn this assignment into an equality comparison 604 | if (sp = openfile(ent->fts_accpath, "rb")) | ^ | == 35 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:79: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:332:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 332 | if (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:332:8: note: place parentheses around the assignment to silence this warning 332 | if (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:332:8: note: use '==' to turn this assignment into an equality comparison 332 | if (s = *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 340 | if (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:340:9: note: place parentheses around the assignment to silence this warning 340 | if (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmp.c:340:9: note: use '==' to turn this assignment into an equality comparison 340 | if (s = *argv++) | ^ | == 23 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:70:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 70 | if(cp1 = sfgetr(in1,'\n',0)) | ~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:70:9: note: place parentheses around the assignment to silence this warning 70 | if(cp1 = sfgetr(in1,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:70:9: note: use '==' to turn this assignment into an equality comparison 70 | if(cp1 = sfgetr(in1,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:72:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 72 | if(cp2 = sfgetr(in2,'\n',0)) | ~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:72:9: note: place parentheses around the assignment to silence this warning 72 | if(cp2 = sfgetr(in2,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:72:9: note: use '==' to turn this assignment into an equality comparison 72 | if(cp2 = sfgetr(in2,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:90:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 90 | if(cp1 = sfgetr(in1,'\n',0)) | ~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:90:11: note: place parentheses around the assignment to silence this warning 90 | if(cp1 = sfgetr(in1,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:90:11: note: use '==' to turn this assignment into an equality comparison 90 | if(cp1 = sfgetr(in1,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:92:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 92 | if(cp2 = sfgetr(in2,'\n',0)) | ~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:92:11: note: place parentheses around the assignment to silence this warning 92 | if(cp2 = sfgetr(in2,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:92:11: note: use '==' to turn this assignment into an equality comparison 92 | if(cp2 = sfgetr(in2,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:104:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | if(cp2 = sfgetr(in2,'\n',0)) | ~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:104:11: note: place parentheses around the assignment to silence this warning 104 | if(cp2 = sfgetr(in2,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:104:11: note: use '==' to turn this assignment into an equality comparison 104 | if(cp2 = sfgetr(in2,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 111 | if(cp1 = sfgetr(in1,'\n',0)) | ~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:111:11: note: place parentheses around the assignment to silence this warning 111 | if(cp1 = sfgetr(in1,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/comm.c:111:11: note: use '==' to turn this assignment into an equality comparison 111 | if(cp1 = sfgetr(in1,'\n',0)) | ^ | == 6 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:134: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:300:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 300 | while (e = strchr(s, '/')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:300:13: note: place parentheses around the assignment to silence this warning 300 | while (e = strchr(s, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:300:13: note: use '==' to turn this assignment into an equality comparison 300 | while (e = strchr(s, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:306:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | if (s = strrchr(s, '/')) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:306:12: note: place parentheses around the assignment to silence this warning 306 | if (s = strrchr(s, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:306:12: note: use '==' to turn this assignment into an equality comparison 306 | if (s = strrchr(s, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 502 | if (s = strrchr(state->path, '/')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:502:10: note: place parentheses around the assignment to silence this warning 502 | if (s = strrchr(state->path, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:502:10: note: use '==' to turn this assignment into an equality comparison 502 | if (s = strrchr(state->path, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:513:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 513 | if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:513:12: note: place parentheses around the assignment to silence this warning 513 | if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:513:12: note: use '==' to turn this assignment into an equality comparison 513 | if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:515:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 515 | while (sub = fts_read(fts)) | ~~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:515:16: note: place parentheses around the assignment to silence this warning 515 | while (sub = fts_read(fts)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:515:16: note: use '==' to turn this assignment into an equality comparison 515 | while (sub = fts_read(fts)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:956:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 956 | if (s = strrchr(file, '/')) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:956:8: note: place parentheses around the assignment to silence this warning 956 | if (s = strrchr(file, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:956:8: note: use '==' to turn this assignment into an equality comparison 956 | if (s = strrchr(file, '/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:986:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 986 | if (fts = fts_open(argv, state->flags, NiL)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:986:10: note: place parentheses around the assignment to silence this warning 986 | if (fts = fts_open(argv, state->flags, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cp.c:986:10: note: use '==' to turn this assignment into an equality comparison 986 | if (fts = fts_open(argv, state->flags, NiL)) | ^ | == 28 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:142:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | if (cut->mb = mbwide()) | ~~~~~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:142:14: note: place parentheses around the assignment to silence this warning 142 | if (cut->mb = mbwide()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:142:14: note: use '==' to turn this assignment into an equality comparison 142 | if (cut->mb = mbwide()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:265:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 265 | if (len = cut->reclen) | ~~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:265:11: note: place parentheses around the assignment to silence this warning 265 | if (len = cut->reclen) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:265:11: note: use '==' to turn this assignment into an equality comparison 265 | if (len = cut->reclen) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:288:28: warning: left operand of comma operator has no effect [-Wunused-value] 288 | else if ((z = mbnsize(s, w)) <= 0) | ^ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:201:62: note: expanded from macro 'mbnsize' 201 | #define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:318:39: warning: left operand of comma operator has no effect [-Wunused-value] 318 | if (!(*s & 0x80) || (z = mbnsize(s, w)) <= 0) | ^ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:201:62: note: expanded from macro 'mbnsize' 201 | #define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:395:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 395 | if (nfields = *(lp = cut->list)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:395:17: note: place parentheses around the assignment to silence this warning 395 | if (nfields = *(lp = cut->list)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:395:17: note: use '==' to turn this assignment into an equality comparison 395 | if (nfields = *(lp = cut->list)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:679:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 679 | if(cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:679:8: note: place parentheses around the assignment to silence this warning 679 | if(cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:679:8: note: use '==' to turn this assignment into an equality comparison 679 | if(cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:696:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 696 | } while(cp = *argv++); | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:696:13: note: place parentheses around the assignment to silence this warning 696 | } while(cp = *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cut.c:696:13: note: use '==' to turn this assignment into an equality comparison 696 | } while(cp = *argv++); | ^ | == 7 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/dirname.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:198: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:270:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | } while (f = f->next); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:270:13: note: place parentheses around the assignment to silence this warning 270 | } while (f = f->next); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:270:13: note: use '==' to turn this assignment into an equality comparison 270 | } while (f = f->next); | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:408:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 408 | while (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:408:12: note: place parentheses around the assignment to silence this warning 408 | while (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:408:12: note: use '==' to turn this assignment into an equality comparison 408 | while (s = *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 427 | while (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:427:12: note: place parentheses around the assignment to silence this warning 427 | while (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:427:12: note: use '==' to turn this assignment into an equality comparison 427 | while (s = *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:441:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 441 | while (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:441:12: note: place parentheses around the assignment to silence this warning 441 | while (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:441:12: note: use '==' to turn this assignment into an equality comparison 441 | while (s = *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:492:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 492 | } while (s = *++argv); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:492:16: note: place parentheses around the assignment to silence this warning 492 | } while (s = *++argv); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/date.c:492:16: note: use '==' to turn this assignment into an equality comparison 492 | } while (s = *++argv); | ^ | == 26 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c:312:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 312 | if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c:312:9: note: place parentheses around the assignment to silence this warning 312 | if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c:312:9: note: use '==' to turn this assignment into an equality comparison 312 | if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c:506:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 506 | while (n=optget(argv, usage)) | ~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c:506:11: note: place parentheses around the assignment to silence this warning 506 | while (n=optget(argv, usage)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/expr.c:506:11: note: use '==' to turn this assignment into an equality comparison 506 | while (n=optget(argv, usage)) | ^ | == 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 328 | if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:328:10: note: place parentheses around the assignment to silence this warning 328 | if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fds.c:328:10: note: use '==' to turn this assignment into an equality comparison 328 | if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 175 | while (c = *ep) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:175:12: note: place parentheses around the assignment to silence this warning 175 | while (c = *ep) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:175:12: note: use '==' to turn this assignment into an equality comparison 175 | while (c = *ep) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:616:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 616 | if (cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:616:9: note: place parentheses around the assignment to silence this warning 616 | if (cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:616:9: note: use '==' to turn this assignment into an equality comparison 616 | if (cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:630:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 630 | } while (cp = *argv++); | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:630:14: note: place parentheses around the assignment to silence this warning 630 | } while (cp = *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fmt.c:630:14: note: use '==' to turn this assignment into an equality comparison 630 | } while (cp = *argv++); | ^ | == 3 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:197:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 197 | if (n = *opt_info.arg) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:197:10: note: place parentheses around the assignment to silence this warning 197 | if (n = *opt_info.arg) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:197:10: note: use '==' to turn this assignment into an equality comparison 197 | if (n = *opt_info.arg) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:222:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 222 | if(cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:222:8: note: place parentheses around the assignment to silence this warning 222 | if(cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:222:8: note: use '==' to turn this assignment into an equality comparison 222 | if(cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:238:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 238 | while(cp= *argv++); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:238:10: note: place parentheses around the assignment to silence this warning 238 | while(cp= *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fold.c:238:10: note: use '==' to turn this assignment into an equality comparison 238 | while(cp= *argv++); | ^ | == 3 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:125: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if (path = *++argv) | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:232:12: note: place parentheses around the assignment to silence this warning 232 | if (path = *++argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:232:12: note: use '==' to turn this assignment into an equality comparison 232 | if (path = *++argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:350:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 350 | if (s = getenv("PATH")) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:350:8: note: place parentheses around the assignment to silence this warning 350 | if (s = getenv("PATH")) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/getconf.c:350:8: note: use '==' to turn this assignment into an equality comparison 350 | if (s = getenv("PATH")) | ^ | == 23 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c:122:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 122 | if (cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c:122:9: note: place parentheses around the assignment to silence this warning 122 | if (cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c:122:9: note: use '==' to turn this assignment into an equality comparison 122 | if (cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c:146:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 146 | } while (cp = *argv++); | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c:146:14: note: place parentheses around the assignment to silence this warning 146 | } while (cp = *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/head.c:146:14: note: use '==' to turn this assignment into an equality comparison 146 | } while (cp = *argv++); | ^ | == 2 warnings generated. + cc -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:308:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | while (grp = getgrent()) | ~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:308:15: note: place parentheses around the assignment to silence this warning 308 | while (grp = getgrent()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:308:15: note: use '==' to turn this assignment into an equality comparison 308 | while (grp = getgrent()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:309:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if (p = grp->gr_mem) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:309:11: note: place parentheses around the assignment to silence this warning 309 | if (p = grp->gr_mem) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:309:11: note: use '==' to turn this assignment into an equality comparison 309 | if (p = grp->gr_mem) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:310:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 310 | while (s = *p++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:310:15: note: place parentheses around the assignment to silence this warning 310 | while (s = *p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:310:15: note: use '==' to turn this assignment into an equality comparison 310 | while (s = *p++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:343:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 343 | if (grp = getgrgid(group)) | ~~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:343:14: note: place parentheses around the assignment to silence this warning 343 | if (grp = getgrgid(group)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:343:14: note: use '==' to turn this assignment into an equality comparison 343 | if (grp = getgrgid(group)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:378:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 378 | while (grp = getgrent()) | ~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:378:15: note: place parentheses around the assignment to silence this warning 378 | while (grp = getgrent()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:378:15: note: use '==' to turn this assignment into an equality comparison 378 | while (grp = getgrent()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:379:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 379 | if (p = grp->gr_mem) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:379:11: note: place parentheses around the assignment to silence this warning 379 | if (p = grp->gr_mem) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:379:11: note: use '==' to turn this assignment into an equality comparison 379 | if (p = grp->gr_mem) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:380:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 380 | while (s = *p++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:380:15: note: place parentheses around the assignment to silence this warning 380 | while (s = *p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/id.c:380:15: note: use '==' to turn this assignment into an equality comparison 380 | while (s = *p++) | ^ | == 7 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:191:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | if (jp = newof(0, Join_t, 1, 0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:191:9: note: place parentheses around the assignment to silence this warning 191 | if (jp = newof(0, Join_t, 1, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:191:9: note: use '==' to turn this assignment into an equality comparison 191 | if (jp = newof(0, Join_t, 1, 0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:193:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 193 | if (jp->mb = mbwide()) | ~~~~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:193:14: note: place parentheses around the assignment to silence this warning 193 | if (jp->mb = mbwide()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:193:14: note: use '==' to turn this assignment into an equality comparison 193 | if (jp->mb = mbwide()) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | while (c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:226:11: note: place parentheses around the assignment to silence this warning 226 | while (c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:226:11: note: use '==' to turn this assignment into an equality comparison 226 | while (c = *cp++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:258:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 258 | while (cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:258:12: note: place parentheses around the assignment to silence this warning 258 | while (cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:258:12: note: use '==' to turn this assignment into an equality comparison 258 | while (cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:563:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 563 | if (out = jp->outlist) | ~~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:563:10: note: place parentheses around the assignment to silence this warning 563 | if (out = jp->outlist) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:563:10: note: use '==' to turn this assignment into an equality comparison 563 | if (out = jp->outlist) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:662:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 662 | if (cp1 = getrec(jp, 0, 1)) | ~~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:662:14: note: place parentheses around the assignment to silence this warning 662 | if (cp1 = getrec(jp, 0, 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:662:14: note: use '==' to turn this assignment into an equality comparison 662 | if (cp1 = getrec(jp, 0, 1)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:687:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 687 | if (cp2 = getrec(jp, 1, lo < 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:687:13: note: place parentheses around the assignment to silence this warning 687 | if (cp2 = getrec(jp, 1, lo < 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:687:13: note: use '==' to turn this assignment into an equality comparison 687 | if (cp2 = getrec(jp, 1, lo < 0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:731:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 731 | if (cp2 = getrec(jp, 1, 1)) | ~~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:731:13: note: place parentheses around the assignment to silence this warning 731 | if (cp2 = getrec(jp, 1, 1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/join.c:731:13: note: use '==' to turn this assignment into an equality comparison 731 | if (cp2 = getrec(jp, 1, 1)) | ^ | == 8 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/ln.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/logname.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/md5sum.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:60: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:122:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 122 | while (path = *argv++) | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:122:14: note: place parentheses around the assignment to silence this warning 122 | while (path = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkdir.c:122:14: note: use '==' to turn this assignment into an equality comparison 122 | while (path = *argv++) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:50: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:90:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 90 | while (arg = *argv++) | ~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:90:13: note: place parentheses around the assignment to silence this warning 90 | while (arg = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mkfifo.c:90:13: note: use '==' to turn this assignment into an equality comparison 90 | while (arg = *argv++) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:64: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:136:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | if (t = strrchr(pfx, '/')) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:136:8: note: place parentheses around the assignment to silence this warning 136 | if (t = strrchr(pfx, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mktemp.c:136:8: note: use '==' to turn this assignment into an equality comparison 136 | if (t = strrchr(pfx, '/')) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/mv.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:95:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 95 | if(fp=streams[n]) | ~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:95:9: note: place parentheses around the assignment to silence this warning 95 | if(fp=streams[n]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:95:9: note: use '==' to turn this assignment into an equality comparison 95 | if(fp=streams[n]) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:97:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | if(cp = sfgetr(fp,'\n',0)) | ~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:97:11: note: place parentheses around the assignment to silence this warning 97 | if(cp = sfgetr(fp,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:97:11: note: use '==' to turn this assignment into an equality comparison 97 | if(cp = sfgetr(fp,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:134:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 134 | else if(c=delim[d]) | ~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:134:14: note: place parentheses around the assignment to silence this warning 134 | else if(c=delim[d]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:134:14: note: use '==' to turn this assignment into an equality comparison 134 | else if(c=delim[d]) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:154:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 154 | while(cp=sfgetr(in, '\n',0)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:154:10: note: place parentheses around the assignment to silence this warning 154 | while(cp=sfgetr(in, '\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:154:10: note: use '==' to turn this assignment into an equality comparison 154 | while(cp=sfgetr(in, '\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:163:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 163 | else if(c=delim[d]) | ~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:163:13: note: place parentheses around the assignment to silence this warning 163 | else if(c=delim[d]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:163:13: note: use '==' to turn this assignment into an equality comparison 163 | else if(c=delim[d]) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:247:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 247 | if(cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:247:8: note: place parentheses around the assignment to silence this warning 247 | if(cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:247:8: note: use '==' to turn this assignment into an equality comparison 247 | if(cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:275:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 275 | } while(cp= *argv++); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:275:12: note: place parentheses around the assignment to silence this warning 275 | } while(cp= *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/paste.c:275:12: note: use '==' to turn this assignment into an equality comparison 275 | } while(cp= *argv++); | ^ | == 7 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:78: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:262:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 262 | while (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:262:11: note: place parentheses around the assignment to silence this warning 262 | while (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pathchk.c:262:11: note: use '==' to turn this assignment into an equality comparison 262 | while (s = *argv++) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/pids.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:71:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 71 | while(cp = bp = sfgetr(in,'\n',0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:71:12: note: place parentheses around the assignment to silence this warning 71 | while(cp = bp = sfgetr(in,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:71:12: note: use '==' to turn this assignment into an equality comparison 71 | while(cp = bp = sfgetr(in,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:101:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 101 | while(cp = bp = sfgetr(in,'\n',0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:101:12: note: place parentheses around the assignment to silence this warning 101 | while(cp = bp = sfgetr(in,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:101:12: note: use '==' to turn this assignment into an equality comparison 101 | while(cp = bp = sfgetr(in,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:145:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 145 | if(cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:145:8: note: place parentheses around the assignment to silence this warning 145 | if(cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:145:8: note: use '==' to turn this assignment into an equality comparison 145 | if(cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:166:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | while(cp= *argv++); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:166:10: note: place parentheses around the assignment to silence this warning 166 | while(cp= *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rev.c:166:10: note: use '==' to turn this assignment into an equality comparison 166 | while(cp= *argv++); | ^ | == 4 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:71: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:407:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:407:10: note: place parentheses around the assignment to silence this warning 407 | if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rm.c:407:10: note: use '==' to turn this assignment into an equality comparison 407 | if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rmdir.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:94:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | while (dir = *argv++) | ~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:94:13: note: place parentheses around the assignment to silence this warning 94 | while (dir = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/rmdir.c:94:13: note: use '==' to turn this assignment into an equality comparison 94 | while (dir = *argv++) | ^ | == 1 warning generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c:639:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 639 | while(cp = *argv++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c:639:11: note: place parentheses around the assignment to silence this warning 639 | while(cp = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c:639:11: note: use '==' to turn this assignment into an equality comparison 639 | while(cp = *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c:725:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 725 | if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c:725:13: note: place parentheses around the assignment to silence this warning 725 | if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/stty.c:725:13: note: use '==' to turn this assignment into an equality comparison 725 | if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) | ^ | == 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sum.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/sync.c:51: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:104: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:467:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 467 | if (s = opt_info.arg) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:467:10: note: place parentheses around the assignment to silence this warning 467 | if (s = opt_info.arg) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:467:10: note: use '==' to turn this assignment into an equality comparison 467 | if (s = opt_info.arg) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:530:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 530 | if (i = *(s - 1) == '-' || *(s - 1) == '+') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:530:10: note: place parentheses around the assignment to silence this warning 530 | if (i = *(s - 1) == '-' || *(s - 1) == '+') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:530:10: note: use '==' to turn this assignment into an equality comparison 530 | if (i = *(s - 1) == '-' || *(s - 1) == '+') | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:622:29: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | fp->expire = timeout ? (NOW + timeout + 1) : 0; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:121:29: note: expanded from macro 'NOW' 121 | #define NOW (unsigned long)time(NiL) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:638:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 638 | while (fp = files) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:638:13: note: place parentheses around the assignment to silence this warning 638 | while (fp = files) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:638:13: note: use '==' to turn this assignment into an equality comparison 638 | while (fp = files) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:656:20: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 656 | fp->expire = NOW + timeout; | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:121:29: note: expanded from macro 'NOW' 121 | #define NOW (unsigned long)time(NiL) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:681:39: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | else if (!timeout || fp->expire > NOW) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:121:29: note: expanded from macro 'NOW' 121 | #define NOW (unsigned long)time(NiL) | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:727:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 727 | if (file = *argv) | ~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:727:12: note: place parentheses around the assignment to silence this warning 727 | if (file = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tail.c:727:12: note: use '==' to turn this assignment into an equality comparison 727 | if (file = *argv) | ^ | == 25 warnings and 3 errors generated. mamake [lib/libcmd]: *** exit code 1 making tail.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:56: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 170 | if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:170:10: note: place parentheses around the assignment to silence this warning 170 | if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:170:10: note: use '==' to turn this assignment into an equality comparison 170 | if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:178:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 178 | while (cp = *argv++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:178:14: note: place parentheses around the assignment to silence this warning 178 | while (cp = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tee.c:178:14: note: use '==' to turn this assignment into an equality comparison 178 | while (cp = *argv++) | ^ | == 23 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/tty.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast '-DERROR_CATALOG="libcmd"' '-DHOSTTYPE="darwin.arm64-64"' -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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c:363:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 363 | while (s = *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c:363:12: note: place parentheses around the assignment to silence this warning 363 | while (s = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c:363:12: note: use '==' to turn this assignment into an equality comparison 363 | while (s = *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c:405:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 405 | if (t = strchr(hosttype, '.')) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c:405:11: note: place parentheses around the assignment to silence this warning 405 | if (t = strchr(hosttype, '.')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uname.c:405:11: note: use '==' to turn this assignment into an equality comparison 405 | if (t = strchr(hosttype, '.')) | ^ | == 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:95:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 95 | if(bufp = sfgetr(fdin,'\n',0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:95:11: note: place parentheses around the assignment to silence this warning 95 | if(bufp = sfgetr(fdin,'\n',0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:95:11: note: use '==' to turn this assignment into an equality comparison 95 | if(bufp = sfgetr(fdin,'\n',0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:97:16: note: place parentheses around the assignment to silence this warning 97 | else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:97:16: note: use '==' to turn this assignment into an equality comparison 97 | else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if (f = fields) | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:109:10: note: place parentheses around the assignment to silence this warning 109 | if (f = fields) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:109:10: note: use '==' to turn this assignment into an equality comparison 109 | if (f = fields) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:213:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 213 | if(count = next) | ~~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:213:12: note: place parentheses around the assignment to silence this warning 213 | if(count = next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:213:12: note: use '==' to turn this assignment into an equality comparison 213 | if(count = next) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:322:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 322 | if(cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:322:8: note: place parentheses around the assignment to silence this warning 322 | if(cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/uniq.c:322:8: note: use '==' to turn this assignment into an equality comparison 322 | if(cp = *argv) | ^ | == 5 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/vmstate.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:70: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:151:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 151 | if (cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:151:9: note: place parentheses around the assignment to silence this warning 151 | if (cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:151:9: note: use '==' to turn this assignment into an equality comparison 151 | if (cp = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:179:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 179 | } while (cp= *argv++); | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:179:13: note: place parentheses around the assignment to silence this warning 179 | } while (cp= *argv++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wc.c:179:13: note: use '==' to turn this assignment into an equality comparison 179 | } while (cp= *argv++); | ^ | == 23 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/revlib.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -D_BLD_cmd -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wclib.c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wclib.c:313:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 313 | } while (c = type[*cp++]); | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wclib.c:313:17: note: place parentheses around the assignment to silence this warning 313 | } while (c = type[*cp++]); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/wclib.c:313:17: note: use '==' to turn this assignment into an equality comparison 313 | } while (c = type[*cp++]); | ^ | == 1 warning generated. + /usr/bin/ar x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libsum.a sumlib.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.c:37: In file included from /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/fts_fix.h:37: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/fts.h:46: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/lib/libcmd -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/lib.c + test '' = cmd.req + /usr/bin/cmp -s cmd.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/cmd + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/cmd /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/cmd.old + true + /bin/cp cmd.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/cmd + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1992,author=gsf+dgk' /var/tmp/work/shells/ast-ksh/work/src/lib/libcmd/cmd.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cmd.h 1.73268.x + mv 1.73268.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cmd.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1992,author=gsf+dgk' cmdext.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cmdext.h 1.73277.x + mv 1.73277.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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.73289.h cmdlist.h + mv 1.73289.h cmdlist.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1992,author=gsf+dgk' cmdlist.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cmdlist.h 1.73296.x + mv 1.73296.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/cmdlist.h mamake: *** exit code 1 making lib/libcmd + mamake -C cmd/ksh93 -k LDFLAGS=-lm 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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/pmain.c + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: cat{ ... }end ... yes + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/alarm.c /var/tmp/work/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] 239 | while (n = optget(argv, sh_optalarm)) switch (n) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/alarm.c:239:11: note: place parentheses around the assignment to silence this warning 239 | while (n = optget(argv, sh_optalarm)) switch (n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/alarm.c:239:11: note: use '==' to turn this assignment into an equality comparison 239 | while (n = optget(argv, sh_optalarm)) switch (n) | ^ | == 1 warning generated. + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 103 | if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:103:13: note: place parentheses around the assignment to silence this warning 103 | if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cd_pwd.c:103:13: note: use '==' to turn this assignment into an equality comparison 103 | if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cflow.c /var/tmp/work/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] 103 | if(arg= *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cflow.c:103:8: note: place parentheses around the assignment to silence this warning 103 | if(arg= *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/cflow.c:103:8: note: use '==' to turn this assignment into an equality comparison 103 | if(arg= *argv) | ^ | == 1 warning generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/deparse.c /var/tmp/work/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] 560 | while(cp = *argv); | ~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/deparse.c:560:12: note: place parentheses around the assignment to silence this warning 560 | while(cp = *argv); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/deparse.c:560:12: note: use '==' to turn this assignment into an equality comparison 560 | while(cp = *argv); | ^ | == 1 warning generated. + cc -O -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c /var/tmp/work/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] 116 | else while(v=ep->values[n++]) | ~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:116:14: note: place parentheses around the assignment to silence this warning 116 | else while(v=ep->values[n++]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:116:14: note: use '==' to turn this assignment into an equality comparison 116 | else while(v=ep->values[n++]) | ^ | == /var/tmp/work/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] 149 | while(v=ep->values[i]) | ~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:149:9: note: place parentheses around the assignment to silence this warning 149 | while(v=ep->values[i]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:149:9: note: use '==' to turn this assignment into an equality comparison 149 | while(v=ep->values[i]) | ^ | == /var/tmp/work/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] 224 | while(cp = *argv++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:224:11: note: place parentheses around the assignment to silence this warning 224 | while(cp = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/enum.c:224:11: note: use '==' to turn this assignment into an equality comparison 224 | while(cp = *argv++) | ^ | == 3 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c /var/tmp/work/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] 109 | if(mode= (*options==':')) | ~~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:109:9: note: place parentheses around the assignment to silence this warning 109 | if(mode= (*options==':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/getopts.c:109:9: note: use '==' to turn this assignment into an equality comparison 109 | if(mode= (*options==':')) | ^ | == 1 warning generated. + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:23: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 107 | while(arg=argv[1]) | ~~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:107:12: note: place parentheses around the assignment to silence this warning 107 | while(arg=argv[1]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/hist.c:107:12: note: use '==' to turn this assignment into an equality comparison 107 | while(arg=argv[1]) | ^ | == 22 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c /var/tmp/work/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] 68 | while (n = optget(argv, sh_optexec)) switch (n) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:68:11: note: place parentheses around the assignment to silence this warning 68 | while (n = optget(argv, sh_optexec)) switch (n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:68:11: note: use '==' to turn this assignment into an equality comparison 68 | while (n = optget(argv, sh_optexec)) switch (n) | ^ | == /var/tmp/work/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] 165 | while (r = optget(argv,sh_optlet)) switch (r) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:165:11: note: place parentheses around the assignment to silence this warning 165 | while (r = optget(argv,sh_optlet)) switch (r) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:165:11: note: use '==' to turn this assignment into an equality comparison 165 | while (r = optget(argv,sh_optlet)) switch (r) | ^ | == /var/tmp/work/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] 177 | while(arg= *argv++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:177:11: note: place parentheses around the assignment to silence this warning 177 | while(arg= *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:177:11: note: use '==' to turn this assignment into an equality comparison 177 | while(arg= *argv++) | ^ | == /var/tmp/work/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] 187 | while (r = optget(argv,sh_opteval)) switch (r) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:187:11: note: place parentheses around the assignment to silence this warning 187 | while (r = optget(argv,sh_opteval)) switch (r) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:187:11: note: use '==' to turn this assignment into an equality comparison 187 | while (r = optget(argv,sh_opteval)) switch (r) | ^ | == /var/tmp/work/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] 221 | while (n = optget(argv,sh_optdot)) switch (n) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:221:11: note: place parentheses around the assignment to silence this warning 221 | while (n = optget(argv,sh_optdot)) switch (n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:221:11: note: use '==' to turn this assignment into an equality comparison 221 | while (n = optget(argv,sh_optdot)) switch (n) | ^ | == /var/tmp/work/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] 527 | while(n = optget(argv, optstr)) switch(n) | ~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:527:10: note: place parentheses around the assignment to silence this warning 527 | while(n = optget(argv, optstr)) switch(n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:527:10: note: use '==' to turn this assignment into an equality comparison 527 | while(n = optget(argv, optstr)) switch(n) | ^ | == /var/tmp/work/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] 564 | while(flag = *vend++) | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:564:14: note: place parentheses around the assignment to silence this warning 564 | while(flag = *vend++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/misc.c:564:14: note: use '==' to turn this assignment into an equality comparison 564 | while(flag = *vend++) | ^ | == 7 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c /var/tmp/work/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] 116 | if(universe=astconf("UNIVERSE",0,0)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:116:14: note: place parentheses around the assignment to silence this warning 116 | if(universe=astconf("UNIVERSE",0,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:116:14: note: use '==' to turn this assignment into an equality comparison 116 | if(universe=astconf("UNIVERSE",0,0)) | ^ | == /var/tmp/work/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] 472 | while(c= *(unsigned char*)cp++) | ~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:472:10: note: place parentheses around the assignment to silence this warning 472 | while(c= *(unsigned char*)cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:472:10: note: use '==' to turn this assignment into an equality comparison 472 | while(c= *(unsigned char*)cp++) | ^ | == /var/tmp/work/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] 502 | while(c= *(unsigned char*)cp++) | ~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:502:10: note: place parentheses around the assignment to silence this warning 502 | while(c= *(unsigned char*)cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:502:10: note: use '==' to turn this assignment into an equality comparison 502 | while(c= *(unsigned char*)cp++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:476:19: warning: left operand of comma operator has no effect [-Wunused-value] 476 | if((s=mbsize(cp-1)) > 1) | ~~^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:652:16: warning: left operand of comma operator has no effect [-Wunused-value] 652 | len = mbsize(str); | ^~~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 777 | if (np->nvalue.lp = new_of(int32_t,0)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:777:22: note: place parentheses around the assignment to silence this warning 777 | if (np->nvalue.lp = new_of(int32_t,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:777:22: note: use '==' to turn this assignment into an equality comparison 777 | if (np->nvalue.lp = new_of(int32_t,0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:822:31: warning: left operand of comma operator has no effect [-Wunused-value] 822 | if(mbwide() && (n = mbsize(argp)) > 1) | ^~~~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:854:27: warning: left operand of comma operator has no effect [-Wunused-value] 854 | if(mbwide() && mbsize(w) > 1) | ^ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 1053 | for(; c= *cp; cp++) | ~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1053:9: note: place parentheses around the assignment to silence this warning 1053 | for(; c= *cp; cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1053:9: note: use '==' to turn this assignment into an equality comparison 1053 | for(; c= *cp; cp++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1038:24: warning: left operand of comma operator has no effect [-Wunused-value] 1038 | if ((chlen = mbsize(cp)) > 1) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/print.c:1056:36: warning: left operand of comma operator has no effect [-Wunused-value] 1056 | if (mbwide() && ((chlen = mbsize(cp)) > 1)) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 11 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c /var/tmp/work/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] 236 | if(val= strchr(name,'?')) | ~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:236:9: note: place parentheses around the assignment to silence this warning 236 | if(val= strchr(name,'?')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:236:9: note: use '==' to turn this assignment into an equality comparison 236 | if(val= strchr(name,'?')) | ^ | == /var/tmp/work/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] 383 | if(cp = sfreserve(iop,c,SF_LOCKR)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:383:12: note: place parentheses around the assignment to silence this warning 383 | if(cp = sfreserve(iop,c,SF_LOCKR)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:383:12: note: use '==' to turn this assignment into an equality comparison 383 | if(cp = sfreserve(iop,c,SF_LOCKR)) | ^ | == /var/tmp/work/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] 484 | else if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:484:13: note: place parentheses around the assignment to silence this warning 484 | else if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:484:13: note: use '==' to turn this assignment into an equality comparison 484 | else if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ^ | == /var/tmp/work/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] 486 | else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:486:13: note: place parentheses around the assignment to silence this warning 486 | else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:486:13: note: use '==' to turn this assignment into an equality comparison 486 | else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) | ^ | == /var/tmp/work/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] 616 | if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:616:11: note: place parentheses around the assignment to silence this warning 616 | if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:616:11: note: use '==' to turn this assignment into an equality comparison 616 | if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ^ | == /var/tmp/work/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] 618 | else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:618:15: note: place parentheses around the assignment to silence this warning 618 | else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:618:15: note: use '==' to turn this assignment into an equality comparison 618 | else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) | ^ | == /var/tmp/work/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] 706 | if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:706:14: note: place parentheses around the assignment to silence this warning 706 | if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:706:14: note: use '==' to turn this assignment into an equality comparison 706 | if(cp = (unsigned char*)sfgetr(iop,delim,0)) | ^ | == /var/tmp/work/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] 708 | else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:708:19: note: place parentheses around the assignment to silence this warning 708 | else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:708:19: note: use '==' to turn this assignment into an equality comparison 708 | else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:435:38: warning: left operand of comma operator has no effect [-Wunused-value] 435 | while (up < cur && (z = mbsize(up)) > 0) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:556:25: warning: left operand of comma operator has no effect [-Wunused-value] 556 | c = mbsize((char*)cp-1); | ~~~~~~~~~^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/read.c:645:30: warning: left operand of comma operator has no effect [-Wunused-value] 645 | if((c = mbsize((char*)cp-1))>1) | ~~~~~~~~~^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 11 warnings generated. + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c /var/tmp/work/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] 68 | if(cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:68:8: note: place parentheses around the assignment to silence this warning 68 | if(cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:68:8: note: use '==' to turn this assignment into an equality comparison 68 | if(cp = *argv) | ^ | == /var/tmp/work/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] 89 | if(pp = sfprints("exact %s", cp)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:89:11: note: place parentheses around the assignment to silence this warning 89 | if(pp = sfprints("exact %s", cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:89:11: note: use '==' to turn this assignment into an equality comparison 89 | if(pp = sfprints("exact %s", cp)) | ^ | == /var/tmp/work/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] 186 | if(n=(int)(1000*t)) | ~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:186:6: note: place parentheses around the assignment to silence this warning 186 | if(n=(int)(1000*t)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/sleep.c:186:6: note: use '==' to turn this assignment into an equality comparison 186 | if(n=(int)(1000*t)) | ^ | == 3 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c /var/tmp/work/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] 50 | while (sig = optget(argv, sh_opttrap)) switch (sig) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:50:13: note: place parentheses around the assignment to silence this warning 50 | while (sig = optget(argv, sh_opttrap)) switch (sig) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:50:13: note: use '==' to turn this assignment into an equality comparison 50 | while (sig = optget(argv, sh_opttrap)) switch (sig) | ^ | == /var/tmp/work/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] 66 | if(arg = *argv) | ~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:66:9: note: place parentheses around the assignment to silence this warning 66 | if(arg = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:66:9: note: use '==' to turn this assignment into an equality comparison 66 | if(arg = *argv) | ^ | == /var/tmp/work/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] 94 | while(arg = *argv++) | ~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:94:13: note: place parentheses around the assignment to silence this warning 94 | while(arg = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:94:13: note: use '==' to turn this assignment into an equality comparison 94 | while(arg = *argv++) | ^ | == /var/tmp/work/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] 114 | if(arg=trap[sig]) | ~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:114:12: note: place parentheses around the assignment to silence this warning 114 | if(arg=trap[sig]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:114:12: note: use '==' to turn this assignment into an equality comparison 114 | if(arg=trap[sig]) | ^ | == /var/tmp/work/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] 141 | if(arg=trapcom[sig]) | ~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:141:11: note: place parentheses around the assignment to silence this warning 141 | if(arg=trapcom[sig]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:141:11: note: use '==' to turn this assignment into an equality comparison 141 | if(arg=trapcom[sig]) | ^ | == /var/tmp/work/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] 210 | else while(signame = *argv++) | ~~~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:210:22: note: place parentheses around the assignment to silence this warning 210 | else while(signame = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/trap.c:210:22: note: use '==' to turn this assignment into an equality comparison 210 | else while(signame = *argv++) | ^ | == 6 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 90 | while(c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:90:10: note: place parentheses around the assignment to silence this warning 90 | while(c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:90:10: note: use '==' to turn this assignment into an equality comparison 90 | while(c = *cp++) | ^ | == /var/tmp/work/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] 449 | if(ap = nv_arrayptr(np)) | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:449:9: note: place parentheses around the assignment to silence this warning 449 | if(ap = nv_arrayptr(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/test.c:449:9: note: use '==' to turn this assignment into an equality comparison 449 | if(ap = nv_arrayptr(np)) | ^ | == 23 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c /var/tmp/work/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] 555 | while(name = *++argv) | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:555:14: note: place parentheses around the assignment to silence this warning 555 | while(name = *++argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:555:14: note: use '==' to turn this assignment into an equality comparison 555 | while(name = *++argv) | ^ | == /var/tmp/work/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] 594 | if(np=nv_search(name,troot,0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:594:11: note: place parentheses around the assignment to silence this warning 594 | if(np=nv_search(name,troot,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:594:11: note: use '==' to turn this assignment into an equality comparison 594 | if(np=nv_search(name,troot,0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:599:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 599 | else if(memcmp(name,".sh.math.",9)==0 && sh_mathstd(name+9)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:640:86: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 640 | np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:640:86: note: place parentheses around the '==' expression to silence this warning 640 | np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:640:86: note: place parentheses around the & expression to evaluate it first 640 | np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); | ^ | ( ) /var/tmp/work/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] 726 | if(last=strchr(name,'=')) | ~~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:726:11: note: place parentheses around the assignment to silence this warning 726 | if(last=strchr(name,'=')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:726:11: note: use '==' to turn this assignment into an equality comparison 726 | if(last=strchr(name,'=')) | ^ | == /var/tmp/work/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] 738 | if(fp=nv_mapchar(np,tp->wctname)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:738:10: note: place parentheses around the assignment to silence this warning 738 | if(fp=nv_mapchar(np,tp->wctname)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:738:10: note: use '==' to turn this assignment into an equality comparison 738 | if(fp=nv_mapchar(np,tp->wctname)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:917:32: error: call to undeclared function 'dlllook'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 917 | else if ((initfn = (Libinit_f)dlllook(dll, "lib_init"))) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:917:21: warning: cast to 'Libinit_f' (aka 'void (*)(int, void *)') from smaller integer type 'int' [-Wint-to-pointer-cast] 917 | else if ((initfn = (Libinit_f)dlllook(dll, "lib_init"))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:943:22: error: call to undeclared function 'dlllook'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 943 | return (Shbltin_f)dlllook(liblist[n].dll, sym); | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:943:11: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] 943 | return (Shbltin_f)dlllook(liblist[n].dll, sym); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/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] 987 | while (n = optget(argv,sh_optbuiltin)) switch (n) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:987:11: note: place parentheses around the assignment to silence this warning 987 | while (n = optget(argv,sh_optbuiltin)) switch (n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:987:11: note: use '==' to turn this assignment into an equality comparison 987 | while (n = optget(argv,sh_optbuiltin)) switch (n) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1031:18: error: call to undeclared function 'dllplugin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1031 | if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path)))) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1031:70: error: use of undeclared identifier 'RTLD_LAZY' 1031 | if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path)))) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1033:48: error: call to undeclared function 'dllerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1033 | errormsg(SH_DICT,ERROR_exit(0),"%s: %s",arg,dllerror(0)); | ^ /var/tmp/work/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] 1060 | while(arg = *argv) | ~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1060:12: note: place parentheses around the assignment to silence this warning 1060 | while(arg = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1060:12: note: use '==' to turn this assignment into an equality comparison 1060 | while(arg = *argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1073:36: error: call to undeclared function 'dlllook'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1073 | if(dlete || (addr = (Shbltin_f)dlllook(liblist[n].dll,stkptr(stkp,flag)))) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1073:25: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] 1073 | if(dlete || (addr = (Shbltin_f)dlllook(liblist[n].dll,stkptr(stkp,flag)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/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] 1078 | if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1078:12: note: place parentheses around the assignment to silence this warning 1078 | if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1078:12: note: use '==' to turn this assignment into an equality comparison 1078 | if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) | ^ | == /var/tmp/work/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] 1171 | while(r = optget(argv,name)) switch(r) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1171:10: note: place parentheses around the assignment to silence this warning 1171 | while(r = optget(argv,name)) switch(r) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1171:10: note: use '==' to turn this assignment into an equality comparison 1171 | while(r = optget(argv,name)) switch(r) | ^ | == /var/tmp/work/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] 1207 | while(name = *argv++) | ~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1207:13: note: place parentheses around the assignment to silence this warning 1207 | while(name = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1207:13: note: use '==' to turn this assignment into an equality comparison 1207 | while(name = *argv++) | ^ | == /var/tmp/work/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] 1370 | if(cp=nv_getval(np)) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1370:7: note: place parentheses around the assignment to silence this warning 1370 | if(cp=nv_getval(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1370:7: note: use '==' to turn this assignment into an equality comparison 1370 | if(cp=nv_getval(np)) | ^ | == 15 warnings and 6 errors generated. mamake [cmd/ksh93]: *** exit code 1 making typeset.o + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/ulimit.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:34: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 61 | if(mask = *argv) | ~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:61:10: note: place parentheses around the assignment to silence this warning 61 | if(mask = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:61:10: note: use '==' to turn this assignment into an equality comparison 61 | if(mask = *argv) | ^ | == /var/tmp/work/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] 66 | while(c = *mask++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:66:12: note: place parentheses around the assignment to silence this warning 66 | while(c = *mask++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/umask.c:66:12: note: use '==' to turn this assignment into an equality comparison 66 | while(c = *mask++) | ^ | == 23 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c /var/tmp/work/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] 148 | while(name= *argv++) | ~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:148:12: note: place parentheses around the assignment to silence this warning 148 | while(name= *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:148:12: note: use '==' to turn this assignment into an equality comparison 148 | while(name= *argv++) | ^ | == /var/tmp/work/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] 188 | if(np= nv_bfsearch(name, root, &nq, ¬used)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:188:8: note: place parentheses around the assignment to silence this warning 188 | if(np= nv_bfsearch(name, root, &nq, ¬used)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/whence.c:188:8: note: use '==' to turn this assignment into an equality comparison 188 | if(np= nv_bfsearch(name, root, &nq, ¬used)) | ^ | == 2 warnings generated. + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:33: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 143 | if(rshflag=sh_isoption(SH_RESTRICTED)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:143:12: note: place parentheses around the assignment to silence this warning 143 | if(rshflag=sh_isoption(SH_RESTRICTED)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:143:12: note: use '==' to turn this assignment into an equality comparison 143 | if(rshflag=sh_isoption(SH_RESTRICTED)) | ^ | == /var/tmp/work/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] 226 | if(name = sh_mactry(shp,nv_getval(ENVNOD))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:226:14: note: place parentheses around the assignment to silence this warning 226 | if(name = sh_mactry(shp,nv_getval(ENVNOD))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:226:14: note: use '==' to turn this assignment into an equality comparison 226 | if(name = sh_mactry(shp,nv_getval(ENVNOD))) | ^ | == /var/tmp/work/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] 439 | if(top = fcfile()) | ~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:439:10: note: place parentheses around the assignment to silence this warning 439 | if(top = fcfile()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:439:10: note: use '==' to turn this assignment into an equality comparison 439 | if(top = fcfile()) | ^ | == /var/tmp/work/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] 443 | while(top=sfstack(iop,SF_POPSTACK)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:443:13: note: place parentheses around the assignment to silence this warning 443 | while(top=sfstack(iop,SF_POPSTACK)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:443:13: note: use '==' to turn this assignment into an equality comparison 443 | while(top=sfstack(iop,SF_POPSTACK)) | ^ | == /var/tmp/work/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] 731 | while(cp = *argv++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:731:12: note: place parentheses around the assignment to silence this warning 731 | while(cp = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:731:12: note: use '==' to turn this assignment into an equality comparison 731 | while(cp = *argv++) | ^ | == /var/tmp/work/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] 735 | for(argv=environ; cp = *argv; cp++) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:735:25: note: place parentheses around the assignment to silence this warning 735 | for(argv=environ; cp = *argv; cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/main.c:735:25: note: use '==' to turn this assignment into an equality comparison 735 | for(argv=environ; cp = *argv; cp++) | ^ | == 27 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c /var/tmp/work/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] 400 | else if(cp = nv_getval(SH_VALNOD)) | ~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:400:14: note: place parentheses around the assignment to silence this warning 400 | else if(cp = nv_getval(SH_VALNOD)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:400:14: note: use '==' to turn this assignment into an equality comparison 400 | else if(cp = nv_getval(SH_VALNOD)) | ^ | == /var/tmp/work/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] 473 | for(type=0; name=nv_discnames[type]; type++) | ~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:473:19: note: place parentheses around the assignment to silence this warning 473 | for(type=0; name=nv_discnames[type]; type++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:473:19: note: use '==' to turn this assignment into an equality comparison 473 | for(type=0; name=nv_discnames[type]; type++) | ^ | == /var/tmp/work/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] 500 | while(fp = fp->next) | ~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:500:12: note: place parentheses around the assignment to silence this warning 500 | while(fp = fp->next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:500:12: note: use '==' to turn this assignment into an equality comparison 500 | while(fp = fp->next) | ^ | == /var/tmp/work/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] 572 | for(type=0; name=discnames[type]; type++) | ~~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:572:18: note: place parentheses around the assignment to silence this warning 572 | for(type=0; name=discnames[type]; type++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:572:18: note: use '==' to turn this assignment into an equality comparison 572 | for(type=0; name=discnames[type]; type++) | ^ | == /var/tmp/work/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] 761 | else if(fp = np->nvfun) | ~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:761:14: note: place parentheses around the assignment to silence this warning 761 | else if(fp = np->nvfun) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:761:14: note: use '==' to turn this assignment into an equality comparison 761 | else if(fp = np->nvfun) | ^ | == /var/tmp/work/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] 926 | if(fp=np->nvfun) | ~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:926:7: note: place parentheses around the assignment to silence this warning 926 | if(fp=np->nvfun) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:926:7: note: use '==' to turn this assignment into an equality comparison 926 | if(fp=np->nvfun) | ^ | == /var/tmp/work/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] 1074 | while(next=dtvnext(root)) | ~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1074:14: note: place parentheses around the assignment to silence this warning 1074 | while(next=dtvnext(root)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1074:14: note: use '==' to turn this assignment into an equality comparison 1074 | while(next=dtvnext(root)) | ^ | == /var/tmp/work/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] 1200 | if(np = nv_search(name,sh.bltin_tree,0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1200:8: note: place parentheses around the assignment to silence this warning 1200 | if(np = nv_search(name,sh.bltin_tree,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1200:8: note: use '==' to turn this assignment into an equality comparison 1200 | if(np = nv_search(name,sh.bltin_tree,0)) | ^ | == /var/tmp/work/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] 1417 | if(tp = (struct table*)nv_hasdisc(np,&table_disc)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1417:9: note: place parentheses around the assignment to silence this warning 1417 | if(tp = (struct table*)nv_hasdisc(np,&table_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvdisc.c:1417:9: note: use '==' to turn this assignment into an equality comparison 1417 | if(tp = (struct table*)nv_hasdisc(np,&table_disc)) | ^ | == 9 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c /var/tmp/work/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] 301 | if(fp=nv_hasdisc(nq,&chtype_disc)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:301:7: note: place parentheses around the assignment to silence this warning 301 | if(fp=nv_hasdisc(nq,&chtype_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:301:7: note: use '==' to turn this assignment into an equality comparison 301 | if(fp=nv_hasdisc(nq,&chtype_disc)) | ^ | == /var/tmp/work/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] 344 | if(i=nv_size(nq)) | ~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:344:9: note: place parentheses around the assignment to silence this warning 344 | if(i=nv_size(nq)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:344:9: note: use '==' to turn this assignment into an equality comparison 344 | if(i=nv_size(nq)) | ^ | == /var/tmp/work/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] 444 | else if(ap=nv_arrayptr(nr)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:444:15: note: place parentheses around the assignment to silence this warning 444 | else if(ap=nv_arrayptr(nr)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:444:15: note: use '==' to turn this assignment into an equality comparison 444 | else if(ap=nv_arrayptr(nr)) | ^ | == /var/tmp/work/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] 575 | if(ap=nv_arrayptr(nq)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:575:9: note: place parentheses around the assignment to silence this warning 575 | if(ap=nv_arrayptr(nq)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:575:9: note: use '==' to turn this assignment into an equality comparison 575 | if(ap=nv_arrayptr(nq)) | ^ | == /var/tmp/work/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] 669 | if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:669:8: note: place parentheses around the assignment to silence this warning 669 | if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:669:8: note: use '==' to turn this assignment into an equality comparison 669 | if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) | ^ | == /var/tmp/work/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] 685 | if(tp=nv_type(nq)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:685:8: note: place parentheses around the assignment to silence this warning 685 | if(tp=nv_type(nq)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:685:8: note: use '==' to turn this assignment into an equality comparison 685 | if(tp=nv_type(nq)) | ^ | == /var/tmp/work/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] 760 | for(argv=nv_discnames; sp=*argv; argv++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:760:27: note: place parentheses around the assignment to silence this warning 760 | for(argv=nv_discnames; sp=*argv; argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:760:27: note: use '==' to turn this assignment into an equality comparison 760 | for(argv=nv_discnames; sp=*argv; argv++) | ^ | == /var/tmp/work/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] 812 | if(name=strrchr(np->nvname,'.')) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:812:9: note: place parentheses around the assignment to silence this warning 812 | if(name=strrchr(np->nvname,'.')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:812:9: note: use '==' to turn this assignment into an equality comparison 812 | if(name=strrchr(np->nvname,'.')) | ^ | == /var/tmp/work/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] 817 | if(bp=(Namval_t*)shp->namespace) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:817:7: note: place parentheses around the assignment to silence this warning 817 | if(bp=(Namval_t*)shp->namespace) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:817:7: note: use '==' to turn this assignment into an equality comparison 817 | if(bp=(Namval_t*)shp->namespace) | ^ | == /var/tmp/work/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] 1047 | if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1047:9: note: place parentheses around the assignment to silence this warning 1047 | if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1047:9: note: use '==' to turn this assignment into an equality comparison 1047 | if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) | ^ | == /var/tmp/work/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] 1081 | if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1081:9: note: place parentheses around the assignment to silence this warning 1081 | if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1081:9: note: use '==' to turn this assignment into an equality comparison 1081 | if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) | ^ | == /var/tmp/work/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] 1096 | if(fp=nv_hasdisc(nq,&chtype_disc)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1096:9: note: place parentheses around the assignment to silence this warning 1096 | if(fp=nv_hasdisc(nq,&chtype_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1096:9: note: use '==' to turn this assignment into an equality comparison 1096 | if(fp=nv_hasdisc(nq,&chtype_disc)) | ^ | == /var/tmp/work/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] 1098 | if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1098:10: note: place parentheses around the assignment to silence this warning 1098 | if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1098:10: note: use '==' to turn this assignment into an equality comparison 1098 | if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) | ^ | == /var/tmp/work/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] 1262 | if(v=strrchr(cp,'.')) | ~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1262:6: note: place parentheses around the assignment to silence this warning 1262 | if(v=strrchr(cp,'.')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1262:6: note: use '==' to turn this assignment into an equality comparison 1262 | if(v=strrchr(cp,'.')) | ^ | == /var/tmp/work/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] 1465 | if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1465:10: note: place parentheses around the assignment to silence this warning 1465 | if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1465:10: note: use '==' to turn this assignment into an equality comparison 1465 | if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) | ^ | == /var/tmp/work/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] 1506 | if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1506:10: note: place parentheses around the assignment to silence this warning 1506 | if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1506:10: note: use '==' to turn this assignment into an equality comparison 1506 | if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) | ^ | == /var/tmp/work/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] 1508 | if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1508:10: note: place parentheses around the assignment to silence this warning 1508 | if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1508:10: note: use '==' to turn this assignment into an equality comparison 1508 | if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) | ^ | == /var/tmp/work/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] 1620 | if(cp=shp->prefix) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1620:7: note: place parentheses around the assignment to silence this warning 1620 | if(cp=shp->prefix) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1620:7: note: use '==' to turn this assignment into an equality comparison 1620 | if(cp=shp->prefix) | ^ | == /var/tmp/work/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] 1661 | for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1661:15: note: place parentheses around the assignment to silence this warning 1661 | for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1661:15: note: use '==' to turn this assignment into an equality comparison 1661 | for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) | ^ | == /var/tmp/work/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] 1666 | if(cp=strrchr(mp->nvname,'.')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1666:9: note: place parentheses around the assignment to silence this warning 1666 | if(cp=strrchr(mp->nvname,'.')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1666:9: note: use '==' to turn this assignment into an equality comparison 1666 | if(cp=strrchr(mp->nvname,'.')) | ^ | == /var/tmp/work/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] 1681 | else if(xp=mp->nvalue.rp->fname) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1681:15: note: place parentheses around the assignment to silence this warning 1681 | else if(xp=mp->nvalue.rp->fname) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtype.c:1681:15: note: use '==' to turn this assignment into an equality comparison 1681 | else if(xp=mp->nvalue.rp->fname) | ^ | == 21 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c /var/tmp/work/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] 177 | if(nq = nv_opensub(np)) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:177:10: note: place parentheses around the assignment to silence this warning 177 | if(nq = nv_opensub(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:177:10: note: use '==' to turn this assignment into an equality comparison 177 | if(nq = nv_opensub(np)) | ^ | == /var/tmp/work/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] 280 | if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:280:10: note: place parentheses around the assignment to silence this warning 280 | if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/arith.c:280:10: note: use '==' to turn this assignment into an equality comparison 280 | if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) | ^ | == 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c /var/tmp/work/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] 234 | for(tp=shtab_options; o = tp->sh_number; tp++) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:234:29: note: place parentheses around the assignment to silence this warning 234 | for(tp=shtab_options; o = tp->sh_number; tp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:234:29: note: use '==' to turn this assignment into an equality comparison 234 | for(tp=shtab_options; o = tp->sh_number; tp++) | ^ | == /var/tmp/work/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] 276 | if(cp=strchr(optksh,n)) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:276:9: note: place parentheses around the assignment to silence this warning 276 | if(cp=strchr(optksh,n)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:276:9: note: use '==' to turn this assignment into an equality comparison 276 | if(cp=strchr(optksh,n)) | ^ | == /var/tmp/work/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] 486 | if(argblk=argr) | ~~~~~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:486:11: note: place parentheses around the assignment to silence this warning 486 | if(argblk=argr) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:486:11: note: use '==' to turn this assignment into an equality comparison 486 | if(argblk=argr) | ^ | == /var/tmp/work/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] 525 | while(sp= *pp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:525:10: note: place parentheses around the assignment to silence this warning 525 | while(sp= *pp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:525:10: note: use '==' to turn this assignment into an equality comparison 525 | while(sp= *pp++) | ^ | == /var/tmp/work/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] 563 | while(ap->argfor=sh_argfree(shp,ap->argfor,0)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:563:18: note: place parentheses around the assignment to silence this warning 563 | while(ap->argfor=sh_argfree(shp,ap->argfor,0)); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:563:18: note: use '==' to turn this assignment into an equality comparison 563 | while(ap->argfor=sh_argfree(shp,ap->argfor,0)); | ^ | == /var/tmp/work/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] 565 | if(ap->dolh = blk) | ~~~~~~~~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:565:14: note: place parentheses around the assignment to silence this warning 565 | if(ap->dolh = blk) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:565:14: note: use '==' to turn this assignment into an equality comparison 565 | if(ap->dolh = blk) | ^ | == /var/tmp/work/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] 579 | if(dh=ap->dolh) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:579:7: note: place parentheses around the assignment to silence this warning 579 | if(dh=ap->dolh) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:579:7: note: use '==' to turn this assignment into an equality comparison 579 | if(dh=ap->dolh) | ^ | == /var/tmp/work/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] 605 | for(tp=shtab_options; value=tp->sh_number; tp++) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:605:30: note: place parentheses around the assignment to silence this warning 605 | for(tp=shtab_options; value=tp->sh_number; tp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:605:30: note: use '==' to turn this assignment into an equality comparison 605 | for(tp=shtab_options; value=tp->sh_number; tp++) | ^ | == /var/tmp/work/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] 620 | for(tp=shtab_options; value=tp->sh_number; tp++) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:620:30: note: place parentheses around the assignment to silence this warning 620 | for(tp=shtab_options; value=tp->sh_number; tp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:620:30: note: use '==' to turn this assignment into an equality comparison 620 | for(tp=shtab_options; value=tp->sh_number; tp++) | ^ | == /var/tmp/work/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] 654 | for(tp=shtab_options; value=tp->sh_number; tp++) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:654:29: note: place parentheses around the assignment to silence this warning 654 | for(tp=shtab_options; value=tp->sh_number; tp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:654:29: note: use '==' to turn this assignment into an equality comparison 654 | for(tp=shtab_options; value=tp->sh_number; tp++) | ^ | == /var/tmp/work/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] 806 | if(monitor = (sh_isstate(SH_MONITOR)!=0)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:806:13: note: place parentheses around the assignment to silence this warning 806 | if(monitor = (sh_isstate(SH_MONITOR)!=0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:806:13: note: use '==' to turn this assignment into an equality comparison 806 | if(monitor = (sh_isstate(SH_MONITOR)!=0)) | ^ | == /var/tmp/work/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] 853 | if(ap=argp->argchn.ap) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:853:8: note: place parentheses around the assignment to silence this warning 853 | if(ap=argp->argchn.ap) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/args.c:853:8: note: use '==' to turn this assignment into an equality comparison 853 | if(ap=argp->argchn.ap) | ^ | == 12 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c /var/tmp/work/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] 103 | else if(fp = (struct fixed_array*)ap->fixed) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:103:13: note: place parentheses around the assignment to silence this warning 103 | else if(fp = (struct fixed_array*)ap->fixed) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:103:13: note: use '==' to turn this assignment into an equality comparison 103 | else if(fp = (struct fixed_array*)ap->fixed) | ^ | == /var/tmp/work/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] 218 | else if(fp = (struct fixed_array*)arp->fixed) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:218:13: note: place parentheses around the assignment to silence this warning 218 | else if(fp = (struct fixed_array*)arp->fixed) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:218:13: note: use '==' to turn this assignment into an equality comparison 218 | else if(fp = (struct fixed_array*)arp->fixed) | ^ | == /var/tmp/work/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] 285 | if(wasundef = ap->header.nelem&ARRAY_UNDEF) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:285:14: note: place parentheses around the assignment to silence this warning 285 | if(wasundef = ap->header.nelem&ARRAY_UNDEF) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:285:14: note: use '==' to turn this assignment into an equality comparison 285 | if(wasundef = ap->header.nelem&ARRAY_UNDEF) | ^ | == /var/tmp/work/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] 414 | if(nq = nv_search(sub, ap->table, NV_ADD)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:414:8: note: place parentheses around the assignment to silence this warning 414 | if(nq = nv_search(sub, ap->table, NV_ADD)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:414:8: note: use '==' to turn this assignment into an equality comparison 414 | if(nq = nv_search(sub, ap->table, NV_ADD)) | ^ | == /var/tmp/work/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] 462 | if(nq=nv_opensub(np)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:462:10: note: place parentheses around the assignment to silence this warning 462 | if(nq=nv_opensub(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:462:10: note: use '==' to turn this assignment into an equality comparison 462 | if(nq=nv_opensub(np)) | ^ | == /var/tmp/work/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] 514 | if(nq=nv_opensub(np)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:514:8: note: place parentheses around the assignment to silence this warning 514 | if(nq=nv_opensub(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:514:8: note: use '==' to turn this assignment into an equality comparison 514 | if(nq=nv_opensub(np)) | ^ | == /var/tmp/work/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] 668 | else if(fp=(struct fixed_array*)ap->fixed) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:668:16: note: place parentheses around the assignment to silence this warning 668 | else if(fp=(struct fixed_array*)ap->fixed) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:668:16: note: use '==' to turn this assignment into an equality comparison 668 | else if(fp=(struct fixed_array*)ap->fixed) | ^ | == /var/tmp/work/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] 705 | if(fp = (struct fixed_array*)ap->fixed) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:705:9: note: place parentheses around the assignment to silence this warning 705 | if(fp = (struct fixed_array*)ap->fixed) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:705:9: note: use '==' to turn this assignment into an equality comparison 705 | if(fp = (struct fixed_array*)ap->fixed) | ^ | == /var/tmp/work/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] 957 | else while( n = digit ) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:957:18: note: place parentheses around the assignment to silence this warning 957 | else while( n = digit ) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:957:18: note: use '==' to turn this assignment into an equality comparison 957 | else while( n = digit ) | ^ | == /var/tmp/work/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] 1091 | else if(fp = (struct fixed_array*)ap->header.fixed) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1091:13: note: place parentheses around the assignment to silence this warning 1091 | else if(fp = (struct fixed_array*)ap->header.fixed) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1091:13: note: use '==' to turn this assignment into an equality comparison 1091 | else if(fp = (struct fixed_array*)ap->header.fixed) | ^ | == /var/tmp/work/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] 1249 | if(n=ap->maxi-ap->maxi) | ~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1249:9: note: place parentheses around the assignment to silence this warning 1249 | if(n=ap->maxi-ap->maxi) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1249:9: note: use '==' to turn this assignment into an equality comparison 1249 | if(n=ap->maxi-ap->maxi) | ^ | == /var/tmp/work/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] 1286 | if(fp=(struct fixed_array*)ap->header.fixed) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1286:7: note: place parentheses around the assignment to silence this warning 1286 | if(fp=(struct fixed_array*)ap->header.fixed) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1286:7: note: use '==' to turn this assignment into an equality comparison 1286 | if(fp=(struct fixed_array*)ap->header.fixed) | ^ | == /var/tmp/work/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] 1618 | else while(n=dot) | ~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1618:14: note: place parentheses around the assignment to silence this warning 1618 | else while(n=dot) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1618:14: note: use '==' to turn this assignment into an equality comparison 1618 | else while(n=dot) | ^ | == /var/tmp/work/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] 1674 | if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1674:9: note: place parentheses around the assignment to silence this warning 1674 | if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1674:9: note: use '==' to turn this assignment into an equality comparison 1674 | if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) | ^ | == /var/tmp/work/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] 1719 | for(;ap->cur=ap->pos; ap->pos=ap->nextpos) | ~~~~~~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1719:15: note: place parentheses around the assignment to silence this warning 1719 | for(;ap->cur=ap->pos; ap->pos=ap->nextpos) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/array.c:1719:15: note: use '==' to turn this assignment into an equality comparison 1719 | for(;ap->cur=ap->pos; ap->pos=ap->nextpos) | ^ | == 15 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c /var/tmp/work/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] 50 | for(string=cp;c=mbchar(cp);string=cp) | ~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:50:17: note: place parentheses around the assignment to silence this warning 50 | for(string=cp;c=mbchar(cp);string=cp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:50:17: note: use '==' to turn this assignment into an equality comparison 50 | for(string=cp;c=mbchar(cp);string=cp) | ^ | == /var/tmp/work/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] 369 | if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:369:14: note: place parentheses around the assignment to silence this warning 369 | if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/completion.c:369:14: note: use '==' to turn this assignment into an equality comparison 369 | if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) | ^ | == 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/defs.c + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:38: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 656 | for(n=1; c = *last++; n++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:656:16: note: place parentheses around the assignment to silence this warning 656 | for(n=1; c = *last++; n++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:656:16: note: use '==' to turn this assignment into an equality comparison 656 | for(n=1; c = *last++; n++) | ^ | == /var/tmp/work/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] 768 | if(pp=nv_getval(SH_SUBSCRNOD)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:768:9: note: place parentheses around the assignment to silence this warning 768 | if(pp=nv_getval(SH_SUBSCRNOD)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:768:9: note: use '==' to turn this assignment into an equality comparison 768 | if(pp=nv_getval(SH_SUBSCRNOD)) | ^ | == /var/tmp/work/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] 791 | while(c = *str++) | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:791:10: note: place parentheses around the assignment to silence this warning 791 | while(c = *str++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:791:10: note: use '==' to turn this assignment into an equality comparison 791 | while(c = *str++) | ^ | == /var/tmp/work/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] 1084 | if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1084:9: note: place parentheses around the assignment to silence this warning 1084 | if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1084:9: note: use '==' to turn this assignment into an equality comparison 1084 | if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) | ^ | == /var/tmp/work/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] 1317 | for(r=poff;c= *sp;sp++) | ~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1317:14: note: place parentheses around the assignment to silence this warning 1317 | for(r=poff;c= *sp;sp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1317:14: note: use '==' to turn this assignment into an equality comparison 1317 | for(r=poff;c= *sp;sp++) | ^ | == /var/tmp/work/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] 1441 | while(*dp++ = *sp++); | ~~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1441:14: note: place parentheses around the assignment to silence this warning 1441 | while(*dp++ = *sp++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1441:14: note: use '==' to turn this assignment into an equality comparison 1441 | while(*dp++ = *sp++); | ^ | == /var/tmp/work/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] 1625 | for(n=0;c = mbchar(cp);oldcp=cp,col++) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1625:12: note: place parentheses around the assignment to silence this warning 1625 | for(n=0;c = mbchar(cp);oldcp=cp,col++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1625:12: note: use '==' to turn this assignment into an equality comparison 1625 | for(n=0;c = mbchar(cp);oldcp=cp,col++) | ^ | == /var/tmp/work/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] 1739 | for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1739:27: note: place parentheses around the assignment to silence this warning 1739 | for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1739:27: note: use '==' to turn this assignment into an equality comparison 1739 | for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) | ^ | == /var/tmp/work/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] 1755 | for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1755:23: note: place parentheses around the assignment to silence this warning 1755 | for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1755:23: note: use '==' to turn this assignment into an equality comparison 1755 | for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1832:12: error: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1832 | while((r=ioctl(fd,cmd,val)) < 0 && errno==EINTR) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1840:13: error: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1840 | while((r=ioctl(fd,cmd,(unsigned long)l)) < 0 && errno==EINTR) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1845:13: error: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1845 | while((r=ioctl(fd,cmd,(unsigned int)l)) < 0 && errno==EINTR) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1854:5: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1854 | sh_tcgetattr(int fd, struct termios *tty) | ^ | int /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/edit.c:1863:5: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1863 | sh_tcsetattr(int fd, int cmd, struct termios *tty) | ^ | int 30 warnings and 5 errors generated. mamake [cmd/ksh93]: *** exit code 1 making edit.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/expand.c:39: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/bltins/regress.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c /var/tmp/work/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] 80 | if(v = cols) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:80:8: note: place parentheses around the assignment to silence this warning 80 | if(v = cols) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:80:8: note: use '==' to turn this assignment into an equality comparison 80 | if(v = cols) | ^ | == /var/tmp/work/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] 82 | if(v = rows) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:82:8: note: place parentheses around the assignment to silence this warning 82 | if(v = rows) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:82:8: note: use '==' to turn this assignment into an equality comparison 82 | if(v = rows) | ^ | == /var/tmp/work/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] 256 | for(tp=shtab_signals; sig=tp->sh_number; tp++) | ~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:256:27: note: place parentheses around the assignment to silence this warning 256 | for(tp=shtab_signals; sig=tp->sh_number; tp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:256:27: note: use '==' to turn this assignment into an equality comparison 256 | for(tp=shtab_signals; sig=tp->sh_number; tp++) | ^ | == /var/tmp/work/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] 328 | if(trap=sh.st.trapcom[sig]) | ~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:328:10: note: place parentheses around the assignment to silence this warning 328 | if(trap=sh.st.trapcom[sig]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:328:10: note: use '==' to turn this assignment into an equality comparison 328 | if(trap=sh.st.trapcom[sig]) | ^ | == /var/tmp/work/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] 349 | if(trap=sh.st.trap[sig]) | ~~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:349:10: note: place parentheses around the assignment to silence this warning 349 | if(trap=sh.st.trap[sig]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:349:10: note: use '==' to turn this assignment into an equality comparison 349 | if(trap=sh.st.trap[sig]) | ^ | == /var/tmp/work/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] 374 | if(trap=sh.st.trapcom[sig]) | ~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:374:9: note: place parentheses around the assignment to silence this warning 374 | if(trap=sh.st.trapcom[sig]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:374:9: note: use '==' to turn this assignment into an equality comparison 374 | if(trap=sh.st.trapcom[sig]) | ^ | == /var/tmp/work/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] 431 | if(trap=shp->st.trapcom[sig]) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:431:11: note: place parentheses around the assignment to silence this warning 431 | if(trap=shp->st.trapcom[sig]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:431:11: note: use '==' to turn this assignment into an equality comparison 431 | if(trap=shp->st.trapcom[sig]) | ^ | == /var/tmp/work/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] 614 | if(t=shp->st.trapcom[0]) | ~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:614:6: note: place parentheses around the assignment to silence this warning 614 | if(t=shp->st.trapcom[0]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fault.c:614:6: note: use '==' to turn this assignment into an equality comparison 614 | if(t=shp->st.trapcom[0]) | ^ | == 8 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -c /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fcin.c /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fcin.c:171:24: warning: left operand of comma operator has no effect [-Wunused-value] 171 | if((c = mbsize(extra.next)) < 0) | ~~~~~ ^~~~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/fcin.c:187:29: warning: left operand of comma operator has no effect [-Wunused-value] 187 | switch(*len = mbsize(_Fcin.fcptr)) | ~~~~~ ^~~~~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:77: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 238 | if(shgd->hist_ptr=hist_ptr) | ~~~~~~~~~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:238:19: note: place parentheses around the assignment to silence this warning 238 | if(shgd->hist_ptr=hist_ptr) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:238:19: note: use '==' to turn this assignment into an equality comparison 238 | if(shgd->hist_ptr=hist_ptr) | ^ | == /var/tmp/work/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] 243 | if(cp=nv_getval(HOME)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:243:8: note: place parentheses around the assignment to silence this warning 243 | if(cp=nv_getval(HOME)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:243:8: note: use '==' to turn this assignment into an equality comparison 243 | if(cp=nv_getval(HOME)) | ^ | == /var/tmp/work/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] 304 | if(cp=nv_getval(HISTSIZE)) | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:304:7: note: place parentheses around the assignment to silence this warning 304 | if(cp=nv_getval(HISTSIZE)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:304:7: note: use '==' to turn this assignment into an equality comparison 304 | if(cp=nv_getval(HISTSIZE)) | ^ | == /var/tmp/work/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] 475 | if(last = strrchr(name,'/')) | ~~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:475:11: note: place parentheses around the assignment to silence this warning 475 | if(last = strrchr(name,'/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:475:11: note: use '==' to turn this assignment into an equality comparison 475 | if(last = strrchr(name,'/')) | ^ | == /var/tmp/work/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] 567 | while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:567:17: note: place parentheses around the assignment to silence this warning 567 | while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:567:17: note: use '==' to turn this assignment into an equality comparison 567 | while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) | ^ | == /var/tmp/work/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] 642 | while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:642:17: note: place parentheses around the assignment to silence this warning 642 | while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:642:17: note: use '==' to turn this assignment into an equality comparison 642 | while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) | ^ | == /var/tmp/work/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] 773 | if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:773:10: note: place parentheses around the assignment to silence this warning 773 | if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:773:10: note: use '==' to turn this assignment into an equality comparison 773 | if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:1037:16: warning: left operand of comma operator has no effect [-Wunused-value] 1037 | if((c=mbsize(cp)) < 0) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 1109 | for(;c = *cp;cp++) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:1109:9: note: place parentheses around the assignment to silence this warning 1109 | for(;c = *cp;cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/history.c:1109:9: note: use '==' to turn this assignment into an equality comparison 1109 | for(;c = *cp;cp++) | ^ | == 30 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c /var/tmp/work/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] 362 | if(shp->pathlist = (void*)pp) | ~~~~~~~~~~~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:362:20: note: place parentheses around the assignment to silence this warning 362 | if(shp->pathlist = (void*)pp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:362:20: note: use '==' to turn this assignment into an equality comparison 362 | if(shp->pathlist = (void*)pp) | ^ | == /var/tmp/work/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] 386 | if(shp->cdpathlist = (void*)pp) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:386:21: note: place parentheses around the assignment to silence this warning 386 | if(shp->cdpathlist = (void*)pp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:386:21: note: use '==' to turn this assignment into an equality comparison 386 | if(shp->cdpathlist = (void*)pp) | ^ | == /var/tmp/work/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] 547 | if(cp=value) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:547:8: note: place parentheses around the assignment to silence this warning 547 | if(cp=value) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:547:8: note: use '==' to turn this assignment into an equality comparison 547 | if(cp=value) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:550:19: warning: left operand of comma operator has no effect [-Wunused-value] 550 | while(n=mbsize(cp),c= *(unsigned char*)cp) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 820 | if(ap = nv_arrayptr(SH_MATCHNOD)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:820:10: note: place parentheses around the assignment to silence this warning 820 | if(ap = nv_arrayptr(SH_MATCHNOD)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:820:10: note: use '==' to turn this assignment into an equality comparison 820 | if(ap = nv_arrayptr(SH_MATCHNOD)) | ^ | == /var/tmp/work/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] 915 | while (c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:915:11: note: place parentheses around the assignment to silence this warning 915 | while (c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:915:11: note: use '==' to turn this assignment into an equality comparison 915 | while (c = *cp++) | ^ | == /var/tmp/work/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] 938 | if(lastp=strchr(newp,':')) | ~~~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:938:11: note: place parentheses around the assignment to silence this warning 938 | if(lastp=strchr(newp,':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:938:11: note: use '==' to turn this assignment into an equality comparison 938 | if(lastp=strchr(newp,':')) | ^ | == /var/tmp/work/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] 951 | if(cp = nv_getval(np)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:951:8: note: place parentheses around the assignment to silence this warning 951 | if(cp = nv_getval(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:951:8: note: use '==' to turn this assignment into an equality comparison 951 | if(cp = nv_getval(np)) | ^ | == /var/tmp/work/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] 1032 | while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1032:10: note: place parentheses around the assignment to silence this warning 1032 | while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1032:10: note: use '==' to turn this assignment into an equality comparison 1032 | while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) | ^ | == /var/tmp/work/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] 1152 | if (s = (const char*)strrchr(path, '/')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1152:8: note: place parentheses around the assignment to silence this warning 1152 | if (s = (const char*)strrchr(path, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1152:8: note: use '==' to turn this assignment into an equality comparison 1152 | if (s = (const char*)strrchr(path, '/')) | ^ | == /var/tmp/work/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] 1412 | else if(cp = nv_getval(PWDNOD)) | ~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1412:15: note: place parentheses around the assignment to silence this warning 1412 | else if(cp = nv_getval(PWDNOD)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1412:15: note: use '==' to turn this assignment into an equality comparison 1412 | else if(cp = nv_getval(PWDNOD)) | ^ | == /var/tmp/work/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] 1579 | if(shp->userinit=userinit) | ~~~~~~~~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1579:18: note: place parentheses around the assignment to silence this warning 1579 | if(shp->userinit=userinit) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:1579:18: note: use '==' to turn this assignment into an equality comparison 1579 | if(shp->userinit=userinit) | ^ | == /var/tmp/work/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] 2010 | for(np0=np,ep=environ;cp= *ep; ep++) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2010:26: note: place parentheses around the assignment to silence this warning 2010 | for(np0=np,ep=environ;cp= *ep; ep++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2010:26: note: use '==' to turn this assignment into an equality comparison 2010 | for(np0=np,ep=environ;cp= *ep; ep++) | ^ | == /var/tmp/work/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] 2016 | if(mp = dtmatch(shp->var_base,cp)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2016:9: note: place parentheses around the assignment to silence this warning 2016 | if(mp = dtmatch(shp->var_base,cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2016:9: note: use '==' to turn this assignment into an equality comparison 2016 | if(mp = dtmatch(shp->var_base,cp)) | ^ | == /var/tmp/work/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] 2056 | while(cp=next) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2056:10: note: place parentheses around the assignment to silence this warning 2056 | while(cp=next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2056:10: note: use '==' to turn this assignment into an equality comparison 2056 | while(cp=next) | ^ | == /var/tmp/work/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] 2058 | if(next = strchr(++cp,'=')) | ~~~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2058:11: note: place parentheses around the assignment to silence this warning 2058 | if(next = strchr(++cp,'=')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2058:11: note: use '==' to turn this assignment into an equality comparison 2058 | if(next = strchr(++cp,'=')) | ^ | == /var/tmp/work/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] 2177 | while(c = mbchar(val)) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2177:11: note: place parentheses around the assignment to silence this warning 2177 | while(c = mbchar(val)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/init.c:2177:11: note: use '==' to turn this assignment into an equality comparison 2177 | while(c = mbchar(val)) | ^ | == 17 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:32: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 269 | if (t = strchr(s, '/')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:269:8: note: place parentheses around the assignment to silence this warning 269 | if (t = strchr(s, '/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:269:8: note: use '==' to turn this assignment into an equality comparison 269 | if (t = strchr(s, '/')) | ^ | == /var/tmp/work/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] 610 | if(shp->fdptrs[fd]=shp->fdptrs[f2]) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:610:20: note: place parentheses around the assignment to silence this warning 610 | if(shp->fdptrs[fd]=shp->fdptrs[f2]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:610:20: note: use '==' to turn this assignment into an equality comparison 610 | if(shp->fdptrs[fd]=shp->fdptrs[f2]) | ^ | == /var/tmp/work/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] 1102 | if(ep = strrchr(sp,'/')) | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1102:8: note: place parentheses around the assignment to silence this warning 1102 | if(ep = strrchr(sp,'/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1102:8: note: use '==' to turn this assignment into an equality comparison 1102 | if(ep = strrchr(sp,'/')) | ^ | == /var/tmp/work/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] 1342 | if(tname = io_usename(fname,&perm,fn,0)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1342:15: note: place parentheses around the assignment to silence this warning 1342 | if(tname = io_usename(fname,&perm,fn,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1342:15: note: use '==' to turn this assignment into an equality comparison 1342 | if(tname = io_usename(fname,&perm,fn,0)) | ^ | == /var/tmp/work/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] 1669 | if(moved = (char*)filemap - oldptr) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1669:12: note: place parentheses around the assignment to silence this warning 1669 | if(moved = (char*)filemap - oldptr) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:1669:12: note: use '==' to turn this assignment into an equality comparison 1669 | if(moved = (char*)filemap - oldptr) | ^ | == /var/tmp/work/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] 2145 | for(;c= *cp;cp++) | ~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2145:10: note: place parentheses around the assignment to silence this warning 2145 | for(;c= *cp;cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2145:10: note: use '==' to turn this assignment into an equality comparison 2145 | for(;c= *cp;cp++) | ^ | == /var/tmp/work/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] 2272 | if(pp=(struct checkpt*)shp->jmplist) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2272:8: note: place parentheses around the assignment to silence this warning 2272 | if(pp=(struct checkpt*)shp->jmplist) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2272:8: note: use '==' to turn this assignment into an equality comparison 2272 | if(pp=(struct checkpt*)shp->jmplist) | ^ | == /var/tmp/work/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] 2498 | if(sp=shp->sftable[fd]) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2498:7: note: place parentheses around the assignment to silence this warning 2498 | if(sp=shp->sftable[fd]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2498:7: note: use '==' to turn this assignment into an equality comparison 2498 | if(sp=shp->sftable[fd]) | ^ | == /var/tmp/work/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] 2512 | if(sp=shp->sftable[fd]) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2512:7: note: place parentheses around the assignment to silence this warning 2512 | if(sp=shp->sftable[fd]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/io.c:2512:7: note: use '==' to turn this assignment into an equality comparison 2512 | if(sp=shp->sftable[fd]) | ^ | == 30 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c /var/tmp/work/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] 388 | if(cjp = cowait(0,0,cotimeout)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:388:11: note: place parentheses around the assignment to silence this warning 388 | if(cjp = cowait(0,0,cotimeout)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:388:11: note: use '==' to turn this assignment into an equality comparison 388 | if(cjp = cowait(0,0,cotimeout)) | ^ | == /var/tmp/work/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] 658 | if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:658:14: note: place parentheses around the assignment to silence this warning 658 | if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:658:14: note: use '==' to turn this assignment into an equality comparison 658 | if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) | ^ | == /var/tmp/work/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] 876 | else while(jp = *jobs++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:876:16: note: place parentheses around the assignment to silence this warning 876 | else while(jp = *jobs++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:876:16: note: use '==' to turn this assignment into an equality comparison 876 | else while(jp = *jobs++) | ^ | == /var/tmp/work/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] 942 | else while(jobid = *jobs++) | ~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:942:19: note: place parentheses around the assignment to silence this warning 942 | else while(jobid = *jobs++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:942:19: note: use '==' to turn this assignment into an equality comparison 942 | else while(jobid = *jobs++) | ^ | == /var/tmp/work/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] 1067 | while(px=px->p_nxtproc) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1067:12: note: place parentheses around the assignment to silence this warning 1067 | while(px=px->p_nxtproc) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1067:12: note: use '==' to turn this assignment into an equality comparison 1067 | while(px=px->p_nxtproc) | ^ | == /var/tmp/work/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] 1175 | if(pid = pw->p_pgrp) | ~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1175:10: note: place parentheses around the assignment to silence this warning 1175 | if(pid = pw->p_pgrp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1175:10: note: use '==' to turn this assignment into an equality comparison 1175 | if(pid = pw->p_pgrp) | ^ | == /var/tmp/work/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] 1261 | while(px=pw) | ~~^~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1261:11: note: place parentheses around the assignment to silence this warning 1261 | while(px=pw) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1261:11: note: use '==' to turn this assignment into an equality comparison 1261 | while(px=pw) | ^ | == /var/tmp/work/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] 1321 | if(pw = job_bypid(pid)) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1321:8: note: place parentheses around the assignment to silence this warning 1321 | if(pw = job_bypid(pid)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1321:8: note: use '==' to turn this assignment into an equality comparison 1321 | if(pw = job_bypid(pid)) | ^ | == /var/tmp/work/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] 1325 | if(pw=job_bypid(join)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1325:8: note: place parentheses around the assignment to silence this warning 1325 | if(pw=job_bypid(join)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1325:8: note: use '==' to turn this assignment into an equality comparison 1325 | if(pw=job_bypid(join)) | ^ | == /var/tmp/work/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] 1337 | if(pw=freelist) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1337:7: note: place parentheses around the assignment to silence this warning 1337 | if(pw=freelist) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1337:7: note: use '==' to turn this assignment into an equality comparison 1337 | if(pw=freelist) | ^ | == /var/tmp/work/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] 1817 | if(jp = jobsave_create(pw->p_pid)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1817:10: note: place parentheses around the assignment to silence this warning 1817 | if(jp = jobsave_create(pw->p_pid)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/jobs.c:1817:10: note: use '==' to turn this assignment into an equality comparison 1817 | if(jp = jobsave_create(pw->p_pid)) | ^ | == 11 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c /var/tmp/work/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] 1570 | if(first=lp->lexd.first) | ~~~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1570:10: note: place parentheses around the assignment to silence this warning 1570 | if(first=lp->lexd.first) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1570:10: note: use '==' to turn this assignment into an equality comparison 1570 | if(first=lp->lexd.first) | ^ | == /var/tmp/work/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] 1702 | if(offset=stktell(stkp)) | ~~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1702:11: note: place parentheses around the assignment to silence this warning 1702 | if(offset=stktell(stkp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1702:11: note: use '==' to turn this assignment into an equality comparison 1702 | if(offset=stktell(stkp)) | ^ | == /var/tmp/work/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] 1797 | if(funlog=lp->sh->funlog) | ~~~~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1797:11: note: place parentheses around the assignment to silence this warning 1797 | if(funlog=lp->sh->funlog) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1797:11: note: use '==' to turn this assignment into an equality comparison 1797 | if(funlog=lp->sh->funlog) | ^ | == /var/tmp/work/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] 1809 | if(stripflg=iop->iofile&IOSTRIP) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1809:13: note: place parentheses around the assignment to silence this warning 1809 | if(stripflg=iop->iofile&IOSTRIP) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1809:13: note: use '==' to turn this assignment into an equality comparison 1809 | if(stripflg=iop->iofile&IOSTRIP) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:1844:39: warning: left operand of comma operator has no effect [-Wunused-value] 1844 | if(fcleft()< MB_LEN_MAX && mbsize(fcseek(0))<0) | ~~~~~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' 55 | #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) | ^ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 2131 | while(top=sfstack(sp,SF_POPSTACK)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2131:12: note: place parentheses around the assignment to silence this warning 2131 | while(top=sfstack(sp,SF_POPSTACK)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2131:12: note: use '==' to turn this assignment into an equality comparison 2131 | while(top=sfstack(sp,SF_POPSTACK)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2189:24: warning: left operand of comma operator has no effect [-Wunused-value] 2189 | switch(len = mbsize(sp)) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2398:25: warning: left operand of comma operator has no effect [-Wunused-value] 2398 | switch(len = mbsize(sp)) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 2497 | if(ap->np = np) | ~~~~~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2497:12: note: place parentheses around the assignment to silence this warning 2497 | if(ap->np = np) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/lex.c:2497:12: note: use '==' to turn this assignment into an equality comparison 2497 | if(ap->np = np) | ^ | == 9 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c /var/tmp/work/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] 177 | if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:177:13: note: place parentheses around the assignment to silence this warning 177 | if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:177:13: note: use '==' to turn this assignment into an equality comparison 177 | if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) | ^ | == /var/tmp/work/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] 212 | if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:212:13: note: place parentheses around the assignment to silence this warning 212 | if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:212:13: note: use '==' to turn this assignment into an equality comparison 212 | if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) | ^ | == /var/tmp/work/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] 322 | if(c=(cp-1)-fcseek(0)) | ~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:322:7: note: place parentheses around the assignment to silence this warning 322 | if(c=(cp-1)-fcseek(0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:322:7: note: use '==' to turn this assignment into an equality comparison 322 | if(c=(cp-1)-fcseek(0)) | ^ | == /var/tmp/work/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] 387 | if(c=stktell(stkp)-offset2) | ~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:387:9: note: place parentheses around the assignment to silence this warning 387 | if(c=stktell(stkp)-offset2) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:387:9: note: use '==' to turn this assignment into an equality comparison 387 | if(c=stktell(stkp)-offset2) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:302:25: warning: left operand of comma operator has no effect [-Wunused-value] 302 | switch(len = mbsize(cp)) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 528 | if(c= cp[-1]) | ~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:528:9: note: place parentheses around the assignment to silence this warning 528 | if(c= cp[-1]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:528:9: note: use '==' to turn this assignment into an equality comparison 528 | if(c= cp[-1]) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:469:25: warning: left operand of comma operator has no effect [-Wunused-value] 469 | switch(len = mbsize(cp)) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 891 | if(n=cp-first-1) | ~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:891:6: note: place parentheses around the assignment to silence this warning 891 | if(n=cp-first-1) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:891:6: note: use '==' to turn this assignment into an equality comparison 891 | if(n=cp-first-1) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:1725:20: warning: left operand of comma operator has no effect [-Wunused-value] 1725 | if((c=mbsize(vp))<1) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 2124 | if(sp=mp->shp->sftable[fd]) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2124:10: note: place parentheses around the assignment to silence this warning 2124 | if(sp=mp->shp->sftable[fd]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2124:10: note: use '==' to turn this assignment into an equality comparison 2124 | if(sp=mp->shp->sftable[fd]) | ^ | == /var/tmp/work/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] 2327 | if(c = (cp-1) - str) | ~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2327:10: note: place parentheses around the assignment to silence this warning 2327 | if(c = (cp-1) - str) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2327:10: note: use '==' to turn this assignment into an equality comparison 2327 | if(c = (cp-1) - str) | ^ | == /var/tmp/work/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] 2333 | if(c = cp-str) | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2333:8: note: place parentheses around the assignment to silence this warning 2333 | if(c = cp-str) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2333:8: note: use '==' to turn this assignment into an equality comparison 2333 | if(c = cp-str) | ^ | == /var/tmp/work/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] 2343 | while(c = *sp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2343:12: note: place parentheses around the assignment to silence this warning 2343 | while(c = *sp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2343:12: note: use '==' to turn this assignment into an equality comparison 2343 | while(c = *sp++) | ^ | == /var/tmp/work/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] 2349 | while(c = *sp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2349:12: note: place parentheses around the assignment to silence this warning 2349 | while(c = *sp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2349:12: note: use '==' to turn this assignment into an equality comparison 2349 | while(c = *sp++) | ^ | == /var/tmp/work/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] 2427 | while(c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2427:12: note: place parentheses around the assignment to silence this warning 2427 | while(c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2427:12: note: use '==' to turn this assignment into an equality comparison 2427 | while(c = *cp++) | ^ | == /var/tmp/work/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] 2433 | while(c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2433:12: note: place parentheses around the assignment to silence this warning 2433 | while(c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2433:12: note: use '==' to turn this assignment into an equality comparison 2433 | while(c = *cp++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2282:31: warning: left operand of comma operator has no effect [-Wunused-value] 2282 | if(mbwide() && (len=mbsize(cp))>1) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2361:47: warning: left operand of comma operator has no effect [-Wunused-value] 2361 | if(mbwide() && n!=S_MBYTE && (len=mbsize(cp-1))>1) | ~~^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2384:19: warning: left operand of comma operator has no effect [-Wunused-value] 2384 | n = mbsize(cp-1) - 1; | ~~^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2399:20: warning: left operand of comma operator has no effect [-Wunused-value] 2399 | n = mbsize(cp-1) - 1; | ~~^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 2505 | if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2505:7: note: place parentheses around the assignment to silence this warning 2505 | if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2505:7: note: use '==' to turn this assignment into an equality comparison 2505 | if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) | ^ | == /var/tmp/work/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] 2520 | if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2520:7: note: place parentheses around the assignment to silence this warning 2520 | if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2520:7: note: use '==' to turn this assignment into an equality comparison 2520 | if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2548:17: warning: left operand of comma operator has no effect [-Wunused-value] 2548 | if((c=mbsize(str))<0) | ^~~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 2630 | if(ptr = sfreserve(iop, SF_UNBOUND, -1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2630:9: note: place parentheses around the assignment to silence this warning 2630 | if(ptr = sfreserve(iop, SF_UNBOUND, -1)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2630:9: note: use '==' to turn this assignment into an equality comparison 2630 | if(ptr = sfreserve(iop, SF_UNBOUND, -1)) | ^ | == /var/tmp/work/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] 2713 | if(np=nv_search(string,logins_tree,NV_ADD)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2713:7: note: place parentheses around the assignment to silence this warning 2713 | if(np=nv_search(string,logins_tree,NV_ADD)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2713:7: note: use '==' to turn this assignment into an equality comparison 2713 | if(np=nv_search(string,logins_tree,NV_ADD)) | ^ | == /var/tmp/work/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] 2788 | while(c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2788:10: note: place parentheses around the assignment to silence this warning 2788 | while(c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/macro.c:2788:10: note: use '==' to turn this assignment into an equality comparison 2788 | while(c = *cp++) | ^ | == 26 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c /var/tmp/work/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] 174 | while(sp= strchr(cp,'[')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:174:10: note: place parentheses around the assignment to silence this warning 174 | while(sp= strchr(cp,'[')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:174:10: note: use '==' to turn this assignment into an equality comparison 174 | while(sp= strchr(cp,'[')) | ^ | == /var/tmp/work/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] 180 | while(c= *sp++) | ~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:180:10: note: place parentheses around the assignment to silence this warning 180 | while(c= *sp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:180:10: note: use '==' to turn this assignment into an equality comparison 180 | while(c= *sp++) | ^ | == /var/tmp/work/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] 479 | while(cp= *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:479:16: note: place parentheses around the assignment to silence this warning 479 | while(cp= *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:479:16: note: use '==' to turn this assignment into an equality comparison 479 | while(cp= *argv++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:601:28: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 601 | 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]!='[') | ^ ~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:601:28: note: add parentheses after the '!' to evaluate the comparison first 601 | 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]!='[') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:601:28: note: add parentheses around left hand side expression to silence this warning 601 | 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]!='[') | ^ | ( ) /var/tmp/work/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] 637 | if(cp=lastdot(sp,'=')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:637:9: note: place parentheses around the assignment to silence this warning 637 | if(cp=lastdot(sp,'=')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:637:9: note: use '==' to turn this assignment into an equality comparison 637 | if(cp=lastdot(sp,'=')) | ^ | == /var/tmp/work/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] 694 | while(c= *sub++) | ~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:694:9: note: place parentheses around the assignment to silence this warning 694 | while(c= *sub++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:694:9: note: use '==' to turn this assignment into an equality comparison 694 | while(c= *sub++) | ^ | == /var/tmp/work/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] 827 | if(np = nv_search(name,shp->var_tree,0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:827:11: note: place parentheses around the assignment to silence this warning 827 | if(np = nv_search(name,shp->var_tree,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:827:11: note: use '==' to turn this assignment into an equality comparison 827 | if(np = nv_search(name,shp->var_tree,0)) | ^ | == /var/tmp/work/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] 1122 | while(*dp++=*cp++); | ~~~~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1122:20: note: place parentheses around the assignment to silence this warning 1122 | while(*dp++=*cp++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1122:20: note: use '==' to turn this assignment into an equality comparison 1122 | while(*dp++=*cp++); | ^ | == /var/tmp/work/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] 1228 | else if(np=nq) | ~~^~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1228:17: note: place parentheses around the assignment to silence this warning 1228 | else if(np=nq) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1228:17: note: use '==' to turn this assignment into an equality comparison 1228 | else if(np=nq) | ^ | == /var/tmp/work/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] 1286 | while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1286:13: note: place parentheses around the assignment to silence this warning 1286 | while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1286:13: note: use '==' to turn this assignment into an equality comparison 1286 | while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) | ^ | == /var/tmp/work/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] 1395 | if(c= *--cp) | ~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1395:7: note: place parentheses around the assignment to silence this warning 1395 | if(c= *--cp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1395:7: note: use '==' to turn this assignment into an equality comparison 1395 | if(c= *--cp) | ^ | == /var/tmp/work/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] 1412 | if(c= !isaletter(c)) | ~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1412:6: note: place parentheses around the assignment to silence this warning 1412 | if(c= !isaletter(c)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1412:6: note: use '==' to turn this assignment into an equality comparison 1412 | if(c= !isaletter(c)) | ^ | == /var/tmp/work/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] 1537 | if(ap=nv_arrayptr(np)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1537:10: note: place parentheses around the assignment to silence this warning 1537 | if(ap=nv_arrayptr(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1537:10: note: use '==' to turn this assignment into an equality comparison 1537 | if(ap=nv_arrayptr(np)) | ^ | == /var/tmp/work/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] 1539 | if(mp=nv_opensub(np)) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1539:11: note: place parentheses around the assignment to silence this warning 1539 | if(mp=nv_opensub(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1539:11: note: use '==' to turn this assignment into an equality comparison 1539 | if(mp=nv_opensub(np)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1862:37: warning: for loop has empty body [-Wempty-body] 1862 | for(;*sp == ' '|| *sp=='\t';sp++); | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:1862:37: note: put the semicolon on a separate line to silence this warning /var/tmp/work/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] 2202 | else if(value=nv_getval(np)) | ~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2202:15: note: place parentheses around the assignment to silence this warning 2202 | else if(value=nv_getval(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2202:15: note: use '==' to turn this assignment into an equality comparison 2202 | else if(value=nv_getval(np)) | ^ | == /var/tmp/work/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] 2393 | if(cp = nv_getval(np)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2393:9: note: place parentheses around the assignment to silence this warning 2393 | if(cp = nv_getval(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2393:9: note: use '==' to turn this assignment into an equality comparison 2393 | if(cp = nv_getval(np)) | ^ | == /var/tmp/work/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] 2432 | if(nq=dtsearch(oroot,np)) | ~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2432:8: note: place parentheses around the assignment to silence this warning 2432 | if(nq=dtsearch(oroot,np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2432:8: note: use '==' to turn this assignment into an equality comparison 2432 | if(nq=dtsearch(oroot,np)) | ^ | == /var/tmp/work/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] 2523 | while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2523:14: note: place parentheses around the assignment to silence this warning 2523 | while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2523:14: note: use '==' to turn this assignment into an equality comparison 2523 | while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); | ^ | == /var/tmp/work/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] 2714 | if(op = opt_free) | ~~~^~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2714:9: note: place parentheses around the assignment to silence this warning 2714 | if(op = opt_free) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:2714:9: note: use '==' to turn this assignment into an equality comparison 2714 | if(op = opt_free) | ^ | == /var/tmp/work/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] 3056 | if (sp = nv_getval(np)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3056:10: note: place parentheses around the assignment to silence this warning 3056 | if (sp = nv_getval(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3056:10: note: use '==' to turn this assignment into an equality comparison 3056 | if (sp = nv_getval(np)) | ^ | == /var/tmp/work/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] 3118 | while(cp = *av++) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3118:11: note: place parentheses around the assignment to silence this warning 3118 | while(cp = *av++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3118:11: note: use '==' to turn this assignment into an equality comparison 3118 | while(cp = *av++) | ^ | == /var/tmp/work/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] 3213 | while(c= mbchar(cp)) | ~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3213:9: note: place parentheses around the assignment to silence this warning 3213 | while(c= mbchar(cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3213:9: note: use '==' to turn this assignment into an equality comparison 3213 | while(c= mbchar(cp)) | ^ | == /var/tmp/work/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] 3296 | if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3296:9: note: place parentheses around the assignment to silence this warning 3296 | if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3296:9: note: use '==' to turn this assignment into an equality comparison 3296 | if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) | ^ | == /var/tmp/work/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] 3298 | if(ap = nv_arrayptr(np)) | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3298:10: note: place parentheses around the assignment to silence this warning 3298 | if(ap = nv_arrayptr(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3298:10: note: use '==' to turn this assignment into an equality comparison 3298 | if(ap = nv_arrayptr(np)) | ^ | == /var/tmp/work/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] 3312 | if(cp = nv_getval(np)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3312:9: note: place parentheses around the assignment to silence this warning 3312 | if(cp = nv_getval(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3312:9: note: use '==' to turn this assignment into an equality comparison 3312 | if(cp = nv_getval(np)) | ^ | == /var/tmp/work/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] 3334 | if(ap=nv_arrayptr(np)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3334:8: note: place parentheses around the assignment to silence this warning 3334 | if(ap=nv_arrayptr(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3334:8: note: use '==' to turn this assignment into an equality comparison 3334 | if(ap=nv_arrayptr(np)) | ^ | == /var/tmp/work/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] 3459 | if(nq = nv_opensub(nr)) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3459:10: note: place parentheses around the assignment to silence this warning 3459 | if(nq = nv_opensub(nr)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3459:10: note: use '==' to turn this assignment into an equality comparison 3459 | if(nq = nv_opensub(nr)) | ^ | == /var/tmp/work/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] 3512 | while(sp = sp->prevst) | ~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3512:13: note: place parentheses around the assignment to silence this warning 3512 | while(sp = sp->prevst) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/name.c:3512:13: note: use '==' to turn this assignment into an equality comparison 3512 | while(sp = sp->prevst) | ^ | == 29 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c /var/tmp/work/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] 74 | while(fp=fp->next) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:74:10: note: place parentheses around the assignment to silence this warning 74 | while(fp=fp->next) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:74:10: note: use '==' to turn this assignment into an equality comparison 74 | while(fp=fp->next) | ^ | == /var/tmp/work/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] 78 | if(np=(*fp->disc->createf)(np,name,flag,fp)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:78:9: note: place parentheses around the assignment to silence this warning 78 | if(np=(*fp->disc->createf)(np,name,flag,fp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:78:9: note: use '==' to turn this assignment into an equality comparison 78 | if(np=(*fp->disc->createf)(np,name,flag,fp)) | ^ | == /var/tmp/work/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] 119 | for(cp=(char*)str;c= *cp; cp++) | ~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:119:21: note: place parentheses around the assignment to silence this warning 119 | for(cp=(char*)str;c= *cp; cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:119:21: note: use '==' to turn this assignment into an equality comparison 119 | for(cp=(char*)str;c= *cp; cp++) | ^ | == /var/tmp/work/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] 187 | if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:187:13: note: place parentheses around the assignment to silence this warning 187 | if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:187:13: note: use '==' to turn this assignment into an equality comparison 187 | if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) | ^ | == /var/tmp/work/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] 208 | else if(next= nextdot(last)) | ~~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:208:15: note: place parentheses around the assignment to silence this warning 208 | else if(next= nextdot(last)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:208:15: note: use '==' to turn this assignment into an equality comparison 208 | else if(next= nextdot(last)) | ^ | == /var/tmp/work/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] 221 | if(nq = nv_opensub(np)) | ~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:221:12: note: place parentheses around the assignment to silence this warning 221 | if(nq = nv_opensub(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:221:12: note: use '==' to turn this assignment into an equality comparison 221 | if(nq = nv_opensub(np)) | ^ | == /var/tmp/work/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] 283 | while(np=dp->hp) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:283:11: note: place parentheses around the assignment to silence this warning 283 | while(np=dp->hp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:283:11: note: use '==' to turn this assignment into an equality comparison 283 | while(np=dp->hp) | ^ | == /var/tmp/work/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] 399 | if(cp=strrchr(cp,'.')) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:399:8: note: place parentheses around the assignment to silence this warning 399 | if(cp=strrchr(cp,'.')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:399:8: note: use '==' to turn this assignment into an equality comparison 399 | if(cp=strrchr(cp,'.')) | ^ | == /var/tmp/work/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] 459 | if(cp = strrchr(cp,'.')) | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:459:11: note: place parentheses around the assignment to silence this warning 459 | if(cp = strrchr(cp,'.')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:459:11: note: use '==' to turn this assignment into an equality comparison 459 | if(cp = strrchr(cp,'.')) | ^ | == /var/tmp/work/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] 731 | if(fp = nv_stack(np,NIL(Namfun_t*))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:731:10: note: place parentheses around the assignment to silence this warning 731 | if(fp = nv_stack(np,NIL(Namfun_t*))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:731:10: note: use '==' to turn this assignment into an equality comparison 731 | if(fp = nv_stack(np,NIL(Namfun_t*))) | ^ | == /var/tmp/work/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] 821 | else if(cp=nextdot(prefix)) | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:821:12: note: place parentheses around the assignment to silence this warning 821 | else if(cp=nextdot(prefix)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:821:12: note: use '==' to turn this assignment into an equality comparison 821 | else if(cp=nextdot(prefix)) | ^ | == /var/tmp/work/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] 835 | for(; arg= *argv; argv++) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:835:11: note: place parentheses around the assignment to silence this warning 835 | for(; arg= *argv; argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:835:11: note: use '==' to turn this assignment into an equality comparison 835 | for(; arg= *argv; argv++) | ^ | == /var/tmp/work/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] 850 | if(nextcp=nextdot(cp)) | ~~~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:850:13: note: place parentheses around the assignment to silence this warning 850 | if(nextcp=nextdot(cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:850:13: note: use '==' to turn this assignment into an equality comparison 850 | if(nextcp=nextdot(cp)) | ^ | == /var/tmp/work/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] 867 | if(sp = strrchr(tp->nvname,'.')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:867:13: note: place parentheses around the assignment to silence this warning 867 | if(sp = strrchr(tp->nvname,'.')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:867:13: note: use '==' to turn this assignment into an equality comparison 867 | if(sp = strrchr(tp->nvname,'.')) | ^ | == /var/tmp/work/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] 1012 | while(cp = nv_dirnext(dir)) | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1012:11: note: place parentheses around the assignment to silence this warning 1012 | while(cp = nv_dirnext(dir)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1012:11: note: use '==' to turn this assignment into an equality comparison 1012 | while(cp = nv_dirnext(dir)) | ^ | == /var/tmp/work/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] 1105 | if(flags = nv_isattr(np,NV_EXPORT)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1105:11: note: place parentheses around the assignment to silence this warning 1105 | if(flags = nv_isattr(np,NV_EXPORT)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1105:11: note: use '==' to turn this assignment into an equality comparison 1105 | if(flags = nv_isattr(np,NV_EXPORT)) | ^ | == /var/tmp/work/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] 1107 | if(flags |= nv_isattr(np,NV_TABLE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1107:11: note: place parentheses around the assignment to silence this warning 1107 | if(flags |= nv_isattr(np,NV_TABLE)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1107:11: note: use '!=' to turn this compound assignment into an inequality comparison 1107 | if(flags |= nv_isattr(np,NV_TABLE)) | ^~ | != /var/tmp/work/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] 1145 | if(ap= nv_arrayptr(np)) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1145:7: note: place parentheses around the assignment to silence this warning 1145 | if(ap= nv_arrayptr(np)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1145:7: note: use '==' to turn this assignment into an equality comparison 1145 | if(ap= nv_arrayptr(np)) | ^ | == /var/tmp/work/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] 1150 | if(fp = nv_stack(np,NIL(Namfun_t*))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1150:9: note: place parentheses around the assignment to silence this warning 1150 | if(fp = nv_stack(np,NIL(Namfun_t*))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/nvtree.c:1150:9: note: use '==' to turn this assignment into an equality comparison 1150 | if(fp = nv_stack(np,NIL(Namfun_t*))) | ^ | == 19 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c /var/tmp/work/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] 130 | while(argp = argp->argnxt.ap) | ~~~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:130:14: note: place parentheses around the assignment to silence this warning 130 | while(argp = argp->argnxt.ap) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:130:14: note: use '==' to turn this assignment into an equality comparison 130 | while(argp = argp->argnxt.ap) | ^ | == /var/tmp/work/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] 175 | for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:175:46: note: place parentheses around the assignment to silence this warning 175 | for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:175:46: note: use '==' to turn this assignment into an equality comparison 175 | for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) | ^ | == /var/tmp/work/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] 177 | for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:177:41: note: place parentheses around the assignment to silence this warning 177 | for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:177:41: note: use '==' to turn this assignment into an equality comparison 177 | for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) | ^ | == /var/tmp/work/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] 182 | for(cp=(unsigned char*)str; c= *cp++; n=table[c]) | ~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:182:31: note: place parentheses around the assignment to silence this warning 182 | for(cp=(unsigned char*)str; c= *cp++; n=table[c]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:182:31: note: use '==' to turn this assignment into an equality comparison 182 | for(cp=(unsigned char*)str; c= *cp++; n=table[c]) | ^ | == /var/tmp/work/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] 198 | while(ap = ap->argnxt.ap) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:198:12: note: place parentheses around the assignment to silence this warning 198 | while(ap = ap->argnxt.ap) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:198:12: note: use '==' to turn this assignment into an equality comparison 198 | while(ap = ap->argnxt.ap) | ^ | == /var/tmp/work/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] 257 | while(c= *str++) | ~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:257:9: note: place parentheses around the assignment to silence this warning 257 | while(c= *str++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:257:9: note: use '==' to turn this assignment into an equality comparison 257 | while(c= *str++) | ^ | == /var/tmp/work/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] 472 | while(slpold=slp) | ~~~~~~^~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:472:14: note: place parentheses around the assignment to silence this warning 472 | while(slpold=slp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:472:14: note: use '==' to turn this assignment into an equality comparison 472 | while(slpold=slp) | ^ | == /var/tmp/work/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] 522 | if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:522:11: note: place parentheses around the assignment to silence this warning 522 | if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:522:11: note: use '==' to turn this assignment into an equality comparison 522 | if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) | ^ | == /var/tmp/work/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] 589 | if(tt=term(lexp,SH_NL)) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:589:8: note: place parentheses around the assignment to silence this warning 589 | if(tt=term(lexp,SH_NL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:589:8: note: use '==' to turn this assignment into an equality comparison 589 | if(tt=term(lexp,SH_NL)) | ^ | == /var/tmp/work/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] 823 | while(cp= *argv++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:823:12: note: place parentheses around the assignment to silence this warning 823 | while(cp= *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:823:12: note: use '==' to turn this assignment into an equality comparison 823 | while(cp= *argv++) | ^ | == /var/tmp/work/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] 878 | for(cp=(char*)&argv[nargs]; sp= *old++; cp++) | ~~^~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:878:34: note: place parentheses around the assignment to silence this warning 878 | for(cp=(char*)&argv[nargs]; sp= *old++; cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:878:34: note: use '==' to turn this assignment into an equality comparison 878 | for(cp=(char*)&argv[nargs]; sp= *old++; cp++) | ^ | == /var/tmp/work/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] 995 | if(aq=ac->comarg) | ~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:995:9: note: place parentheses around the assignment to silence this warning 995 | if(aq=ac->comarg) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:995:9: note: use '==' to turn this assignment into an equality comparison 995 | if(aq=ac->comarg) | ^ | == /var/tmp/work/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] 1323 | if(tok=sh_lex(lexp)) | ~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1323:9: note: place parentheses around the assignment to silence this warning 1323 | if(tok=sh_lex(lexp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1323:9: note: use '==' to turn this assignment into an equality comparison 1323 | if(tok=sh_lex(lexp)) | ^ | == /var/tmp/work/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] 1363 | if(io=inout(lexp,io,0)) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1363:7: note: place parentheses around the assignment to silence this warning 1363 | if(io=inout(lexp,io,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1363:7: note: use '==' to turn this assignment into an equality comparison 1363 | if(io=inout(lexp,io,0)) | ^ | == /var/tmp/work/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] 1725 | if(token=sh_lex(lexp)) | ~~~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1725:10: note: place parentheses around the assignment to silence this warning 1725 | if(token=sh_lex(lexp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/parse.c:1725:10: note: use '==' to turn this assignment into an equality comparison 1725 | if(token=sh_lex(lexp)) | ^ | == 15 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:29: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 163 | for(ev=envp; cp= *ev; ev++) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:163:17: note: place parentheses around the assignment to silence this warning 163 | for(ev=envp; cp= *ev; ev++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:163:17: note: use '==' to turn this assignment into an equality comparison 163 | for(ev=envp; cp= *ev; ev++) | ^ | == /var/tmp/work/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] 167 | for(av=avlast; cp= *av; av++,nlast++) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:167:19: note: place parentheses around the assignment to silence this warning 167 | for(av=avlast; cp= *av; av++,nlast++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:167:19: note: use '==' to turn this assignment into an equality comparison 167 | for(av=avlast; cp= *av; av++,nlast++) | ^ | == /var/tmp/work/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] 191 | for(xv=avlast; cp= *xv; xv++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:191:21: note: place parentheses around the assignment to silence this warning 191 | for(xv=avlast; cp= *xv; xv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:191:21: note: use '==' to turn this assignment into an equality comparison 191 | for(xv=avlast; cp= *xv; xv++) | ^ | == /var/tmp/work/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] 263 | if(cp=getcwd(NIL(char*),0)) | ~~^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:263:10: note: place parentheses around the assignment to silence this warning 263 | if(cp=getcwd(NIL(char*),0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:263:10: note: use '==' to turn this assignment into an equality comparison 263 | if(cp=getcwd(NIL(char*),0)) | ^ | == /var/tmp/work/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] 463 | if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:463:8: note: place parentheses around the assignment to silence this warning 463 | if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:463:8: note: use '==' to turn this assignment into an equality comparison 463 | if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) | ^ | == /var/tmp/work/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] 473 | if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:473:8: note: place parentheses around the assignment to silence this warning 473 | if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:473:8: note: use '==' to turn this assignment into an equality comparison 473 | if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) | ^ | == /var/tmp/work/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] 723 | if(np=nv_search(name,shp->track_tree,NV_ADD)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:723:8: note: place parentheses around the assignment to silence this warning 723 | if(np=nv_search(name,shp->track_tree,NV_ADD)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:723:8: note: use '==' to turn this assignment into an equality comparison 723 | if(np=nv_search(name,shp->track_tree,NV_ADD)) | ^ | == /var/tmp/work/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] 748 | while(oldpp=pp) | ~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:748:14: note: place parentheses around the assignment to silence this warning 748 | while(oldpp=pp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:748:14: note: use '==' to turn this assignment into an equality comparison 748 | while(oldpp=pp) | ^ | == /var/tmp/work/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] 781 | while(bp = oldpp->blib) | ~~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:781:13: note: place parentheses around the assignment to silence this warning 781 | while(bp = oldpp->blib) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:781:13: note: use '==' to turn this assignment into an equality comparison 781 | while(bp = oldpp->blib) | ^ | == /var/tmp/work/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] 786 | if(fp = strchr(bp, ':')) | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:786:11: note: place parentheses around the assignment to silence this warning 786 | if(fp = strchr(bp, ':')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:786:11: note: use '==' to turn this assignment into an equality comparison 786 | if(fp = strchr(bp, ':')) | ^ | == /var/tmp/work/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] 810 | if(cp = strrchr(stakptr(m),'/')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:810:11: note: place parentheses around the assignment to silence this warning 810 | if(cp = strrchr(stakptr(m),'/')) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:810:11: note: use '==' to turn this assignment into an equality comparison 810 | if(cp = strrchr(stakptr(m),'/')) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:815:25: error: call to undeclared function 'dlllook'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | (addr=(Shbltin_f)dlllook((void*)0,stakptr(n))) && | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:815:14: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] 815 | (addr=(Shbltin_f)dlllook((void*)0,stakptr(n))) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:15: error: call to undeclared function 'dllplugin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 826 | if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 826 | if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:13: note: place parentheses around the assignment to silence this warning 826 | if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:13: note: use '==' to turn this assignment into an equality comparison 826 | if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:73: error: use of undeclared identifier 'RTLD_LAZY' 826 | if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) | ^ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:850:14: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] 850 | (addr=(Shbltin_f)dlllook(dll,stakptr(n))) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/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] 1025 | if(libpath=pp) | ~~~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1025:13: note: place parentheses around the assignment to silence this warning 1025 | if(libpath=pp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1025:13: note: use '==' to turn this assignment into an equality comparison 1025 | if(libpath=pp) | ^ | == /var/tmp/work/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] 1098 | if(libenv = path_lib(shp,libpath,path)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1098:14: note: place parentheses around the assignment to silence this warning 1098 | if(libenv = path_lib(shp,libpath,path)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1098:14: note: use '==' to turn this assignment into an equality comparison 1098 | if(libenv = path_lib(shp,libpath,path)) | ^ | == /var/tmp/work/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] 1120 | while (s = *xp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1120:12: note: place parentheses around the assignment to silence this warning 1120 | while (s = *xp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1120:12: note: use '==' to turn this assignment into an equality comparison 1120 | while (s = *xp++) | ^ | == /var/tmp/work/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] 1272 | if(sp=fcfile()) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1272:7: note: place parentheses around the assignment to silence this warning 1272 | if(sp=fcfile()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1272:7: note: use '==' to turn this assignment into an equality comparison 1272 | if(sp=fcfile()) | ^ | == /var/tmp/work/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] 1622 | if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1622:8: note: place parentheses around the assignment to silence this warning 1622 | if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1622:8: note: use '==' to turn this assignment into an equality comparison 1622 | if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) | ^ | == /var/tmp/work/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] 1680 | for(pq=pp;pq=pq->next;) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1680:15: note: place parentheses around the assignment to silence this warning 1680 | for(pq=pp;pq=pq->next;) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:1680:15: note: use '==' to turn this assignment into an equality comparison 1680 | for(pq=pp;pq=pq->next;) | ^ | == 41 warnings and 3 errors generated. mamake [cmd/ksh93]: *** exit code 1 making path.o + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c /var/tmp/work/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] 100 | if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:100:9: note: place parentheses around the assignment to silence this warning 100 | if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:100:9: note: use '==' to turn this assignment into an equality comparison 100 | if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:200:19: warning: left operand of comma operator has no effect [-Wunused-value] 200 | int c = mbsize(sp); | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 248 | while(c= *sp) | ~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:248:10: note: place parentheses around the assignment to silence this warning 248 | while(c= *sp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:248:10: note: use '==' to turn this assignment into an equality comparison 248 | while(c= *sp) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:252:31: warning: left operand of comma operator has no effect [-Wunused-value] 252 | if(mbwide() && (len=mbsize(sp))>1) | ^~ /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' 200 | #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) | ^ /var/tmp/work/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] 283 | for(; c= *((unsigned char*)str1); str1++,str2++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:283:9: note: place parentheses around the assignment to silence this warning 283 | for(; c= *((unsigned char*)str1); str1++,str2++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:283:9: note: use '==' to turn this assignment into an equality comparison 283 | for(; c= *((unsigned char*)str1); str1++,str2++) | ^ | == /var/tmp/work/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] 312 | while(c=mbchar(cp)) | ~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:312:9: note: place parentheses around the assignment to silence this warning 312 | while(c=mbchar(cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:312:9: note: use '==' to turn this assignment into an equality comparison 312 | while(c=mbchar(cp)) | ^ | == /var/tmp/work/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] 375 | if(c = --cp - string) | ~~^~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:375:8: note: place parentheses around the assignment to silence this warning 375 | if(c = --cp - string) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:375:8: note: use '==' to turn this assignment into an equality comparison 375 | if(c = --cp - string) | ^ | == /var/tmp/work/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] 524 | while (c = mbchar(cp)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:524:13: note: place parentheses around the assignment to silence this warning 524 | while (c = mbchar(cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:524:13: note: use '==' to turn this assignment into an equality comparison 524 | while (c = mbchar(cp)) | ^ | == /var/tmp/work/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] 604 | while (c = mbchar(cp)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:604:13: note: place parentheses around the assignment to silence this warning 604 | while (c = mbchar(cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:604:13: note: use '==' to turn this assignment into an equality comparison 604 | while (c = mbchar(cp)) | ^ | == /var/tmp/work/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] 638 | else if (n = fold) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:638:14: note: place parentheses around the assignment to silence this warning 638 | else if (n = fold) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:638:14: note: use '==' to turn this assignment into an equality comparison 638 | else if (n = fold) | ^ | == /var/tmp/work/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] 641 | while (c = mbchar(cp)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:641:13: note: place parentheses around the assignment to silence this warning 641 | while (c = mbchar(cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:641:13: note: use '==' to turn this assignment into an equality comparison 641 | while (c = mbchar(cp)) | ^ | == /var/tmp/work/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] 673 | while(c = mbchar(cp)) | ~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:673:11: note: place parentheses around the assignment to silence this warning 673 | while(c = mbchar(cp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/string.c:673:11: note: use '==' to turn this assignment into an equality comparison 673 | while(c = mbchar(cp)) | ^ | == 12 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c /var/tmp/work/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] 187 | while(c = *cp++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:187:10: note: place parentheses around the assignment to silence this warning 187 | while(c = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:187:10: note: use '==' to turn this assignment into an equality comparison 187 | while(c = *cp++) | ^ | == /var/tmp/work/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] 244 | if(node.flag = c) | ~~~~~~~~~~^~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:244:17: note: place parentheses around the assignment to silence this warning 244 | if(node.flag = c) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:244:17: note: use '==' to turn this assignment into an equality comparison 244 | if(node.flag = c) | ^ | == /var/tmp/work/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] 865 | if(vp->errmsg.value = lvalue.value) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:865:25: note: place parentheses around the assignment to silence this warning 865 | if(vp->errmsg.value = lvalue.value) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:865:25: note: use '==' to turn this assignment into an equality comparison 865 | if(vp->errmsg.value = lvalue.value) | ^ | == /var/tmp/work/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] 960 | if(offset=staktell()) | ~~~~~~^~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:960:11: note: place parentheses around the assignment to silence this warning 960 | if(offset=staktell()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/streval.c:960:11: note: use '==' to turn this assignment into an equality comparison 960 | if(offset=staktell()) | ^ | == 4 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:30: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ /var/tmp/work/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] 145 | if(off = sftell(sfstdout)) | ~~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:145:11: note: place parentheses around the assignment to silence this warning 145 | if(off = sftell(sfstdout)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:145:11: note: use '==' to turn this assignment into an equality comparison 145 | if(off = sftell(sfstdout)) | ^ | == /var/tmp/work/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] 193 | if(pid = sh_fork(shp,FSHOWME,NIL(int*))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:193:9: note: place parentheses around the assignment to silence this warning 193 | if(pid = sh_fork(shp,FSHOWME,NIL(int*))) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:193:9: note: use '==' to turn this assignment into an equality comparison 193 | if(pid = sh_fork(shp,FSHOWME,NIL(int*))) | ^ | == /var/tmp/work/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] 282 | while(mp=mpnext) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:282:11: note: place parentheses around the assignment to silence this warning 282 | while(mp=mpnext) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:282:11: note: use '==' to turn this assignment into an equality comparison 282 | while(mp=mpnext) | ^ | == /var/tmp/work/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] 487 | if(argsav = sh_arguse(shp)) | ~~~~~~~^~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:487:12: note: place parentheses around the assignment to silence this warning 487 | if(argsav = sh_arguse(shp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/subshell.c:487:12: note: use '==' to turn this assignment into an equality comparison 487 | if(argsav = sh_arguse(shp)) | ^ | == 25 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c /var/tmp/work/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] 234 | while(cp = *argv) | ~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:234:11: note: place parentheses around the assignment to silence this warning 234 | while(cp = *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:234:11: note: use '==' to turn this assignment into an equality comparison 234 | while(cp = *argv) | ^ | == /var/tmp/work/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] 239 | while(cp = *argv++) | ~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:239:12: note: place parentheses around the assignment to silence this warning 239 | while(cp = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/tdump.c:239:12: note: use '==' to turn this assignment into an equality comparison 239 | while(cp = *argv++) | ^ | == 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c /var/tmp/work/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] 189 | if(tp=tpfree) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c:189:7: note: place parentheses around the assignment to silence this warning 189 | if(tp=tpfree) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/timers.c:189:7: note: use '==' to turn this assignment into an equality comparison 189 | if(tp=tpfree) | ^ | == 1 warning generated. + cc -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c /var/tmp/work/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] 245 | if(iop->iodelim = r_string(shp->stk)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:245:19: note: place parentheses around the assignment to silence this warning 245 | if(iop->iodelim = r_string(shp->stk)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:245:19: note: use '==' to turn this assignment into an equality comparison 245 | if(iop->iodelim = r_string(shp->stk)) | ^ | == /var/tmp/work/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] 281 | else if(com->comarg = (struct argnod*)r_comlist(shp)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:281:22: note: place parentheses around the assignment to silence this warning 281 | else if(com->comarg = (struct argnod*)r_comlist(shp)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:281:22: note: use '==' to turn this assignment into an equality comparison 281 | else if(com->comarg = (struct argnod*)r_comlist(shp)) | ^ | == /var/tmp/work/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] 311 | while(*argv++ = r_string(shp->stk)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:311:17: note: place parentheses around the assignment to silence this warning 311 | while(*argv++ = r_string(shp->stk)); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/trestore.c:311:17: note: use '==' to turn this assignment into an equality comparison 311 | while(*argv++ = r_string(shp->stk)); | ^ | == 3 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/waitevent.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c /var/tmp/work/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] 126 | if(subdup=shp->subdup) for(i=0; i < 10; i++) | ~~~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:126:11: note: place parentheses around the assignment to silence this warning 126 | if(subdup=shp->subdup) for(i=0; i < 10; i++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:126:11: note: use '==' to turn this assignment into an equality comparison 126 | if(subdup=shp->subdup) for(i=0; i < 10; i++) | ^ | == /var/tmp/work/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] 199 | if(hr=t/60) | ~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:199:7: note: place parentheses around the assignment to silence this warning 199 | if(hr=t/60) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:199:7: note: use '==' to turn this assignment into an equality comparison 199 | if(hr=t/60) | ^ | == /var/tmp/work/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] 213 | for(first=format ; c= *format; format++) | ~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:213:22: note: place parentheses around the assignment to silence this warning 213 | for(first=format ; c= *format; format++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:213:22: note: use '==' to turn this assignment into an equality comparison 213 | for(first=format ; c= *format; format++) | ^ | == /var/tmp/work/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] 232 | if(d=tm[0]) | ~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:232:8: note: place parentheses around the assignment to silence this warning 232 | if(d=tm[0]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:232:8: note: use '==' to turn this assignment into an equality comparison 232 | if(d=tm[0]) | ^ | == /var/tmp/work/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] 472 | if(sp = sh_getscope(level,SEEK_SET)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:472:8: note: place parentheses around the assignment to silence this warning 472 | if(sp = sh_getscope(level,SEEK_SET)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:472:8: note: use '==' to turn this assignment into an equality comparison 472 | if(sp = sh_getscope(level,SEEK_SET)) | ^ | == /var/tmp/work/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] 528 | while(cp = *argv++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:528:11: note: place parentheses around the assignment to silence this warning 528 | while(cp = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:528:11: note: use '==' to turn this assignment into an equality comparison 528 | while(cp = *argv++) | ^ | == /var/tmp/work/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] 597 | if(traceon=sh_isoption(SH_XTRACE)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:597:14: note: place parentheses around the assignment to silence this warning 597 | if(traceon=sh_isoption(SH_XTRACE)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:597:14: note: use '==' to turn this assignment into an equality comparison 597 | if(traceon=sh_isoption(SH_XTRACE)) | ^ | == /var/tmp/work/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] 643 | while(cp = *++argv) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:643:11: note: place parentheses around the assignment to silence this warning 643 | while(cp = *++argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:643:11: note: use '==' to turn this assignment into an equality comparison 643 | while(cp = *++argv) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:801:3: warning: expression result unused [-Wunused-value] 801 | (Namval_t*)dtinsert(shp->inpool,np); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/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] 877 | if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:877:8: note: place parentheses around the assignment to silence this warning 877 | if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:877:8: note: use '==' to turn this assignment into an equality comparison 877 | if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) | ^ | == /var/tmp/work/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] 1043 | if(mp = sh_fsearch(shp,com[0],0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1043:11: note: place parentheses around the assignment to silence this warning 1043 | if(mp = sh_fsearch(shp,com[0],0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1043:11: note: use '==' to turn this assignment into an equality comparison 1043 | if(mp = sh_fsearch(shp,com[0],0)) | ^ | == /var/tmp/work/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] 1074 | if(io=t->tre.treio) | ~~^~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1074:10: note: place parentheses around the assignment to silence this warning 1074 | if(io=t->tre.treio) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1074:10: note: use '==' to turn this assignment into an equality comparison 1074 | if(io=t->tre.treio) | ^ | == /var/tmp/work/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] 1079 | for(argv=com+1; cp= *argv; argv++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1079:24: note: place parentheses around the assignment to silence this warning 1079 | for(argv=com+1; cp= *argv; argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1079:24: note: use '==' to turn this assignment into an equality comparison 1079 | for(argv=com+1; cp= *argv; argv++) | ^ | == /var/tmp/work/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] 1136 | if(shp->envlist = argp = t->com.comset) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1136:20: note: place parentheses around the assignment to silence this warning 1136 | if(shp->envlist = argp = t->com.comset) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1136:20: note: use '==' to turn this assignment into an equality comparison 1136 | if(shp->envlist = argp = t->com.comset) | ^ | == /var/tmp/work/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] 1248 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1248:12: note: place parentheses around the assignment to silence this warning 1248 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1248:12: note: use '==' to turn this assignment into an equality comparison 1248 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | == /var/tmp/work/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] 1707 | if(job.parent=parent) | ~~~~~~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1707:17: note: place parentheses around the assignment to silence this warning 1707 | if(job.parent=parent) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1707:17: note: use '==' to turn this assignment into an equality comparison 1707 | if(job.parent=parent) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:1847:22: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 1847 | while((parent = vfork()) < 0) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ /var/tmp/work/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] 2158 | if(job.waitall = waitall) | ~~~~~~~~~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2158:19: note: place parentheses around the assignment to silence this warning 2158 | if(job.waitall = waitall) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2158:19: note: use '==' to turn this assignment into an equality comparison 2158 | if(job.waitall = waitall) | ^ | == /var/tmp/work/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] 2304 | while(type = *cp++) | ~~~~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2304:18: note: place parentheses around the assignment to silence this warning 2304 | while(type = *cp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2304:18: note: use '==' to turn this assignment into an equality comparison 2304 | while(type = *cp++) | ^ | == /var/tmp/work/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] 2324 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2324:12: note: place parentheses around the assignment to silence this warning 2324 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2324:12: note: use '==' to turn this assignment into an equality comparison 2324 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | == /var/tmp/work/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] 2489 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2489:11: note: place parentheses around the assignment to silence this warning 2489 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2489:11: note: use '==' to turn this assignment into an equality comparison 2489 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | == /var/tmp/work/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] 2527 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2527:11: note: place parentheses around the assignment to silence this warning 2527 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2527:11: note: use '==' to turn this assignment into an equality comparison 2527 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | == /var/tmp/work/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] 2847 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2847:12: note: place parentheses around the assignment to silence this warning 2847 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2847:12: note: use '==' to turn this assignment into an equality comparison 2847 | if(trap=shp->st.trap[SH_DEBUGTRAP]) | ^ | == /var/tmp/work/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] 2994 | while(c = *s++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2994:10: note: place parentheses around the assignment to silence this warning 2994 | while(c = *s++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:2994:10: note: use '==' to turn this assignment into an equality comparison 2994 | while(c = *s++) | ^ | == /var/tmp/work/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] 3038 | while(cp = *argv++) | ~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3038:13: note: place parentheses around the assignment to silence this warning 3038 | while(cp = *argv++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3038:13: note: use '==' to turn this assignment into an equality comparison 3038 | while(cp = *argv++) | ^ | == /var/tmp/work/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] 3305 | while(mp= *nr++) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3305:10: note: place parentheses around the assignment to silence this warning 3305 | while(mp= *nr++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3305:10: note: use '==' to turn this assignment into an equality comparison 3305 | while(mp= *nr++) | ^ | == /var/tmp/work/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] 3412 | if(nref=fp->nref) | ~~~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3412:11: note: place parentheses around the assignment to silence this warning 3412 | if(nref=fp->nref) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/xec.c:3412:11: note: use '==' to turn this assignment into an equality comparison 3412 | if(nref=fp->nref) | ^ | == 27 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c /var/tmp/work/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] 138 | if(vp = ep->freelist) | ~~~^~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:138:9: note: place parentheses around the assignment to silence this warning 138 | if(vp = ep->freelist) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:138:9: note: use '==' to turn this assignment into an equality comparison 138 | if(vp = ep->freelist) | ^ | == /var/tmp/work/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] 140 | else if(vp = newof((Evar_t*)0,Evar_t,2,0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:140:14: note: place parentheses around the assignment to silence this warning 140 | else if(vp = newof((Evar_t*)0,Evar_t,2,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:140:14: note: use '==' to turn this assignment into an equality comparison 140 | else if(vp = newof((Evar_t*)0,Evar_t,2,0)) | ^ | == /var/tmp/work/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] 199 | if(env=envp) | ~~~^~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:199:8: note: place parentheses around the assignment to silence this warning 199 | if(env=envp) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/env.c:199:8: note: use '==' to turn this assignment into an equality comparison 199 | if(env=envp) | ^ | == 3 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/limits.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/msg.c + iffe -v -c 'cc -O -lm ' ref -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include -ldll -last -liconv -liconv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a -last -liconv -liconv -lcmd -lmd -lutil -last -liconv -liconv -last -liconv : run /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/features/math.sh /var/tmp/work/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 -lmd a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/libcoshell.a a library ... yes iffe: test: is -ldll a library ... no iffe: test: capture output of /var/tmp/work/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 ... 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 acos a library function ... yes iffe: test: is acosh a library function ... yes iffe: test: is asin a library function ... yes iffe: test: is asinh a library function ... yes iffe: test: is atan a library function ... yes iffe: test: is atan2 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 copysign a library function ... yes iffe: test: is cos a library function ... yes iffe: test: is cosh a library function ... yes iffe: test: is erf a library function ... yes iffe: test: is erfc a library function ... yes iffe: test: is exp a library function ... yes iffe: test: is exp2 a library function ... yes iffe: test: is expm1 a library function ... yes iffe: test: is fabs a library function ... yes iffe: test: is fdim a library function ... yes iffe: test: is finite a library function ... no iffe: test: is floor a library function ... yes iffe: test: is fma a library function ... yes iffe: test: is fmax a library function ... yes iffe: test: is fmin a library function ... yes iffe: test: is fmod a library function ... yes iffe: test: is fpclassify a library function ... yes iffe: test: is fpclass a library function ... no iffe: test: is hypot a library function ... yes iffe: test: is ilogb a library function ... yes iffe: test: is isfinite a library function ... yes iffe: test: is isgreater a library function ... yes iffe: test: is isgreaterequal a library function ... yes iffe: test: is isinf a library function ... yes iffe: test: is isinfinite a library function ... no iffe: test: is isless a library function ... yes iffe: test: is islessequal a library function ... yes iffe: test: is islessgreater a library function ... yes iffe: test: is isnan a library function ... yes iffe: test: is isnormal a library function ... yes iffe: test: is issubnormal a library function ... no iffe: test: is isunordered a library function ... yes iffe: test: is iszero a library function ... no iffe: test: is j0 a library function ... yes iffe: test: is j1 a library function ... yes iffe: test: is jn a library function ... yes iffe: test: is ldexp a library function ... yes iffe: test: is lgamma a library function ... yes iffe: test: is log a library function ... yes iffe: test: is log10 a library function ... yes iffe: test: is log1p a library function ... yes iffe: test: is log2 a library function ... yes iffe: test: is logb a library function ... yes iffe: test: is nearbyint a library function ... yes iffe: test: is nextafter a library function ... yes iffe: test: is nexttoward a library function ... yes iffe: test: is pow a library function ... yes iffe: test: is remainder a library function ... yes iffe: test: is rint a library function ... yes iffe: test: is round a library function ... yes iffe: test: is scalb a library function ... yes iffe: test: is scalbn a library function ... yes iffe: test: is signbit a library function ... yes iffe: test: is sin a library function ... yes iffe: test: is sinh a library function ... yes iffe: test: is sqrt a library function ... yes iffe: test: is tan a library function ... yes iffe: test: is tanh a library function ... yes iffe: test: is tgamma a library function ... yes iffe: test: is trunc a library function ... yes iffe: test: is y0 a library function ... yes iffe: test: is y1 a library function ... yes iffe: test: is yn a library function ... 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 data symbol ... yes iffe: test: is acosh a library data symbol ... yes iffe: test: is asin a library data symbol ... yes iffe: test: is asinh a library data symbol ... yes iffe: test: is atan a library data symbol ... yes iffe: test: is atan2 a library data symbol ... yes iffe: test: is atanh a library data symbol ... yes iffe: test: is cbrt a library data symbol ... yes iffe: test: is ceil a library data symbol ... yes iffe: test: is copysign a library data symbol ... yes iffe: test: is cos a library data symbol ... yes iffe: test: is cosh a library data symbol ... yes iffe: test: is erf a library data symbol ... yes iffe: test: is erfc a library data symbol ... yes iffe: test: is exp a library data symbol ... yes iffe: test: is exp2 a library data symbol ... yes iffe: test: is expm1 a library data symbol ... yes iffe: test: is fabs a library data symbol ... yes iffe: test: is fdim a library data symbol ... yes iffe: test: is floor a library data symbol ... yes iffe: test: is fma a library data symbol ... yes iffe: test: is fmax a library data symbol ... yes iffe: test: is fmin a library data symbol ... yes iffe: test: is fmod a library data symbol ... yes iffe: test: is fpclassify a library data symbol ... no iffe: test: is hypot a library data symbol ... yes iffe: test: is ilogb 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 ldexp a library data symbol ... yes iffe: test: is lgamma a library data symbol ... yes iffe: test: is log a library data symbol ... yes iffe: test: is log10 a library data symbol ... yes iffe: test: is log1p a library data symbol ... yes iffe: test: is log2 a library data symbol ... yes iffe: test: is logb a library data symbol ... yes iffe: test: is nearbyint a library data symbol ... yes iffe: test: is nextafter a library data symbol ... yes iffe: test: is nexttoward a library data symbol ... yes iffe: test: is pow a library data symbol ... yes iffe: test: is remainder a library data symbol ... yes iffe: test: is rint a library data symbol ... yes iffe: test: is round a library data symbol ... yes iffe: test: is scalb a library data symbol ... yes iffe: test: is scalbn a library data symbol ... yes iffe: test: is signbit a library data symbol ... no iffe: test: is sin a library data symbol ... yes iffe: test: is sinh a library data symbol ... yes iffe: test: is sqrt a library data symbol ... yes iffe: test: is tan a library data symbol ... yes iffe: test: is tanh a library data symbol ... yes iffe: test: is tgamma a library data symbol ... yes iffe: test: is trunc 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 acos a symbol that needs a prototype ... no iffe: test: is acosh a symbol that needs a prototype ... no iffe: test: is asin a symbol that needs a prototype ... no iffe: test: is asinh a symbol that needs a prototype ... no iffe: test: is atan a symbol that needs a prototype ... no iffe: test: is atan2 a symbol that needs a prototype ... no iffe: test: is atanh a symbol that needs a prototype ... no iffe: test: is cbrt a symbol that needs a prototype ... no iffe: test: is ceil a symbol that needs a prototype ... no iffe: test: is copysign a symbol that needs a prototype ... no iffe: test: is cos a symbol that needs a prototype ... no iffe: test: is cosh a symbol that needs a prototype ... no iffe: test: is erf a symbol that needs a prototype ... no iffe: test: is erfc a symbol that needs a prototype ... no iffe: test: is exp a symbol that needs a prototype ... no iffe: test: is exp2 a symbol that needs a prototype ... no iffe: test: is expm1 a symbol that needs a prototype ... no iffe: test: is fabs a symbol that needs a prototype ... no iffe: test: is fdim a symbol that needs a prototype ... no iffe: test: is floor a symbol that needs a prototype ... no iffe: test: is fma a symbol that needs a prototype ... no iffe: test: is fmax a symbol that needs a prototype ... no iffe: test: is fmin a symbol that needs a prototype ... no iffe: test: is fmod a symbol that needs a prototype ... no iffe: test: is fpclassify a symbol that needs a prototype ... no iffe: test: is hypot a symbol that needs a prototype ... no iffe: test: is ilogb 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 ldexp a symbol that needs a prototype ... no iffe: test: is lgamma a symbol that needs a prototype ... no iffe: test: is log a symbol that needs a prototype ... no iffe: test: is log10 a symbol that needs a prototype ... no iffe: test: is log1p a symbol that needs a prototype ... no iffe: test: is log2 a symbol that needs a prototype ... no iffe: test: is logb a symbol that needs a prototype ... no iffe: test: is nearbyint a symbol that needs a prototype ... no iffe: test: is nextafter a symbol that needs a prototype ... no iffe: test: is nexttoward a symbol that needs a prototype ... no iffe: test: is pow a symbol that needs a prototype ... no iffe: test: is remainder a symbol that needs a prototype ... no iffe: test: is rint a symbol that needs a prototype ... no iffe: test: is round a symbol that needs a prototype ... no iffe: test: is scalb a symbol that needs a prototype ... no iffe: test: is scalbn a symbol that needs a prototype ... no iffe: test: is signbit a symbol that needs a prototype ... no iffe: test: is sin a symbol that needs a prototype ... no iffe: test: is sinh a symbol that needs a prototype ... no iffe: test: is sqrt a symbol that needs a prototype ... no iffe: test: is tan a symbol that needs a prototype ... no iffe: test: is tanh a symbol that needs a prototype ... no iffe: test: is tgamma a symbol that needs a prototype ... no iffe: test: is trunc 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 acos a macro ... no iffe: test: is acosh a macro ... no iffe: test: is asin a macro ... no iffe: test: is asinh a macro ... no iffe: test: is atan a macro ... no iffe: test: is atan2 a macro ... no iffe: test: is atanh a macro ... no iffe: test: is cbrt a macro ... no iffe: test: is ceil a macro ... no iffe: test: is copysign a macro ... no iffe: test: is cos a macro ... no iffe: test: is cosh a macro ... no iffe: test: is erf a macro ... no iffe: test: is erfc a macro ... no iffe: test: is exp a macro ... no iffe: test: is exp2 a macro ... no iffe: test: is expm1 a macro ... no iffe: test: is fabs a macro ... no iffe: test: is fdim a macro ... no iffe: test: is floor a macro ... no iffe: test: is fma a macro ... no iffe: test: is fmax a macro ... no iffe: test: is fmin a macro ... no iffe: test: is fmod a macro ... no iffe: test: is fpclassify a macro ... yes iffe: test: is hypot a macro ... no iffe: test: is ilogb 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 ldexp a macro ... no iffe: test: is lgamma a macro ... no iffe: test: is log a macro ... no iffe: test: is log10 a macro ... no iffe: test: is log1p a macro ... no iffe: test: is log2 a macro ... no iffe: test: is logb a macro ... no iffe: test: is nearbyint a macro ... no iffe: test: is nextafter a macro ... no iffe: test: is nexttoward a macro ... no iffe: test: is pow a macro ... no iffe: test: is remainder a macro ... no iffe: test: is rint a macro ... no iffe: test: is round a macro ... no iffe: test: is scalb a macro ... no iffe: test: is scalbn a macro ... no iffe: test: is signbit a macro ... yes iffe: test: is sin a macro ... no iffe: test: is sinh a macro ... no iffe: test: is sqrt a macro ... no iffe: test: is tan a macro ... no iffe: test: is tanh a macro ... no iffe: test: is tgamma a macro ... no iffe: test: is trunc 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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/features/math.sh ... yes + cc -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/strdata.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/testops.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/keywords.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/options.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/signals.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/aliases.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/builtins.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/variables.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -DSHOPT_BRACEPAT -DSHOPT_TYPEDEF -DSHOPT_NAMESPACE -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_PFSH -c /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/data/lexstates.c + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c /var/tmp/work/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] 387 | while (i = *kptr++) | ~~^~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:387:14: note: place parentheses around the assignment to silence this warning 387 | while (i = *kptr++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:387:14: note: use '==' to turn this assignment into an equality comparison 387 | while (i = *kptr++) | ^ | == /var/tmp/work/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] 767 | while (c= *sp++) | ~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:767:10: note: place parentheses around the assignment to silence this warning 767 | while (c= *sp++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/emacs.c:767:10: note: use '==' to turn this assignment into an equality comparison 767 | while (c= *sp++) | ^ | == 2 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c /var/tmp/work/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] 741 | while( c=ed_getchar(vp->ed,-1) ) | ~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:741:10: note: place parentheses around the assignment to silence this warning 741 | while( c=ed_getchar(vp->ed,-1) ) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:741:10: note: use '==' to turn this assignment into an equality comparison 741 | while( c=ed_getchar(vp->ed,-1) ) | ^ | == /var/tmp/work/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] 823 | while(c = *p++) | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:823:12: note: place parentheses around the assignment to silence this warning 823 | while(c = *p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:823:12: note: use '==' to turn this assignment into an equality comparison 823 | while(c = *p++) | ^ | == /var/tmp/work/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] 2493 | while(i = *p++); | ~~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2493:12: note: place parentheses around the assignment to silence this warning 2493 | while(i = *p++); | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2493:12: note: use '==' to turn this assignment into an equality comparison 2493 | while(i = *p++); | ^ | == /var/tmp/work/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] 2616 | while(c= *p++) | ~^~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2616:11: note: place parentheses around the assignment to silence this warning 2616 | while(c= *p++) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2616:11: note: use '==' to turn this assignment into an equality comparison 2616 | while(c= *p++) | ^ | == /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/vi.c:2704:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2704 | else if( islower(c) ) | ^ 5 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c /var/tmp/work/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] 182 | if(off = staktell()) | ~~~~^~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:182:9: note: place parentheses around the assignment to silence this warning 182 | if(off = staktell()) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:182:9: note: use '==' to turn this assignment into an equality comparison 182 | if(off = staktell()) | ^ | == /var/tmp/work/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] 544 | if(cc = strchr(modifiers, c)) | ~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:544:10: note: place parentheses around the assignment to silence this warning 544 | if(cc = strchr(modifiers, c)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:544:10: note: use '==' to turn this assignment into an equality comparison 544 | if(cc = strchr(modifiers, c)) | ^ | == /var/tmp/work/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] 613 | if(cc = strstr(str, sb.str[0])) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:613:12: note: place parentheses around the assignment to silence this warning 613 | if(cc = strstr(str, sb.str[0])) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/edit/hexpand.c:613:12: note: use '==' to turn this assignment into an equality comparison 613 | if(cc = strstr(str, sb.str[0])) | ^ | == 3 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c /var/tmp/work/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] 79 | while(n = optget(argv, usage )) switch(n) | ~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:79:10: note: place parentheses around the assignment to silence this warning 79 | while(n = optget(argv, usage )) switch(n) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:79:10: note: use '==' to turn this assignment into an equality comparison 79 | while(n = optget(argv, usage )) switch(n) | ^ | == /var/tmp/work/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] 103 | if(cp= *argv) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:103:7: note: place parentheses around the assignment to silence this warning 103 | if(cp= *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:103:7: note: use '==' to turn this assignment into an equality comparison 103 | if(cp= *argv) | ^ | == /var/tmp/work/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] 110 | if(cp= *argv) | ~~^~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:110:7: note: place parentheses around the assignment to silence this warning 110 | if(cp= *argv) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:110:7: note: use '==' to turn this assignment into an equality comparison 110 | if(cp= *argv) | ^ | == /var/tmp/work/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] 138 | if(t = (Shnode_t*)sh_parse(shp,in,0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:138:8: note: place parentheses around the assignment to silence this warning 138 | if(t = (Shnode_t*)sh_parse(shp,in,0)) | ^ | ( ) /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/shcomp.c:138:8: note: use '==' to turn this assignment into an equality comparison 138 | if(t = (Shnode_t*)sh_parse(shp,in,0)) | ^ | == 4 warnings generated. + cc -O -I. -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include -I/var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast -DERROR_CONTEXT_T=Error_context_t -D_API_ast=20100309 -D_PACKAGE_ast -c /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:27:9: warning: 'S_ISBLK' macro redefined [-Wmacro-redefined] 27 | #define S_ISBLK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:249:9: note: previous definition is here 249 | #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* block special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:28:9: warning: 'S_ISCHR' macro redefined [-Wmacro-redefined] 28 | #define S_ISCHR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:250:9: note: previous definition is here 250 | #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) /* char special */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:29:9: warning: 'S_ISDIR' macro redefined [-Wmacro-redefined] 29 | #define S_ISDIR(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:9: note: previous definition is here 251 | #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:30:9: warning: 'S_ISFIFO' macro redefined [-Wmacro-redefined] 30 | #define S_ISFIFO(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:252:9: note: previous definition is here 252 | #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo or socket */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:31:9: warning: 'S_ISLNK' macro redefined [-Wmacro-redefined] 31 | #define S_ISLNK(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:254:9: note: previous definition is here 254 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:32:9: warning: 'S_ISREG' macro redefined [-Wmacro-redefined] 32 | #define S_ISREG(m) 0 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:253:9: note: previous definition is here 253 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:35:9: warning: 'S_ISUID' macro redefined [-Wmacro-redefined] 35 | #define S_ISUID 04000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:64:9: note: previous definition is here 64 | #define S_ISUID 0004000 /* [XSI] set user id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:36:9: warning: 'S_ISGID' macro redefined [-Wmacro-redefined] 36 | #define S_ISGID 02000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:65:9: note: previous definition is here 65 | #define S_ISGID 0002000 /* [XSI] set group id on execution */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:37:9: warning: 'S_ISVTX' macro redefined [-Wmacro-redefined] 37 | #define S_ISVTX 01000 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:66:9: note: previous definition is here 66 | #define S_ISVTX 0001000 /* [XSI] directory restrcted delete */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:38:9: warning: 'S_IRUSR' macro redefined [-Wmacro-redefined] 38 | #define S_IRUSR 00400 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:50:9: note: previous definition is here 50 | #define S_IRUSR 0000400 /* [XSI] R for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:39:9: warning: 'S_IWUSR' macro redefined [-Wmacro-redefined] 39 | #define S_IWUSR 00200 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:51:9: note: previous definition is here 51 | #define S_IWUSR 0000200 /* [XSI] W for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:40:9: warning: 'S_IXUSR' macro redefined [-Wmacro-redefined] 40 | #define S_IXUSR 00100 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:52:9: note: previous definition is here 52 | #define S_IXUSR 0000100 /* [XSI] X for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:41:9: warning: 'S_IRGRP' macro redefined [-Wmacro-redefined] 41 | #define S_IRGRP 00040 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:55:9: note: previous definition is here 55 | #define S_IRGRP 0000040 /* [XSI] R for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:42:9: warning: 'S_IWGRP' macro redefined [-Wmacro-redefined] 42 | #define S_IWGRP 00020 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:56:9: note: previous definition is here 56 | #define S_IWGRP 0000020 /* [XSI] W for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:43:9: warning: 'S_IXGRP' macro redefined [-Wmacro-redefined] 43 | #define S_IXGRP 00010 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:57:9: note: previous definition is here 57 | #define S_IXGRP 0000010 /* [XSI] X for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:44:9: warning: 'S_IROTH' macro redefined [-Wmacro-redefined] 44 | #define S_IROTH 00004 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:60:9: note: previous definition is here 60 | #define S_IROTH 0000004 /* [XSI] R for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:45:9: warning: 'S_IWOTH' macro redefined [-Wmacro-redefined] 45 | #define S_IWOTH 00002 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:61:9: note: previous definition is here 61 | #define S_IWOTH 0000002 /* [XSI] W for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:46:9: warning: 'S_IXOTH' macro redefined [-Wmacro-redefined] 46 | #define S_IXOTH 00001 | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:62:9: note: previous definition is here 62 | #define S_IXOTH 0000001 /* [XSI] X for other */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:47:9: warning: 'S_IRWXU' macro redefined [-Wmacro-redefined] 47 | #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:49:9: note: previous definition is here 49 | #define S_IRWXU 0000700 /* [XSI] RWX mask for owner */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:48:9: warning: 'S_IRWXG' macro redefined [-Wmacro-redefined] 48 | #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:54:9: note: previous definition is here 54 | #define S_IRWXG 0000070 /* [XSI] RWX mask for group */ | ^ In file included from /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh/suid_exec.c:52: In file included from /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ls.h:44: /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/ast_mode.h:49:9: warning: 'S_IRWXO' macro redefined [-Wmacro-redefined] 49 | #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_s_ifmt.h:59:9: note: previous definition is here 59 | #define S_IRWXO 0000007 /* [XSI] RWX mask for other */ | ^ 21 warnings generated. + cc -O -lm -o suid_exec suid_exec.o -last -liconv -last -liconv ld: warning: -m is obsolete ld: warning: ignoring duplicate libraries: '-last', '-liconv' ld: library 'ast' not found 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 /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh.1 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man1/sh.1 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man1/sh.1 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man1/sh.1.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/sh.1 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man1/sh.1 + test '' = shell.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/shell.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/shell.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/shell.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/shell.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/shell.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/shell.3 + test '' = nval.3 + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/nval.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/nval.3 + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/nval.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/nval.3.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/nval.3 /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/man/man3/nval.3 + test '' = shell.req + /usr/bin/cmp -s shell.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/shell + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/shell /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/shell.old + true + /bin/cp shell.req /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/lib/lib/shell + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1982,author=dgk' /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include/nval.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/nval.h 1.61793.x + mv 1.61793.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/nval.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1982,author=dgk' /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include/shell.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/shell.h 1.61798.x + mv 1.61798.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/shell.h + proto -p -s -l /var/tmp/work/shells/ast-ksh/work/lib/package/ast.lic '-o since=1982,author=dgk' /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/include/history.h + cmp -s /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/history.h 1.61802.x + mv 1.61802.x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/include/ast/history.h + test '' = fun/dirs + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/fun/dirs /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/dirs + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/dirs /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/dirs.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/fun/dirs /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/dirs + chmod ugo+x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/dirs + test '' = fun/popd + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/fun/popd /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/popd + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/popd /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/popd.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/fun/popd /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/popd + chmod ugo+x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/popd + test '' = fun/pushd + /usr/bin/cmp -s /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/fun/pushd /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/pushd + /bin/mv /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/pushd /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/pushd.old + true + /bin/cp /var/tmp/work/shells/ast-ksh/work/src/cmd/ksh93/fun/pushd /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/pushd + chmod ugo+x /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64/fun/pushd mamake: *** exit code 1 making cmd/ksh93 package: make done at Tue Oct 27 12:27:21 UTC 2026 in /var/tmp/work/shells/ast-ksh/work/arch/darwin.arm64-64