===> Building for elvis-x11-2.2.0nb4
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c main.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/osblock.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/osdir.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/osprg.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/ostext.c
osunix/ostext.c:49:22: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
                if (errno == EPERM || EACCES)
                                   ^  ~~~~~~
osunix/ostext.c:49:22: note: use '|' for a bitwise operation
                if (errno == EPERM || EACCES)
                                   ^~
                                   |
1 warning generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/osnet.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c optglob.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c options.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c safe.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c session.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c buffer.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c calc.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c color.c
color.c:289:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'CHAR *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
        *likeref = '\0';
                   ^~~~
1 warning generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c descr.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c digraph.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c display.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c gui.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c lowbuf.c
lowbuf.c:88:16: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
        if (lblkno >= SES_MAXBLKLIST)
                      ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:92:56: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                next = delblock(blk->blklist.next, (LBLKNO)(lblkno - SES_MAXBLKLIST), ncharsptr, nlinesptr);
                                                                     ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:129:18: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
        while (lblkno < SES_MAXBLKLIST - 1)
                        ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:200:20: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
        else if (before < SES_MAXBLKLIST)
                          ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:209:7: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                i = SES_MAXBLKLIST - 1;
                    ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:234:56: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                next = insblock(blk->blklist.next, (LBLKNO)(before - SES_MAXBLKLIST), chars, nchars, nlines);
                                                                     ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:287:19: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
        while (lblkno >= SES_MAXBLKLIST)
                         ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:293:13: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                lblkno -= SES_MAXBLKLIST;
                          ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:330:20: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                for (; lblkno >= SES_MAXBLKLIST; lblkno -= SES_MAXBLKLIST)
                                 ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:330:46: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                for (; lblkno >= SES_MAXBLKLIST; lblkno -= SES_MAXBLKLIST)
                                                           ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:394:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                for (i = 0; (unsigned)i < SES_MAXBLKLIST && blist->blklist.blk[i].blkno; i++)
                                          ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:445:28: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast]
        for (i = 0; (unsigned)i < SES_MAXSUPER; i++)
                                  ^~~~~~~~~~~~
./session.h:94:36: note: expanded from macro 'SES_MAXSUPER'
#define SES_MAXSUPER    ((o_blksize - (int)(((BLK *)0)->super.buf)) / sizeof(BLKNO))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:466:29: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast]
                for (i = 0; (unsigned)i < SES_MAXSUPER2; i++)
                                          ^~~~~~~~~~~~~
./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2'
#define SES_MAXSUPER2   ((o_blksize - (int)(((BLK *)0)->super2.buf)) / sizeof(BLKNO))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:509:43: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
        strncpy(blk->bufinfo.name, name, (size_t)SES_MAXBUFINFO);
                                                 ^~~~~~~~~~~~~~
./session.h:96:37: note: expanded from macro 'SES_MAXBUFINFO'
#define SES_MAXBUFINFO  (o_blksize - (int)(((BLK *)0)->bufinfo.name))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy'
                __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                               ^~~~~~~~~~~
lowbuf.c:525:36: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast]
                if ((unsigned)++i >= (super==0 ? SES_MAXSUPER : SES_MAXSUPER2))
                                                 ^~~~~~~~~~~~
./session.h:94:36: note: expanded from macro 'SES_MAXSUPER'
#define SES_MAXSUPER    ((o_blksize - (int)(((BLK *)0)->super.buf)) / sizeof(BLKNO))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:525:51: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast]
                if ((unsigned)++i >= (super==0 ? SES_MAXSUPER : SES_MAXSUPER2))
                                                                ^~~~~~~~~~~~~
./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2'
#define SES_MAXSUPER2   ((o_blksize - (int)(((BLK *)0)->super2.buf)) / sizeof(BLKNO))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:629:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++)
                                          ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:675:35: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast]
                if ((unsigned)++i >= (scan==0 ? SES_MAXSUPER : SES_MAXSUPER2))
                                                ^~~~~~~~~~~~
./session.h:94:36: note: expanded from macro 'SES_MAXSUPER'
#define SES_MAXSUPER    ((o_blksize - (int)(((BLK *)0)->super.buf)) / sizeof(BLKNO))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:675:50: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast]
                if ((unsigned)++i >= (scan==0 ? SES_MAXSUPER : SES_MAXSUPER2))
                                                               ^~~~~~~~~~~~~
./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2'
#define SES_MAXSUPER2   ((o_blksize - (int)(((BLK *)0)->super2.buf)) / sizeof(BLKNO))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:716:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++)
                                          ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:755:45: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
        CHARncpy(blk->bufinfo.name, title, (size_t)SES_MAXBUFINFO);
                                                   ^~~~~~~~~~~~~~
./session.h:96:37: note: expanded from macro 'SES_MAXBUFINFO'
#define SES_MAXBUFINFO  (o_blksize - (int)(((BLK *)0)->bufinfo.name))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./elvis.h:98:67: note: expanded from macro 'CHARncpy'
#define CHARncpy(d,s,n) ((void)strncpy((char *)(d), (char *)(s), (n)))
                                                                  ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy'
                __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                               ^~~~~~~~~~~
lowbuf.c:833:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
                for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++)
                                          ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lowbuf.c:950:21: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast]
        BLKNO   maxblklist = SES_MAXBLKLIST;
                             ^~~~~~~~~~~~~~
./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST'
#define SES_MAXBLKLIST  ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0]))
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23 warnings generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c mark.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c misc.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c io.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmhex.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmmarkup.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmnormal.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmsyntax.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c scan.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/tcaphelp.c
In file included from osunix/tcaphelp.c:55:
osunix/tcapbsd.h:121:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        static  tty;    /* 'y' if reading from tty, or 'n' if not a tty */
        ~~~~~~  ^
1 warning generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c autocmd.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c cut.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c draw.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c event.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c ex.c
ex.c:1606:5: warning: implicit conversion from enumeration type 'ELVFNR' to different enumeration type 'CALCRULE' [-Wenum-conversion]
                         (ELVFNR)(((rules & ELVFNR_DOLLAR) ? CALC_DOLLAR : 0) | 
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./elvis.h:95:30: note: expanded from macro 'tochar8'
#define tochar8(s)      ((char *)(s))
                                  ^
1 warning generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exaction.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exconfig.c
exconfig.c:2064:11: warning: 'sizeof (oldval)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div]
                        oldval[QTY(oldval) - 100] = '\0';
                               ^~~~~~~~~~~
./elvis.h:24:40: note: expanded from macro 'QTY'
#define QTY(array)      (int)(sizeof(array) / sizeof((array)[0]))
                              ~~~~~~~~~~~~~ ^
exconfig.c:2024:8: note: pointer 'oldval' declared here
        CHAR    *oldval = NULL;
                 ^
1 warning generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exedit.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exmake.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exsubst.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c fold.c
fold.c:412:12: warning: cast to smaller integer type 'ELVBOOL' from 'struct fold_s *' [-Wpointer-to-enum-cast]
                infold = (ELVBOOL)buf->fold;
                         ^~~~~~~~~~~~~~~~~~
1 warning generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c ftp.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c http.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c input.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c lp.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c map.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c message.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c move.c
move.c:1895:9: warning: address of 'cp' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        if (&cp)
                        ~~   ^~
1 warning generated.
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c more.c
clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c need.c
need.c:31:7: error: expected parameter declarator
void *memmove(void *dest, const void *src, size_t size)
      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove'
                __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                                            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                                                              ^
need.c:31:7: error: expected ')'
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove'
                __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                                            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                                                              ^
need.c:31:7: note: to match this '('
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove'
                __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                                            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:38:54: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                                                     ^
need.c:31:7: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
void *memmove(void *dest, const void *src, size_t size)
      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove'
                __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                                            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                               ^
need.c:31:7: error: conflicting types for '__builtin___memmove_chk'
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:70:3: note: expanded from macro 'memmove'
                __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                ^
need.c:31:7: note: '__builtin___memmove_chk' is a builtin with type 'void *(void *, const void *, unsigned long, unsigned long)'
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:70:3: note: expanded from macro 'memmove'
                __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                ^
1 warning and 3 errors generated.
*** [need.o] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/editors/elvis-x11/work/elvis-2.2_0
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/editors/elvis-x11/work/elvis-2.2_0
*** Error code 2

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

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/elvis-x11