WARNING: [license.mk] Every package should define a LICENSE.
===> Building for nvi-m17n-1.79.20040608nb11
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../cl/cl_bsd.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../cl/cl_funcs.c
./../cl/cl_funcs.c:95:26: warning: passing 'CHAR_T *' (aka '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 (addnstr(p, strlen(p)) == ERR)
                                              ^
./../curses/curses.h:186:45: note: expanded from macro 'addnstr'
#define addnstr(s, n)                   waddnstr(stdscr, s, n)
                                                            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
1 warning generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../cl/cl_main.c
In file included from ./../cl/cl_main.c:30:
In file included from ./../cl/../common/common.h:82:
In file included from ./../cl/../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../cl/cl_main.c:279:2: warning: implicit declaration of function 'setupterm' is invalid in C99 [-Wimplicit-function-declaration]
        setupterm(ttype, STDOUT_FILENO, &err);
        ^
./../cl/cl_main.c:440:17: warning: incompatible function pointer types assigning to 'int (*)(SCR *, const char *, size_t)' (aka 'int (*)(struct _scr *, const char *, unsigned long)') from 'int (SCR *, const CHAR_T *, size_t)' (aka 'int (struct _scr *, const unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types]
        gp->scr_addstr = cl_addstr;
                       ^ ~~~~~~~~~
3 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../cl/cl_read.c
In file included from ./../cl/cl_read.c:34:
In file included from ./../cl/../common/common.h:82:
In file included from ./../cl/../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../cl/cl_read.c:421:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char [1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        a.bp = b1;
             ^ ~~
2 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../cl/cl_screen.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../cl/cl_term.c
./../cl/cl_term.c:96:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka '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 (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
                                ^~~~~~~~~
./../include/com_extern.h:312:33: note: passing argument to parameter here
int seq_set __P((SCR *, CHAR_T *,
                                ^
./../cl/cl_term.c:96:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka '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 (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
                                                              ^
./../include/com_extern.h:313:20: note: passing argument to parameter here
   size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int));
                   ^
./../cl/cl_term.c:97:7: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    tkp->output, strlen(tkp->output), SEQ_COMMAND,
                    ^~~~~~~~~~~
./../include/com_extern.h:313:38: note: passing argument to parameter here
   size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int));
                                     ^
./../cl/cl_term.c:111:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka '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 (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
                                ^~~~~~~~~
./../include/com_extern.h:312:33: note: passing argument to parameter here
int seq_set __P((SCR *, CHAR_T *,
                                ^
./../cl/cl_term.c:111:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka '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 (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
                                                              ^
./../include/com_extern.h:313:20: note: passing argument to parameter here
   size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int));
                   ^
./../cl/cl_term.c:130:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka '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 (seq_set(sp, tkp->name, strlen(tkp->name),
                                        ^~~~~~~~~
./../include/com_extern.h:312:33: note: passing argument to parameter here
int seq_set __P((SCR *, CHAR_T *,
                                ^
./../cl/cl_term.c:131:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                            t, strlen(t), NULL, 0,
                            ^
./../include/com_extern.h:313:20: note: passing argument to parameter here
   size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int));
                   ^
./../cl/cl_term.c:135:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka '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 (seq_set(sp, tkp->name, strlen(tkp->name),
                                        ^~~~~~~~~
./../include/com_extern.h:312:33: note: passing argument to parameter here
int seq_set __P((SCR *, CHAR_T *,
                                ^
./../cl/cl_term.c:136:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                            t, strlen(t), tkp->output, strlen(tkp->output),
                            ^
./../include/com_extern.h:313:20: note: passing argument to parameter here
   size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int));
                   ^
./../cl/cl_term.c:136:22: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                            t, strlen(t), tkp->output, strlen(tkp->output),
                                          ^~~~~~~~~~~
./../include/com_extern.h:313:38: note: passing argument to parameter here
   size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int));
                                     ^
./../cl/cl_term.c:209:56: warning: passing 'CHAR_T *' (aka '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]
        (void)snprintf(keyname, sizeof(keyname), "kf%d", atoi(from + 1));
                                                              ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
./../cl/cl_term.c:214:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                msgq_str(sp, M_ERR, from, "233|This terminal has no %s key");
                                    ^~~~
./../include/com_extern.h:138:42: note: passing argument to parameter here
void msgq_str __P((SCR *, mtype_t, char *, char *));
                                         ^
./../cl/cl_term.c:219:47: warning: passing 'CHAR_T *' (aka '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]
            sizeof(keyname), "function key %d", atoi(from + 1));
                                                     ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
./../cl/cl_term.c:220:22: warning: passing 'char [64]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        return (seq_set(sp, keyname, nlen,
                            ^~~~~~~
./../include/com_extern.h:312:33: note: passing argument to parameter here
int seq_set __P((SCR *, CHAR_T *,
                                ^
./../cl/cl_term.c:221:6: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            p, strlen(p), to, tlen, stype, SEQ_NOOVERWRITE | SEQ_SCREEN));
            ^
./../include/com_extern.h:313:20: note: passing argument to parameter here
   size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int));
                   ^
./../cl/cl_term.c:412:16: warning: implicit declaration of function 'tigetnum' is invalid in C99 [-Wimplicit-function-declaration]
                        if ((rval = tigetnum("lines")) < 0)
                                    ^
./../cl/cl_term.c:414:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else
                        ^
./../cl/cl_term.c:419:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else
                        ^
18 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../common/cut.c
In file included from ./../common/cut.c:28:
In file included from ./../common/common.h:82:
In file included from ./../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../common/cut.c:151:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL))
                                                   ^~
./../include/com_extern.h:114:51: note: passing argument to parameter here
int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *));
                                                  ^
2 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../common/delete.c
./../common/delete.c:71:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                        if (db_get(sp, lno, DBG_FATAL, &p, &len))
                                                       ^~
./../include/com_extern.h:114:51: note: passing argument to parameter here
int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *));
                                                  ^
./../common/delete.c:85:39: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                        if (db_get(sp, fm->lno, DBG_FATAL, &p, &len))
                                                           ^~
./../include/com_extern.h:114:51: note: passing argument to parameter here
int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *));
                                                  ^
./../common/delete.c:87:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        GET_SPACE_RET(sp, bp, blen, fm->cno);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET'
                bp = L__gp->tmp_bp;                                     \
                   ^ ~~~~~~~~~~~~~
./../common/delete.c:89:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (db_set(sp, fm->lno, bp, fm->cno))
                                                ^~
./../include/com_extern.h:118:39: note: passing argument to parameter here
int db_set __P((SCR *, recno_t, char *, size_t));
                                      ^
./../common/delete.c:100:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                if (db_get(sp, fm->lno, DBG_FATAL, &p, &len))
                                                   ^~
./../include/com_extern.h:114:51: note: passing argument to parameter here
int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *));
                                                  ^
./../common/delete.c:102:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                GET_SPACE_RET(sp, bp, blen, len);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET'
                bp = L__gp->tmp_bp;                                     \
                   ^ ~~~~~~~~~~~~~
./../common/delete.c:115:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    bp, len - ((tm->cno - fm->cno) + tmchlen)))
                    ^~
./../include/com_extern.h:118:39: note: passing argument to parameter here
int db_set __P((SCR *, recno_t, char *, size_t));
                                      ^
./../common/delete.c:127:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL))
                                                   ^~
./../include/com_extern.h:114:51: note: passing argument to parameter here
int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *));
                                                  ^
./../common/delete.c:129:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                GET_SPACE_RET(sp, bp, blen, tlen + 256);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET'
                bp = L__gp->tmp_bp;                                     \
                   ^ ~~~~~~~~~~~~~
./../common/delete.c:134:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
        if (db_get(sp, tm->lno, DBG_FATAL, &p, &len))
                                           ^~
./../include/com_extern.h:114:51: note: passing argument to parameter here
int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *));
                                                  ^
./../common/delete.c:162:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        GET_SPACE_RET(sp, bp, blen, nlen);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET'
                bp = L__gp->tmp_bp;                                     \
                   ^ ~~~~~~~~~~~~~
./../common/delete.c:164:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types]
                        ADD_SPACE_RET(sp, bp, blen, nlen);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET'
        if (L__gp == NULL || bp == L__gp->tmp_bp) {                     \
                             ~~ ^  ~~~~~~~~~~~~~
./../common/delete.c:164:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        ADD_SPACE_RET(sp, bp, blen, nlen);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET'
                bp = L__gp->tmp_bp;                                     \
                   ^ ~~~~~~~~~~~~~
./../common/delete.c:177:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        if (db_set(sp, fm->lno, bp, tlen))
                                ^~
./../include/com_extern.h:118:39: note: passing argument to parameter here
int db_set __P((SCR *, recno_t, char *, size_t));
                                      ^
./../common/delete.c:193:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types]
                FREE_SPACE(sp, bp, blen);
                ^~~~~~~~~~~~~~~~~~~~~~~~
./../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE'
        if (L__gp != NULL && bp == L__gp->tmp_bp)                       \
                             ~~ ^  ~~~~~~~~~~~~~
15 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex.c
In file included from ./../ex/ex.c:31:
In file included from ./../ex/../common/common.h:82:
In file included from ./../ex/../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../ex/ex.c:125:17: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        gp->excmd.cp = " ";     /* __TK__ why not |? */
                                     ^ ~~~
./../ex/ex.c:427:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                            t = cmds[C_DELETE].name; *s == *t; ++s, ++t);
                              ^ ~~~~~~~~~~~~~~~~~~~
./../ex/ex.c:463:34: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if ((ecp->cmd = ex_comm_search(p, namelen)) == NULL)
                                               ^
./../ex/ex.c:38:29: note: passing argument to parameter here
                ex_comm_search __P((char *, size_t));
                                          ^
./../ex/ex.c:490:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                ex_unknown(sp, p, namelen);
                                               ^
./../ex/ex.c:42:42: note: passing argument to parameter here
static void     ex_unknown __P((SCR *, char *, size_t));
                                             ^
./../ex/ex.c:537:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (argv_exp0(sp, ecp, p, ecp->cp - p))
                                               ^
./../include/ex_extern.h:19:42: note: passing argument to parameter here
int argv_exp0 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex.c:969:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        for (p = ecp->cmd->syntax; *p != '\0'; ++p) {
               ^ ~~~~~~~~~~~~~~~~
./../ex/ex.c:1066:15: warning: passing 'CHAR_T *' (aka '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]
                            strchr(p, '1') != NULL)
                                   ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here
char    *strchr(const char *__s, int __c);
                            ^
./../ex/ex.c:1093:26: warning: passing 'CHAR_T *' (aka '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]
                            nget_slong(&ltmp, ecp->cp, &t, 10)) != NUM_OK) {
                                              ^~~~~~~
./../include/com_extern.h:327:50: note: passing argument to parameter here
enum nresult nget_slong __P((long *, const char *, char **, int));
                                                 ^
./../ex/ex.c:1093:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                            nget_slong(&ltmp, ecp->cp, &t, 10)) != NUM_OK) {
                                                       ^~
./../include/com_extern.h:327:59: note: passing argument to parameter here
enum nresult nget_slong __P((long *, const char *, char **, int));
                                                          ^
./../ex/ex.c:1121:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (argv_exp2(sp, ecp, ecp->cp, ecp->clen))
                                               ^~~~~~~
./../include/ex_extern.h:21:42: note: passing argument to parameter here
int argv_exp2 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex.c:1140:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                msgq_str(sp, M_ERR, ecp->cp,
                                                    ^~~~~~~
./../include/com_extern.h:138:42: note: passing argument to parameter here
void msgq_str __P((SCR *, mtype_t, char *, char *));
                                         ^
./../ex/ex.c:1156:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                if (argv_exp1(sp, ecp, ecp->cp,
                                                       ^~~~~~~
./../include/ex_extern.h:20:42: note: passing argument to parameter here
int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int));
                                         ^
./../ex/ex.c:1163:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (argv_exp0(sp, ecp, ecp->cp, ecp->clen))
                                               ^~~~~~~
./../include/ex_extern.h:19:42: note: passing argument to parameter here
int argv_exp0 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex.c:1190:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (argv_exp0(sp, ecp, t, p - t))
                                               ^
./../include/ex_extern.h:19:42: note: passing argument to parameter here
int argv_exp0 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex.c:1214:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (argv_exp0(sp, ecp, t, p - t))
                                               ^
./../include/ex_extern.h:19:42: note: passing argument to parameter here
int argv_exp0 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex.c:1218:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        if (argv_exp3(sp, ecp, ecp->cp, ecp->clen))
                                               ^~~~~~~
./../include/ex_extern.h:22:42: note: passing argument to parameter here
int argv_exp3 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex.c:1250:32: warning: passing 'CHAR_T *' (aka '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 (ecp->clen != 0 || strpbrk(p, "lr")) {
                                      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:86:27: note: passing argument to parameter '__s' here
char    *strpbrk(const char *__s, const char *__charset);
                             ^
./../ex/ex.c:1287:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        } else {
                          ^
./../ex/ex.c:1892:32: warning: passing 'CHAR_T *' (aka '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 ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) {
                                             ^~~~~~~
./../include/com_extern.h:327:50: note: passing argument to parameter here
enum nresult nget_slong __P((long *, const char *, char **, int));
                                                 ^
./../ex/ex.c:1892:41: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                if ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) {
                                                      ^~~~~
./../include/com_extern.h:327:59: note: passing argument to parameter here
enum nresult nget_slong __P((long *, const char *, char **, int));
                                                          ^
./../ex/ex.c:1948:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp,
                                   ^~~~~~~
./../ex/ex.c:1948:42: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp,
                                                       ^~~~~
./../ex/ex.c:2057:9: warning: passing 'CHAR_T *' (aka '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]
                                    ecp->cp, &endp, 10)) != NUM_OK ||
                                    ^~~~~~~
./../include/com_extern.h:327:50: note: passing argument to parameter here
enum nresult nget_slong __P((long *, const char *, char **, int));
                                                 ^
./../ex/ex.c:2057:18: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                                    ecp->cp, &endp, 10)) != NUM_OK ||
                                             ^~~~~
./../include/com_extern.h:327:59: note: passing argument to parameter here
enum nresult nget_slong __P((long *, const char *, char **, int));
                                                          ^
./../ex/ex.c:2159:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                                else {
                                ^
26 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_abbrev.c
./../ex/ex_abbrev.c:112:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                msgq_str(sp, M_ERR, ap->bp,
                                    ^~~~~~
./../include/com_extern.h:138:42: note: passing argument to parameter here
void msgq_str __P((SCR *, mtype_t, char *, char *));
                                         ^
1 warning generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_append.c
./../ex/ex_append.c:172:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                if (db_append(sp, 1, lno++, p, t - p))
                                                            ^
./../include/com_extern.h:116:47: note: passing argument to parameter here
int db_append __P((SCR *, int, recno_t, char *, size_t));
                                              ^
./../ex/ex_append.c:265:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if (db_append(sp, 1, lno++, tp->lb, tp->len))
                                            ^~~~~~
./../include/com_extern.h:116:47: note: passing argument to parameter here
int db_append __P((SCR *, int, recno_t, char *, size_t));
                                              ^
2 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_args.c
./../ex/ex_args.c:92:13: warning: assigning to 'char *' from 'CHAR_T *' (aka '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 ((*ap =
                                 ^
./../ex/ex_args.c:99:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka '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 ((frp = file_add(sp, *sp->cargv)) == NULL)
                                        ^~~~~~~~~~
./../include/com_extern.h:91:36: note: passing argument to parameter here
FREF *file_add __P((SCR *, CHAR_T *));
                                   ^
./../ex/ex_args.c:106:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka '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 ((frp = file_add(sp, sp->cargv[1])) == NULL)
                                        ^~~~~~~~~~~~
./../include/com_extern.h:91:36: note: passing argument to parameter here
FREF *file_add __P((SCR *, CHAR_T *));
                                   ^
./../ex/ex_args.c:193:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka '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 ((frp = file_add(sp, sp->cargv[-1])) == NULL)
                                ^~~~~~~~~~~~~
./../include/com_extern.h:91:36: note: passing argument to parameter here
FREF *file_add __P((SCR *, CHAR_T *));
                                   ^
./../ex/ex_args.c:240:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka '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 ((frp = file_add(sp, *sp->cargv)) == NULL)
                                ^~~~~~~~~~
./../include/com_extern.h:91:36: note: passing argument to parameter here
FREF *file_add __P((SCR *, CHAR_T *));
                                   ^
./../ex/ex_args.c:317:27: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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 ((*ap = v_strdup(sp, name, strlen(name))) == NULL)
                                        ^~~~
./../include/com_extern.h:325:44: note: passing argument to parameter here
CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t));
                                           ^
./../ex/ex_args.c:317:12: warning: assigning to 'char *' from 'CHAR_T *' (aka '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 ((*ap = v_strdup(sp, name, strlen(name))) == NULL)
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/ex_args.c:322:13: warning: assigning to 'char *' from 'CHAR_T *' (aka '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 ((*ap =
                                 ^
8 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_argv.c
./../ex/ex_argv.c:121:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                for (p = bp, t = bp + len; p < t; ++p)
                       ^ ~~
./../ex/ex_argv.c:121:32: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types]
                for (p = bp, t = bp + len; p < t; ++p)
                                           ~ ^ ~
./../ex/ex_argv.c:124:9: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types]
                if (p == t)
                    ~ ^  ~
./../ex/ex_argv.c:163:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        p = bp + SHELLOFFSET;
          ^ ~~~~~~~~~~~~~~~~
./../ex/ex_argv.c:170:39: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        if (argv_fexp(sp, excp, cmd, cmdlen, p, &len, &bp, &blen, 0)) {
                                             ^
./../ex/ex_argv.c:34:24: note: passing argument to parameter here
        char *, size_t, char *, size_t *, char **, size_t *, int));
                              ^
./../ex/ex_argv.c:196:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                for (p = mp = O_STR(sp, O_SHELLMETA); *p != '\0'; ++p)
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/ex_argv.c:199:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                p = bp + SHELLOFFSET;
                  ^ ~~~~~~~~~~~~~~~~
./../ex/ex_argv.c:227:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                p = bp + SHELLOFFSET;
                  ^ ~~~~~~~~~~~~~~~~
./../ex/ex_argv.c:229:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                rval = argv_exp3(sp, excp, p, len);
                                           ^
./../include/ex_extern.h:22:42: note: passing argument to parameter here
int argv_exp3 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex_argv.c:243:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                p = bp;
                  ^ ~~
./../ex/ex_argv.c:244:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                rval = argv_exp3(sp, excp, p, len);
                                           ^
./../include/ex_extern.h:22:42: note: passing argument to parameter here
int argv_exp3 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex_argv.c:357:25: warning: passing 'CHAR_T *' (aka '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]
                        len += tlen = strlen(exp->lastbcomm);
                                             ^~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
./../ex/ex_argv.c:584:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                p = exp->args[exp->argsoff]->bp;
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/ex_argv.c:689:16: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations]
        switch (pid = vfork()) {
                      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here
__deprecated_msg("Use posix_spawn or fork")
^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
./../ex/ex_argv.c:729:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        for (p = bp, len = 0, ch = EOF;
               ^ ~~
./../ex/ex_argv.c:733:6: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        p = bp + len;
                          ^ ~~~~~~~~
./../ex/ex_argv.c:738:8: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types]
        if (p > bp && (p[-1] == '\n' || p[-1] == '\r')) {
            ~ ^ ~~
./../ex/ex_argv.c:766:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        for (p = bp; len; ++p, --len)
               ^ ~~
18 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_at.c
./../ex/ex_at.c:67:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                ex_emsg(sp, KEY_NAME(sp, name), EXM_EMPTYBUF);
                            ^~~~~~~~~~~~~~~~~~
./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME'
        ((unsigned char)(ch) <= MAX_FAST_KEY                            \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/ex_extern.h:118:32: note: passing argument to parameter here
void ex_emsg __P((SCR *, char *, exm_t));
                               ^
./../ex/ex_at.c:111:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MALLOC_RET(sp, ecp->cp, char *, len * 2);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET'
        if ((p = (cast)malloc(size)) == NULL) {                         \
               ^ ~~~~~~~~~~~~~~~~~~
./../ex/ex_at.c:117:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        for (p = ecp->cp + len, tp = cbp->textq.cqh_last;
               ^ ~~~~~~~~~~~~~
3 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_bang.c
./../ex/ex_bang.c:72:31: warning: passing 'CHAR_T *' (aka '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 ((exp->lastbcomm = strdup(ap->bp)) == NULL) {
                                     ^~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here
char    *strdup(const char *__s1);
                            ^
./../ex/ex_bang.c:72:22: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        if ((exp->lastbcomm = strdup(ap->bp)) == NULL) {
                            ^ ~~~~~~~~~~~~~~
./../ex/ex_bang.c:89:23: warning: passing 'CHAR_T *' (aka '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]
                        vs_update(sp, "!", ap->bp);
                                           ^~~~~~
./../include/vi_extern.h:126:54: note: passing argument to parameter here
void vs_update __P((SCR *, const char *, const char *));
                                                     ^
./../ex/ex_bang.c:108:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        } else if (O_ISSET(sp, O_WARN) &&
                          ^
./../ex/ex_bang.c:116:13: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    cmdp, ap->bp, msg, !F_ISSET(sp, SC_EX | SC_SCR_EXWROTE));
                          ^~~~~~
./../include/ex_extern.h:79:45: note: passing argument to parameter here
int ex_exec_proc __P((SCR *, EXCMD *, char *, const char *, int));
                                            ^
./../ex/ex_bang.c:155:40: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    &cmdp->addr1, &cmdp->addr2, &rm, ap->bp, ftype);
                                                     ^~~~~~
./../include/ex_extern.h:36:43: note: passing argument to parameter here
   EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype));
                                          ^
6 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_cd.c
./../ex/ex_cd.c:74:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                dir = cmdp->argv[0]->bp;
                    ^ ~~~~~~~~~~~~~~~~~
1 warning generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_cmd.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_cscope.c
In file included from ./../ex/ex_cscope.c:35:
In file included from ./../ex/../common/common.h:82:
In file included from ./../ex/../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../ex/ex_cscope.c:127:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        for (p = cmdp->argv[0]->bp, i = cmdp->argv[0]->len; i > 0; --i, ++p)
               ^ ~~~~~~~~~~~~~~~~~
./../ex/ex_cscope.c:221:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                dname = cmdp->argv[cur_argc]->bp;
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/ex_cscope.c:382:21: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations]
        switch (csc->pid = vfork()) {
                           ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here
__deprecated_msg("Use posix_spawn or fork")
^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
./../ex/ex_cscope.c:499:39: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
                (void)fprintf(csc->to_fp, "%d%s\n", search, tqp->tag + 2);
                                           ~~       ^~~~~~
                                           %zu
./../ex/ex_cscope.c:628:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                p = cbp->textq.cqh_first->lb;
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/ex_cscope.c:833:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                } else {
                  ^
7 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_delete.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_display.c
./../ex/ex_display.c:113:15: warning: passing 'char [15]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                db(sp, cbp, "default buffer");
                            ^~~~~~~~~~~~~~~~
./../ex/ex_display.c:29:42: note: passing argument to parameter here
static void     db __P((SCR *, CB *, CHAR_T *));
                                             ^
./../ex/ex_display.c:139:22: warning: passing 'CHAR_T *' (aka '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]
                        (void)ex_puts(sp, KEY_NAME(sp, *p));
                                          ^~~~~~~~~~~~~~~~
./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME'
        ((unsigned char)(ch) <= MAX_FAST_KEY                            \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/ex_extern.h:63:37: note: passing argument to parameter here
int ex_puts __P((SCR *, const char *));
                                    ^
2 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_edit.c
./../ex/ex_edit.c:79:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                set_alt_name(sp, cmdp->argv[0]->bp);
                                 ^~~~~~~~~~~~~~~~~
./../include/com_extern.h:99:37: note: passing argument to parameter here
void set_alt_name __P((SCR *, char *));
                                    ^
1 warning generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_equal.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_file.c
./../ex/ex_file.c:61:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                frp->name = p;
                          ^ ~
1 warning generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_filter.c
In file included from ./../ex/ex_filter.c:28:
In file included from ./../ex/../common/common.h:82:
In file included from ./../ex/../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../ex/ex_filter.c:101:24: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations]
        switch (utility_pid = vfork()) {
                              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here
__deprecated_msg("Use posix_spawn or fork")
^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
./../ex/ex_filter.c:185:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else
                        ^
3 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_global.c
./../ex/ex_global.c:129:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else if (p[1] == '\\')
                        ^
./../ex/ex_global.c:153:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH))
                    ^~~~~~
./../include/ex_extern.h:89:11: note: passing argument to parameter here
    char *, size_t, char **, size_t *, regex_t *, u_int));
          ^
./../ex/ex_global.c:157:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if (re_compile(sp, ptrn, t - ptrn,
                                   ^~~~
./../include/ex_extern.h:89:11: note: passing argument to parameter here
    char *, size_t, char **, size_t *, regex_t *, u_int));
          ^
./../ex/ex_global.c:158:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                    &sp->re, &sp->re_len, &sp->re_c, RE_C_SEARCH))
                    ^~~~~~~
./../include/ex_extern.h:89:28: note: passing argument to parameter here
    char *, size_t, char **, size_t *, regex_t *, u_int));
                           ^
./../ex/ex_global.c:187:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char [3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                p = "pp";
                  ^ ~~~~
./../ex/ex_global.c:191:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MALLOC_RET(sp, ecp->cp, char *, len * 2);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET'
        if ((p = (cast)malloc(size)) == NULL) {                         \
               ^ ~~~~~~~~~~~~~~~~~~
6 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_init.c
In file included from ./../ex/ex_init.c:29:
In file included from ./../ex/../common/common.h:82:
In file included from ./../ex/../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../ex/ex_init.c:64:33: warning: passing 'CHAR_T *' (aka '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]
                    (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) {
                                              ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here
char    *strdup(const char *__s1);
                            ^
./../ex/ex_init.c:64:24: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) {
                                     ^ ~~~~~~~~~~~~~~~~~~~~~~~
./../ex/ex_init.c:293:11: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                ecp->cp = str;
                        ^ ~~~
./../ex/ex_init.c:295:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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 ((ecp->cp = v_strdup(sp, str, len)) == NULL)
                                            ^~~
./../include/com_extern.h:325:44: note: passing argument to parameter here
CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t));
                                           ^
./../ex/ex_init.c:302:36: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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 ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL)
                                                 ^~~~
./../include/com_extern.h:325:44: note: passing argument to parameter here
CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t));
                                           ^
./../ex/ex_init.c:302:21: warning: assigning to 'char *' from 'CHAR_T *' (aka '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 ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL)
                                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_join.c
./../ex/ex_join.c:85:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types]
                if (db_get(sp, from, 0, &p, &len)) {
                                        ^~
./../include/com_extern.h:114:51: note: passing argument to parameter here
int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *));
                                                  ^
./../ex/ex_join.c:194:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                        sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                  ^~
./../include/com_extern.h:192:42: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                         ^
./../ex/ex_join.c:194:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                        sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                      ^~~~~~~~~~~~
./../include/com_extern.h:192:58: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                                         ^
./../ex/ex_join.c:196:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                                sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                          ^~
./../include/com_extern.h:192:42: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                         ^
./../ex/ex_join.c:196:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                                sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                              ^~~~~~~~~~~~
./../include/com_extern.h:192:58: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                                         ^
./../ex/ex_join.c:204:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                        sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                  ^~
./../include/com_extern.h:192:42: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                         ^
./../ex/ex_join.c:204:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                        sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                      ^~~~~~~~~~~~
./../include/com_extern.h:192:58: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                                         ^
./../ex/ex_join.c:206:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                                sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                          ^~
./../include/com_extern.h:192:42: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                         ^
./../ex/ex_join.c:206:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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]
                                sp->cno -= multi_back(sp, bp, &bp[sp->cno]);
                                                              ^~~~~~~~~~~~
./../include/com_extern.h:192:58: note: passing argument to parameter here
int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *));
                                                         ^
9 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_map.c
./../ex/ex_map.c:117:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    cmdp->argv[0]->bp, "135|\"%s\" isn't currently mapped");
                    ^~~~~~~~~~~~~~~~~
./../include/com_extern.h:138:42: note: passing argument to parameter here
void msgq_str __P((SCR *, mtype_t, char *, char *));
                                         ^
1 warning generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_mark.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_mkexrc.c
In file included from ./../ex/ex_mkexrc.c:29:
In file included from ./../ex/../common/common.h:82:
In file included from ./../ex/../common/options.h:101:
./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined]
#define O_DIRECTORY 15
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here
#define O_DIRECTORY     0x00100000
        ^
./../ex/ex_mkexrc.c:54:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                fname = cmdp->argv[0]->bp;
                      ^ ~~~~~~~~~~~~~~~~~
2 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_move.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_open.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_perl.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_preserve.c
./../ex/ex_preserve.c:80:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        set_alt_name(sp, ap->bp);
                         ^~~~~~
./../include/com_extern.h:99:37: note: passing argument to parameter here
void set_alt_name __P((SCR *, char *));
                                    ^
1 warning generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_print.c
./../ex/ex_print.c:129:42: warning: format specifies type 'long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat]
                                snprintf(buf, sizeof(buf), "%6ld  ", from);
                                                            ~~~~     ^~~~
                                                            %6u
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
./../ex/ex_print.c:133:23: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka '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 (ex_prchars(sp, p, &col, 8, 0, 0))
                                           ^
./../ex/ex_print.c:36:49: note: passing argument to parameter here
static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int));
                                                ^
./../ex/ex_print.c:169:32: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka '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 (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0))
                                      ^
./../ex/ex_print.c:36:49: note: passing argument to parameter here
static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int));
                                                ^
./../ex/ex_print.c:173:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka '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 (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0))
                                   ^
./../ex/ex_print.c:36:49: note: passing argument to parameter here
static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int));
                                                ^
./../ex/ex_print.c:198:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka '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 (ex_prchars(sp, p, &col, 8, 0, 0))
                                   ^
./../ex/ex_print.c:36:49: note: passing argument to parameter here
static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int));
                                                ^
./../ex/ex_print.c:205:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka '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 (ex_prchars(sp, p, &col, fp->cno, 0, ' '))
                           ^
./../ex/ex_print.c:36:49: note: passing argument to parameter here
static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int));
                                                ^
./../ex/ex_print.c:209:6: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka '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]
            p, &col, tp->cno == fp->cno ? 1 : tp->cno - fp->cno, 0, '^'))
            ^
./../ex/ex_print.c:36:49: note: passing argument to parameter here
static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int));
                                                ^
./../ex/ex_print.c:214:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka '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 (ex_prchars(sp, p, &col, 5, 0, 0))
                           ^
./../ex/ex_print.c:36:49: note: passing argument to parameter here
static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int));
                                                ^
./../ex/ex_print.c:264:23: warning: passing 'CHAR_T *' (aka '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]
                                (void)ex_puts(sp, kp);
                                                  ^~
./../include/ex_extern.h:63:37: note: passing argument to parameter here
int ex_puts __P((SCR *, const char *));
                                    ^
./../ex/ex_print.c:271:23: warning: passing 'CHAR_T *' (aka '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]
                                (void)ex_puts(sp, kp);
                                                  ^~
./../include/ex_extern.h:63:37: note: passing argument to parameter here
int ex_puts __P((SCR *, const char *));
                                    ^
./../ex/ex_print.c:283:23: warning: passing 'CHAR_T *' (aka '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]
                                (void)ex_puts(sp, kp);
                                                  ^~
./../include/ex_extern.h:63:37: note: passing argument to parameter here
int ex_puts __P((SCR *, const char *));
                                    ^
11 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_put.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_quit.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_read.c
./../ex/ex_read.c:106:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if (argv_exp1(sp, cmdp, arg, arglen, 1))
                                        ^~~
./../include/ex_extern.h:20:42: note: passing argument to parameter here
int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int));
                                         ^
./../ex/ex_read.c:119:14: warning: passing 'CHAR_T *' (aka '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]
                    strdup(cmdp->argv[argc]->bp)) == NULL) {
                           ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here
char    *strdup(const char *__s1);
                            ^
./../ex/ex_read.c:118:23: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if ((exp->lastbcomm =
                                    ^
./../ex/ex_read.c:131:30: warning: passing 'CHAR_T *' (aka '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]
                                (void)vs_update(sp, "!", cmdp->argv[argc]->bp);
                                                         ^~~~~~~~~~~~~~~~~~~~
./../include/vi_extern.h:126:54: note: passing argument to parameter here
void vs_update __P((SCR *, const char *, const char *));
                                                     ^
./../ex/ex_read.c:173:18: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    NULL, &rm, cmdp->argv[argc]->bp, FILTER_READ))
                               ^~~~~~~~~~~~~~~~~~~~
./../include/ex_extern.h:36:43: note: passing argument to parameter here
   EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype));
                                          ^
./../ex/ex_read.c:190:8: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                name = sp->frp->name;
                     ^ ~~~~~~~~~~~~~
./../ex/ex_read.c:193:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                if (argv_exp2(sp, cmdp, arg, arglen))
                                        ^~~
./../include/ex_extern.h:21:42: note: passing argument to parameter here
int argv_exp2 __P((SCR *, EXCMD *, char *, size_t));
                                         ^
./../ex/ex_read.c:219:12: warning: assigning to 'char *' from 'CHAR_T *' (aka '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 ((p = v_strdup(sp, cmdp->argv[1]->bp,
                                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../ex/ex_read.c:234:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                set_alt_name(sp, name);
                                                 ^~~~
./../include/com_extern.h:99:37: note: passing argument to parameter here
void set_alt_name __P((SCR *, char *));
                                    ^
./../ex/ex_read.c:237:16: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        ex_emsg(sp, cmdp->argv[0]->bp, EXM_FILECOUNT);
                                    ^~~~~~~~~~~~~~~~~
./../include/ex_extern.h:118:32: note: passing argument to parameter here
void ex_emsg __P((SCR *, char *, exm_t));
                               ^
./../ex/ex_read.c:252:18: warning: passing 'CHAR_T *' (aka '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 ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) {
                        ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here
FILE    *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen));
                                       ^
./../ex/ex_read.c:253:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                msgq_str(sp, M_SYSERR, name, "%s");
                                       ^~~~
./../include/com_extern.h:138:42: note: passing argument to parameter here
void msgq_str __P((SCR *, mtype_t, char *, char *));
                                         ^
./../ex/ex_read.c:267:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        rval = ex_readfp(sp, name, fp, &cmdp->addr1, &nlines, 0);
                             ^~~~
./../include/ex_extern.h:68:33: note: passing argument to parameter here
int ex_readfp __P((SCR *, char *, FILE *, MARK *, recno_t *, int));
                                ^
13 warnings generated.
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_screen.c
clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses  -DGTAGS -I/opt/pkg/include ./../ex/ex_script.c
./../ex/ex_script.c:27:10: fatal error: 'sys/stropts.h' file not found
#include <sys/stropts.h>
         ^~~~~~~~~~~~~~~
1 error generated.
*** [ex_script.o] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/editors/nvi-m17n/work/nvi-1.79/build
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/editors/nvi-m17n/work/nvi-1.79/build
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/nvi-m17n
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/nvi-m17n