===> Building for heirloom-sh-050706nb2
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   args.c
args.c:130:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                failed(argv[1],badopt);
                                               ^~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
args.c:139:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                if (eq(argv[0], "set") && any(wc, "sicrp"))
                                                ^~~~~
./defs.h:414:27: note: expanded from macro 'eq'
#define         eq(a, b)                (cf(a, b) == 0)
                                               ^
./defs.h:387:52: note: passing argument to parameter here
int cf(const unsigned char *, const unsigned char *);
                                                   ^
args.c:139:39: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                if (eq(argv[0], "set") && any(wc, "sicrp"))
                                                                  ^~~~~~~
./defs.h:385:39: note: passing argument to parameter here
int any(wchar_t, const unsigned char *);
                                      ^
args.c:140:22: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                        failed(argv[1], badopt);
                                                        ^~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
args.c:156:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                failed(argv[1],badopt);
                                               ^~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
args.c:178:17: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (!any(wc, "sicrp") && wc == *flagc) {
                                     ^~~~~~~
./defs.h:385:39: note: passing argument to parameter here
int any(wchar_t, const unsigned char *);
                                      ^
args.c:232:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (argblk = dolh)
            ~~~~~~~^~~~~~
args.c:232:13: note: place parentheses around the assignment to silence this warning
        if (argblk = dolh)
                   ^
            (            )
args.c:232:13: note: use '==' to turn this assignment into an equality comparison
        if (argblk = dolh)
                   ^
                   ==
args.c:252:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (argblk = blk)
            ~~~~~~~^~~~~
args.c:252:13: note: place parentheses around the assignment to silence this warning
        if (argblk = blk)
                   ^
            (           )
args.c:252:13: note: use '==' to turn this assignment into an equality comparison
        if (argblk = blk)
                   ^
                   ==
args.c:304:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (argblk = blk)
            ~~~~~~~^~~~~
args.c:304:13: note: place parentheses around the assignment to silence this warning
        if (argblk = blk)
                   ^
            (           )
args.c:304:13: note: use '==' to turn this assignment into an equality comparison
        if (argblk = blk)
                   ^
                   ==
args.c:336:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (argfor = clean_args(argfor))
               ~~~~~~~^~~~~~~~~~~~~~~~~~~~
args.c:336:16: note: place parentheses around the assignment to silence this warning
        while (argfor = clean_args(argfor))
                      ^
               (                          )
args.c:336:16: note: use '==' to turn this assignment into an equality comparison
        while (argfor = clean_args(argfor))
                      ^
                      ==
10 warnings generated.
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   blok.c
blok.c:134:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        error(nospace);
                              ^~~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
blok.c:142:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        error(nospace);
                              ^~~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
blok.c:149:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (reqd = (staktop-stakbot))
                    ~~~~~^~~~~~~~~~~~~~~~~~~
blok.c:149:12: note: place parentheses around the assignment to silence this warning
                if (reqd = (staktop-stakbot))
                         ^
                    (                       )
blok.c:149:12: note: use '==' to turn this assignment into an equality comparison
                if (reqd = (staktop-stakbot))
                         ^
                         ==
3 warnings generated.
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   bltin.c
bltin.c:94:16: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                failed(a1, notfound);
                                           ^~~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:172:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        failed(argv[0], restricted);
                                        ^~~~~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:192:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        failed(argv[0], restricted);
                                        ^~~~~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:201:16: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                             cf(a1, ".") == 0 ||
                                    ^~~
./defs.h:387:52: note: passing argument to parameter here
int cf(const unsigned char *, const unsigned char *);
                                                   ^
bltin.c:202:16: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                             cf(a1, "..") == 0 ||
                                    ^~~~
./defs.h:387:52: note: passing argument to parameter here
int cf(const unsigned char *, const unsigned char *);
                                                   ^
bltin.c:243:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                        failed(a1, emultihop);
                                                                   ^~~~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:247:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                        failed(a1, enotdir);
                                                                   ^~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:250:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                        failed(a1, enoent);
                                                                   ^~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:253:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                        failed(a1, eacces);
                                                                   ^~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:257:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                        failed(a1, enolink);
                                                                   ^~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:261:18: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                failed(a1, baddir);
                                                           ^~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:268:12: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                if (cf(nullstr, dir) &&
                                       ^~~~~~~
./defs.h:387:29: note: passing argument to parameter here
int cf(const unsigned char *, const unsigned char *);
                            ^
bltin.c:282:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                error(nulldir);
                                      ^~~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
bltin.c:284:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                error(nohome);
                                      ^~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
bltin.c:298:11: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                error(badshift);
                                      ^~~~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
bltin.c:312:19: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        failed(argv[0],mssgargn);
                                       ^~~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:359:13: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                error(badexport);
                                                      ^~~~~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
bltin.c:402:12: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                        error(badopt);
                                              ^~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
bltin.c:409:21: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                failed(*argv, notfound);
                                                              ^~~~~~~~
./defs.h:214:57: note: passing argument to parameter here
void failed(const unsigned char *, const unsigned char *);
                                                        ^
bltin.c:427:10: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        error(badreturn);
                              ^~~~~~~~~
./defs.h:215:33: note: passing argument to parameter here
void error(const unsigned char *);
                                ^
bltin.c:458:20: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        failure(argv[0],mssgargn);
                                        ^~~~~~~~
./defs.h:219:58: note: passing argument to parameter here
void failure(const unsigned char *, const unsigned char *);
                                                         ^
bltin.c:462:14: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                n = lookup("OPTIND");
                           ^~~~~~~~
./defs.h:320:38: note: passing argument to parameter here
struct namnod *lookup(unsigned char *);
                                     ^
bltin.c:474:14: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        assign(n, nullstr);
                                  ^~~~~~~
./defs.h:316:51: note: passing argument to parameter here
void assign(struct namnod *, const unsigned char *);
                                                  ^
bltin.c:485:14: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                n = lookup("OPTARG");
                           ^~~~~~~~
./defs.h:320:38: note: passing argument to parameter here
struct namnod *lookup(unsigned char *);
                                     ^
bltin.c:486:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                assign(n, optarg);
                          ^~~~~~
./defs.h:316:51: note: passing argument to parameter here
void assign(struct namnod *, const unsigned char *);
                                                  ^
bltin.c:491:12: warning: passing 'char [17]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                prs_buff("unknown builtin\n");
                         ^~~~~~~~~~~~~~~~~~~
./defs.h:348:36: note: passing argument to parameter here
void prs_buff(const unsigned char *);
                                   ^
26 warnings generated.
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   cmd.c
cmd.c:134:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (e = cmd(sym, flg | MTFLG))
                    ~~^~~~~~~~~~~~~~~~~~~~~~~
cmd.c:134:9: note: place parentheses around the assignment to silence this warning
                if (e = cmd(sym, flg | MTFLG))
                      ^
                    (                        )
cmd.c:134:9: note: use '==' to turn this assignment into an equality comparison
                if (e = cmd(sym, flg | MTFLG))
                      ^
                      ==
cmd.c:478:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (io = inout(io))
            ~~~^~~~~~~~~~~
cmd.c:478:9: note: place parentheses around the assignment to silence this warning
        if (io = inout(io))
               ^
            (             )
cmd.c:478:9: note: use '==' to turn this assignment into an equality comparison
        if (io = inout(io))
               ^
               ==
cmd.c:578:7: warning: passing 'char *const' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                prs(sp->sysnam);
                    ^~~~~~~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
cmd.c:581:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                prs(endoffile);
                    ^~~~~~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
cmd.c:587:8: warning: passing 'char [13]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        prs("newline or ;");
                            ^~~~~~~~~~~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
cmd.c:597:6: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        prs(synmsg);
            ^~~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
cmd.c:600:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                prs(atline);
                    ^~~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
cmd.c:603:6: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        prs(colon);
            ^~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
cmd.c:610:6: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        prs(unexpected);
            ^~~~~~~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
9 warnings generated.
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   ctype.c
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   defs.c
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   echo.c
echo.c:61:18: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        sysv3 = findnam("SYSV3");
                        ^~~~~~~
./defs.h:330:39: note: passing argument to parameter here
struct namnod *findnam(unsigned char *);
                                      ^
1 warning generated.
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   error.c
error.c:48:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                prs(colon);
                    ^~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
error.c:58:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        failed(s, NIL);
                  ^~~
./mode.h:51:13: note: expanded from macro 'NIL'
#define NIL     ((char*)0)
                ^~~~~~~~~~
error.c:42:54: note: passing argument to parameter 's2' here
failed(const unsigned char *s1, const unsigned char *s2)
                                                     ^
error.c:114:7: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                prs(colon);
                    ^~~~~
./defs.h:334:31: note: passing argument to parameter here
void prs(const unsigned char *);
                              ^
3 warnings generated.
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   expand.c
expand.c:187:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (gmatch(e->d_name, cs))
                                              ^~
./defs.h:248:38: note: passing argument to parameter here
int gmatch(const char *, const char *);
                                     ^
expand.c:189:13: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                addg(s, e->d_name, rescan, slashsav);
                                        ^~~~~~~~~
expand.c:57:50: note: passing argument to parameter here
static void addg(unsigned char *, unsigned char *,
                                                 ^
expand.c:232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (c = *s1++)
                       ~~^~~~~~~
expand.c:232:12: note: place parentheses around the assignment to silence this warning
                while (c = *s1++)
                         ^
                       (        )
expand.c:232:12: note: use '==' to turn this assignment into an equality comparison
                while (c = *s1++)
                         ^
                         ==
expand.c:278:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (s1 = as3)
            ~~~^~~~~
expand.c:278:9: note: place parentheses around the assignment to silence this warning
        if (s1 = as3)
               ^
            (       )
expand.c:278:9: note: use '==' to turn this assignment into an equality comparison
        if (s1 = as3)
               ^
               ==
expand.c:288:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (*s2++ = *++s1);
                       ~~~~~~^~~~~~~
expand.c:288:16: note: place parentheses around the assignment to silence this warning
                while (*s2++ = *++s1);
                             ^
                       (            )
expand.c:288:16: note: use '==' to turn this assignment into an equality comparison
                while (*s2++ = *++s1);
                             ^
                             ==
5 warnings generated.
clang -c -pipe -Os  -D_FILE_OFFSET_BITS=64L   fault.c
In file included from fault.c:42:
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined
#error The deprecated ucontext routines require _XOPEN_SOURCE to be defined
 ^
fault.c:177:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (t = trapcom[0])
            ~~^~~~~~~~~~~~
fault.c:177:8: note: place parentheses around the assignment to silence this warning
        if (t = trapcom[0])
              ^
            (             )
fault.c:177:8: note: use '==' to turn this assignment into an equality comparison
        if (t = trapcom[0])
              ^
              ==
fault.c:298:11: warning: passing 'char [27]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                failure("sigaltstack(2) failed with", strerror(err));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./defs.h:219:35: note: passing argument to parameter here
void failure(const unsigned char *, const unsigned char *);
                                  ^
fault.c:298:41: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                failure("sigaltstack(2) failed with", strerror(err));
                                                      ^~~~~~~~~~~~~
./defs.h:219:58: note: passing argument to parameter here
void failure(const unsigned char *, const unsigned char *);
                                                         ^
fault.c:355:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                        if (t = trapcom[i])
                            ~~^~~~~~~~~~~~
fault.c:355:10: note: place parentheses around the assignment to silence this warning
                        if (t = trapcom[i])
                              ^
                            (             )
fault.c:355:10: note: use '==' to turn this assignment into an equality comparison
                        if (t = trapcom[i])
                              ^
                              ==
fault.c:380:14: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                prs_buff(colon);
                                         ^~~~~
./defs.h:348:36: note: passing argument to parameter here
void prs_buff(const unsigned char *);
                                   ^
fault.c:399:13: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                failure(cmd, badtrap);
                                        ^~~
./defs.h:219:35: note: passing argument to parameter here
void failure(const unsigned char *, const unsigned char *);
                                  ^
fault.c:399:18: warning: passing 'const char []' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                failure(cmd, badtrap);
                                             ^~~~~~~
./defs.h:219:58: note: passing argument to parameter here
void failure(const unsigned char *, const unsigned char *);
                                                         ^
fault.c:417:29: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                        replace(&trapcom[sig], a1);
                                                               ^~
./defs.h:314:53: note: passing argument to parameter here
void replace(unsigned char **, const unsigned char *);
                                                    ^
fault.c:426:28: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                replace(&trapcom[sig], a1);
                                                       ^~
./defs.h:314:53: note: passing argument to parameter here
void replace(unsigned char **, const unsigned char *);
                                                    ^
9 warnings and 1 error generated.
*** [fault.o] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/shells/heirloom-sh/work/heirloom-sh-050706
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/shells/heirloom-sh/work/heirloom-sh-050706
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/shells/heirloom-sh
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/shells/heirloom-sh