=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xgap-4.16nb3
if test ! -d bin;  then mkdir bin;  fi
if test ! -d bin/aarch64-apple-darwin22-clang;  then mkdir bin/aarch64-apple-darwin22-clang;  fi
cp cnf/configure.out bin/aarch64-apple-darwin22-clang/configure
( cd bin/aarch64-apple-darwin22-clang ; CC=clang ./configure --target=aarch64-apple-darwin22 --prefix=/opt/pkg --build=aarch64-apple-darwin22 --host=aarch64-apple-darwin22 --mandir=/opt/pkg/share/man --enable-option-checking=yes )
creating cache ./config.cache
checking for gcc... clang
checking whether the C compiler (clang -pipe -Os -I/opt/pkg/include -L/opt/pkg/lib) works... yes
checking whether the C compiler (clang -pipe -Os -I/opt/pkg/include -L/opt/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether clang accepts -g... yes
checking whether clang and cc understand -c and -o together... yes
checking for working const... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking for st_rdev in struct stat... yes
checking how to run the C preprocessor... clang -E
checking for uid_t in sys/types.h... yes
checking host system type... aarch64-apple-darwin22
checking target system type... aarch64-apple-darwin22
checking build system type... aarch64-apple-darwin22
checking for ANSI C header files... yes
checking for libc.h... yes
checking for unistd.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for wait3 that fills in rusage... yes
checking for pid_t... yes
checking for fcntl.h... yes
checking for sgtty.h... yes
checking for termios.h... yes
checking for termio.h... no
checking for sys/ioctl.h... yes
checking for sys/select.h... yes
checking for select... yes
checking for getpseudotty... no
checking for _getpty... no
checking for signal.h... yes
checking for sys/signal.h... yes
checking for signal... yes
checking return type of signal handlers... void
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether closedir returns void... no
checking for X... libraries , headers 
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for broken exposure compress in open windows... no (good)
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
( cd bin/aarch64-apple-darwin22-clang ; /opt/pkg/bin/bmake CC=clang )
clang -I. -pipe -Os -I/opt/pkg/include   -o xcmds.o -c ../../src.x11/xcmds.c
In file included from ../../src.x11/xcmds.c:10:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/xcmds.c:10:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/xcmds.c:549:60: warning: missing sentinel in function call [-Wsentinel]
                "textSelector", panedWidgetClass, selector->top, 0 );
                                                                  ^
                                                                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:554:26: warning: missing sentinel in function call [-Wsentinel]
        XtNlabel, name, 0 );
                         ^
                         , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:564:7: warning: missing sentinel in function call [-Wsentinel]
                   0 );
                    ^
                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:601:6: warning: missing sentinel in function call [-Wsentinel]
                         0 );
                          ^
                          , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:614:9: warning: missing sentinel in function call [-Wsentinel]
              0 );
               ^
               , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:630:16: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:751:45: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( entry, XtNsensitive, True, 0 );
                                                   ^
                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:753:46: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( entry, XtNsensitive, False, 0 );
                                                    ^
                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:841:52: warning: missing sentinel in function call [-Wsentinel]
                                   XGap, XtNcursor, CursorTL, 0 );
                                                               ^
                                                               , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1334:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreatePopupShell(
              ^
../../src.x11/xcmds.c:850:22: warning: missing sentinel in function call [-Wsentinel]
                             0 );
                              ^
                              , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:851:67: warning: missing sentinel in function call [-Wsentinel]
    XtVaCreateManagedWidget( "line", smeLineObjectClass, pshell, 0 );
                                                                  ^
                                                                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:873:50: warning: missing sentinel in function call [-Wsentinel]
                                        pshell, XtNlabel, buf, 0 );
                                                                ^
                                                                , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:913:37: warning: missing sentinel in function call [-Wsentinel]
                   0,              0 );
                                    ^
                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xcmds.c:926:52: warning: missing sentinel in function call [-Wsentinel]
    XtVaSetValues( popup, XtNx, x-10, XtNy, y-10, 0 );
                                                   ^
                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1130:11: warning: missing sentinel in function call [-Wsentinel]
                       0 );
                        ^
                        , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1164:56: warning: missing sentinel in function call [-Wsentinel]
    XtVaGetValues( GapTalk, XtNtitlePosition, &title, 0 );
                                                       ^
                                                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xcmds.c:1170:10: warning: missing sentinel in function call [-Wsentinel]
                      0 );
                       ^
                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1431:15: note: function has been explicitly marked sentinel here
extern Widget XtVaAppCreateShell(
              ^
../../src.x11/xcmds.c:1174:56: warning: missing sentinel in function call [-Wsentinel]
                "xgapWindow", panedWidgetClass, window->top, 0 );
                                                              ^
                                                              , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1186:10: warning: missing sentinel in function call [-Wsentinel]
                      0 );
                       ^
                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1190:34: warning: missing sentinel in function call [-Wsentinel]
                                      window->box, XtNx, 0, 0 );
                                                             ^
                                                             , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1205:7: warning: missing sentinel in function call [-Wsentinel]
                          0 );
                           ^
                           , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1213:11: warning: missing sentinel in function call [-Wsentinel]
                       0 );
                        ^
                        , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1218:70: warning: missing sentinel in function call [-Wsentinel]
    XtVaGetValues( window->viewport, XtNwidth, &w1, XtNheight, &h1, 0 );
                                                                     ^
                                                                     , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xcmds.c:1221:68: warning: missing sentinel in function call [-Wsentinel]
    XtVaSetValues( window->viewport, XtNwidth, w1, XtNheight, h1, 0 );
                                                                   ^
                                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1243:51: warning: missing sentinel in function call [-Wsentinel]
    XtVaSetValues( window->text, XtNlabel, name, 0 );
                                                  ^
                                                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1278:62: warning: missing sentinel in function call [-Wsentinel]
    XtVaSetValues( arg->win->text, XtNlabel, arg->sargs[0], 0 );
                                                             ^
                                                             , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1400:11: warning: missing sentinel in function call [-Wsentinel]
                       0 );
                        ^
                        , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1457:12: warning: missing sentinel in function call [-Wsentinel]
                                      0 );
                                       ^
                                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1461:54: warning: missing sentinel in function call [-Wsentinel]
                                   button, XtNcursor, CursorTL, 0 );
                                                                 ^
                                                                 , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1334:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreatePopupShell(
              ^
../../src.x11/xcmds.c:1477:68: warning: missing sentinel in function call [-Wsentinel]
            XtVaCreateManagedWidget( "line", smeLineObjectClass, pshell, 0 );
                                                                          ^
                                                                          , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1485:39: warning: missing sentinel in function call [-Wsentinel]
                                            0 );
                                             ^
                                             , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xcmds.c:1564:58: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( entry, XtNrightBitmap, CheckMarkSymbol, 0 );
                                                                ^
                                                                , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1566:58: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( entry, XtNrightBitmap, EmptyMarkSymbol, 0 );
                                                                ^
                                                                , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1599:45: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( entry, XtNsensitive, True, 0 );
                                                   ^
                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1601:46: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( entry, XtNsensitive, False, 0 );
                                                    ^
                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xcmds.c:1929:12: warning: call to undeclared function 'PlaybackFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return PlaybackFile(arg->sargs[0]) ? 
           ^
../../src.x11/xcmds.c:1942:12: warning: call to undeclared function 'ResumePlayback'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return ResumePlayback() ? 
           ^
../../src.x11/xcmds.c:2023:7: warning: missing sentinel in function call [-Wsentinel]
                   0 );
                    ^
                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xcmds.c:2047:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void UpdateXCMDS ( state )
     ^
41 warnings generated.
clang -I. -pipe -Os -I/opt/pkg/include   -o utils.o -c ../../src.x11/utils.c
In file included from ../../src.x11/utils.c:50:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/utils.c:50:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/utils.c:71:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
TypeList List ( len )
         ^
../../src.x11/utils.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void AddList ( lst, elm )
     ^
4 warnings generated.
clang -I. -pipe -Os -I/opt/pkg/include   -o gapgraph.o -c ../../src.x11/gapgraph.c
In file included from ../../src.x11/gapgraph.c:10:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/gapgraph.c:10:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/gapgraph.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void GapGraphInitialize ( request, new, args, nums )
            ^
../../src.x11/gapgraph.c:123:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void GapGraphDestroy ( w )
            ^
../../src.x11/gapgraph.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void GapGraphResize ( w )
            ^
../../src.x11/gapgraph.c:162:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void GapGraphExpose ( w, evt )
            ^
../../src.x11/gapgraph.c:294:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Int GCColorModel ( dis )
    ^
../../src.x11/gapgraph.c:359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GCSetColorModel ( dis, mod, colors )
     ^
../../src.x11/gapgraph.c:449:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGDrawObject ( w, obj, flag )
     ^
../../src.x11/gapgraph.c:452:29: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Boolean' (aka 'char') declared in a previous prototype [-Wknr-promoted-parameter]
    Boolean                 flag;
                            ^
../../src.x11/gapgraph.h:171:69: note: previous declaration is here
extern void    GGDrawObject( Widget, TypeGapGraphicObject*, Boolean );
                                                                    ^
../../src.x11/gapgraph.c:527:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Int GGAddObject ( w, obj )
    ^
../../src.x11/gapgraph.c:558:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGFreeObject ( obj )
     ^
../../src.x11/gapgraph.c:579:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Boolean GGRemoveObject ( w, pos )
        ^
../../src.x11/gapgraph.c:636:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGStartRemove ( w )
     ^
../../src.x11/gapgraph.c:653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGStopRemove ( w )
     ^
../../src.x11/gapgraph.c:672:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGFastUpdate ( w, flag )
     ^
../../src.x11/gapgraph.c:674:25: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Boolean' (aka 'char') declared in a previous prototype [-Wknr-promoted-parameter]
    Boolean             flag;
                        ^
../../src.x11/gapgraph.h:172:46: note: previous declaration is here
extern void    GGFastUpdate( Widget, Boolean );
                                             ^
../../src.x11/gapgraph.c:705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGFreeAllObjects ( w )
     ^
../../src.x11/gapgraph.c:725:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGFreeGapGraphicObjects ( w )
     ^
../../src.x11/gapgraph.c:744:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GGResize ( w, width, height )
     ^
20 warnings generated.
clang -I. -pipe -Os -I/opt/pkg/include   -o gaptext.o -c ../../src.x11/gaptext.c
In file included from ../../src.x11/gaptext.c:15:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/gaptext.c:15:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/gaptext.c:157:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gap->gap.input_callback( buf, 2 );
                                   ^
../../src.x11/gaptext.c:162:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gap->gap.input_callback( buf, 2 );
                                   ^
../../src.x11/gaptext.c:165:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gap->gap.input_callback( ptr, 1 );
                                   ^
../../src.x11/gaptext.c:302:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gap->gap.input_callback( buf, 2 );
                                   ^
../../src.x11/gaptext.c:307:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gap->gap.input_callback( buf, 2 );
                                   ^
../../src.x11/gaptext.c:310:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gap->gap.input_callback( ptr, 1 );
                                   ^
../../src.x11/gaptext.c:342:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newPos = oldPos+gap->gap.check_caret_pos(gap->text.insertPos,oldPos);
                                                ^
../../src.x11/gaptext.c:787:14: warning: enumeration value 'XawstAlphaNumeric' not handled in switch [-Wswitch]
    switch ( type )
             ^~~~
../../src.x11/gaptext.c:787:14: note: add missing switch cases
    switch ( type )
             ^
../../src.x11/gaptext.c:982:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Int GTPosition ( w )
    ^
../../src.x11/gaptext.c:995:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTSetPosition ( w, pos )
     ^
../../src.x11/gaptext.c:1018:28: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    _XawTextPrepareToUpdate(gap);
                           ^
../../src.x11/gaptext.c:1037:25: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ( _XawTextReplace( gap, from, to, &text ) )
                        ^
../../src.x11/gaptext.c:1044:26: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    _XawTextSetScrollBars(gap);
                         ^
../../src.x11/gaptext.c:1048:24: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    _XawTextCheckResize(gap);
                       ^
../../src.x11/gaptext.c:1049:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    _XawTextExecuteUpdate(gap);
                         ^
../../src.x11/gaptext.c:1007:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTDelete ( w, dir, type )
     ^
../../src.x11/gaptext.c:1063:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTInsertText ( w, str, len )
     ^
../../src.x11/gaptext.c:1097:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTReplaceText ( w, str, len )
     ^
../../src.x11/gaptext.c:1126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTMoveCaret ( w, rpos )
     ^
../../src.x11/gaptext.c:1146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTDeleteLeft ( w )
     ^
../../src.x11/gaptext.c:1164:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTDeleteRight ( w )
     ^
../../src.x11/gaptext.c:1184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTBell ( w )
     ^
../../src.x11/gaptext.c:1195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GTDropGapPrompt ( w, flag )
     ^
../../src.x11/gaptext.c:1197:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Boolean' (aka 'char') declared in a previous prototype [-Wknr-promoted-parameter]
    Boolean         flag;
                    ^
../../src.x11/gaptext.h:235:46: note: previous declaration is here
extern void GTDropGapPrompt( Widget, Boolean );
                                             ^
26 warnings generated.
clang -I. -pipe -Os -I/opt/pkg/include   -o pty.o -c ../../src.x11/pty.c
In file included from ../../src.x11/pty.c:37:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/pty.c:37:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/pty.c:168:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Int ReadGap ( line, len )
    ^
../../src.x11/pty.c:234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void WriteGap ( line, len )
     ^
../../src.x11/pty.c:333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void WaitInput ( buf )
     ^
../../src.x11/pty.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void WaitInput2 ( buf )
     ^
../../src.x11/pty.c:381:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ReadLine ( buf )
     ^
../../src.x11/pty.c:431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void StoreInput ( str, len )
     ^
../../src.x11/pty.c:456:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ProcessStoredInput ( state )
     ^
../../src.x11/pty.c:474:30: warning: comparison of array 'ScreenSizeBuffer' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if ( Storage.len == 0 && ScreenSizeBuffer == 0 )
                             ^~~~~~~~~~~~~~~~    ~
../../src.x11/pty.c:555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void SimulateInput ( str )
     ^
../../src.x11/pty.c:582:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int PlaybackFile ( str )
    ^
../../src.x11/pty.c:606:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void KeyboardInput ( str, len )
     ^
../../src.x11/pty.c:747:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Int CheckCaretPos ( new, old )
    ^
../../src.x11/pty.c:821:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void GapOutput ( cld, fid, id )
     ^
../../src.x11/pty.c:1223:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static Boolean GetMasterPty ( pty )
               ^
../../src.x11/pty.c:1320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int StartGapProcess ( name, argv )
    ^
17 warnings generated.
clang -I. -pipe -Os -I/opt/pkg/include   -o popdial.o -c ../../src.x11/popdial.c
In file included from ../../src.x11/popdial.c:54:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/popdial.c:54:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/popdial.c:85:44: warning: missing sentinel in function call [-Wsentinel]
    XtVaGetValues( w, XtNlabel, &name, 0, 0 );
                                           ^
                                           , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/popdial.c:75:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void ButtonSelected ( w, cld, cd )
            ^
../../src.x11/popdial.c:100:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
TypePopupDialog CreatePopupDialog ( app, top, name, bt, def, pix )
                ^
../../src.x11/popdial.c:130:14: warning: missing sentinel in function call [-Wsentinel]
                                 0 );
                                  ^
                                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1334:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreatePopupShell(
              ^
../../src.x11/popdial.c:136:14: warning: missing sentinel in function call [-Wsentinel]
                                 0 );
                                  ^
                                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1334:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreatePopupShell(
              ^
../../src.x11/popdial.c:141:34: warning: missing sentinel in function call [-Wsentinel]
                             0, 0 );
                                 ^
                                 , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/popdial.c:147:34: warning: missing sentinel in function call [-Wsentinel]
                             0, 0 );
                                 ^
                                 , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/popdial.c:161:12: warning: missing sentinel in function call [-Wsentinel]
                            0, 0 );
                                ^
                                , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/popdial.c:166:12: warning: missing sentinel in function call [-Wsentinel]
                            0, 0 );
                                ^
                                , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/popdial.c:202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Int PopupDialog ( dialog, message, deflt, result )
    ^
../../src.x11/popdial.c:232:20: warning: missing sentinel in function call [-Wsentinel]
                   0,           0 );
                                 ^
                                 , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/popdial.c:236:23: warning: missing sentinel in function call [-Wsentinel]
                   0,              0 );
                                    ^
                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/popdial.c:250:23: warning: missing sentinel in function call [-Wsentinel]
                   0,0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/popdial.c:260:23: warning: missing sentinel in function call [-Wsentinel]
                   0,              0 );
                                    ^
                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/popdial.c:280:13: warning: missing sentinel in function call [-Wsentinel]
                   0,    0 );
                          ^
                          , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
17 warnings generated.
clang -I. -pipe -Os -I/opt/pkg/include   -o xgap.o -c ../../src.x11/xgap.c
In file included from ../../src.x11/xgap.c:10:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/xgap.c:10:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/xgap.c:282:64: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( item->entry, XtNrightBitmap, CheckMarkSymbol, 0 );
                                                                      ^
                                                                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:284:64: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( item->entry, XtNrightBitmap, EmptyMarkSymbol, 0 );
                                                                      ^
                                                                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void MenuPastePrompt ( item )
            ^
../../src.x11/xgap.c:292:64: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( item->entry, XtNrightBitmap, CheckMarkSymbol, 0 );
                                                                      ^
                                                                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:294:64: warning: missing sentinel in function call [-Wsentinel]
        XtVaSetValues( item->entry, XtNrightBitmap, EmptyMarkSymbol, 0 );
                                                                      ^
                                                                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:287:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void MenuQuitGapCTRD ( item )
            ^
../../src.x11/xgap.c:298:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void MenuReadFile ( item )
     ^
../../src.x11/xgap.c:444:12: warning: missing sentinel in function call [-Wsentinel]
                               0 );
                                ^
                                , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xgap.c:451:58: warning: missing sentinel in function call [-Wsentinel]
                    XtVaSetValues( items->entry, XtNsensitive, False, 0 );
                                                                       ^
                                                                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:455:58: warning: missing sentinel in function call [-Wsentinel]
                    XtVaSetValues( items->entry, XtNsensitive, False, 0 );
                                                                       ^
                                                                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:459:58: warning: missing sentinel in function call [-Wsentinel]
                    XtVaSetValues( items->entry, XtNsensitive, False, 0 );
                                                                       ^
                                                                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:463:58: warning: missing sentinel in function call [-Wsentinel]
                    XtVaSetValues( items->entry, XtNsensitive, False, 0 );
                                                                       ^
                                                                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:467:58: warning: missing sentinel in function call [-Wsentinel]
                    XtVaSetValues( items->entry, XtNsensitive, False, 0 );
                                                                       ^
                                                                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:482:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (*(item->click))(item);
                        ^
../../src.x11/xgap.c:496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void UpdateMenus ( state )
     ^
../../src.x11/xgap.c:507:61: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, True, 0 );
                                                                   ^
                                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:509:62: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, False, 0 );
                                                                    ^
                                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:517:61: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, True, 0 );
                                                                   ^
                                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:519:62: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, False, 0 );
                                                                    ^
                                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:527:61: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, True, 0 );
                                                                   ^
                                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:529:62: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, False, 0 );
                                                                    ^
                                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:537:61: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, True, 0 );
                                                                   ^
                                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:539:62: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, False, 0 );
                                                                    ^
                                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:547:61: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, True, 0 );
                                                                   ^
                                                                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:549:62: warning: missing sentinel in function call [-Wsentinel]
            XtVaSetValues( (Widget)l->ptr[i], XtNsensitive, False, 0 );
                                                                    ^
                                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1615:13: note: function has been explicitly marked sentinel here
extern void XtVaSetValues(
            ^
../../src.x11/xgap.c:570:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void UpdateMemoryInfo ( type, val )
     ^
../../src.x11/xgap.c:618:44: warning: missing sentinel in function call [-Wsentinel]
        XtVaGetValues( talk, XtNtextSink, &snk,  0 );
                                                  ^
                                                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xgap.c:619:44: warning: missing sentinel in function call [-Wsentinel]
        XtVaGetValues( snk,  XtNfont,     &font, 0 );
                                                  ^
                                                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xgap.c:705:5: warning: missing sentinel in function call [-Wsentinel]
                 0 );
                  ^
                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xgap.c:713:5: warning: missing sentinel in function call [-Wsentinel]
                 0 );
                  ^
                  , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/xgap.c:733:54: warning: missing sentinel in function call [-Wsentinel]
    XtVaGetValues( GapTalk, XtNquitGapCtrD, &flag,  0 );
                                                     ^
                                                     , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xgap.c:740:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            GapMenu[i].click(&(GapMenu[i]));
                            ^
../../src.x11/xgap.c:744:57: warning: missing sentinel in function call [-Wsentinel]
    XtVaGetValues( GapTalk, XtNpasteGapPrompt, &flag,  0 );
                                                        ^
                                                        , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xgap.c:751:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            GapMenu[i].click(&(GapMenu[i]));
                            ^
../../src.x11/xgap.c:802:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return OldErrorHandler( dis, evt );
                          ^
../../src.x11/xgap.c:794:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int MyErrorHandler ( dis, evt )
           ^
../../src.x11/xgap.c:819:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return OldIOErrorHandler(dis);
                            ^
../../src.x11/xgap.c:812:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int MyIOErrorHandler ( dis )
           ^
../../src.x11/xgap.c:913:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void ParseArgs ( argc, argv )
            ^
../../src.x11/xgap.c:1080:40: warning: missing sentinel in function call [-Wsentinel]
                              &i, argv, FallbackResources, 0 );
                                                            ^
                                                            , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1503:15: note: function has been explicitly marked sentinel here
extern Widget XtVaAppInitialize( /* obsolete */
              ^
../../src.x11/xgap.c:1098:13: warning: passing 'unsigned char[24]' 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]
                                        menusym_bits, menusym_width,
                                        ^~~~~~~~~~~~
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Xlib.h:1603:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
../../src.x11/xgap.c:1148:53: warning: missing sentinel in function call [-Wsentinel]
    XtVaGetValues( GapTalk, XtNcolorModel, &color, 0 );
                                                    ^
                                                    , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xgap.c:1172:47: warning: missing sentinel in function call [-Wsentinel]
        XtVaGetValues( GapTalk, XtNcolors, &colors, 0 );
                                                     ^
                                                     , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/xgap.c:1058:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int main ( argc,  argv )
    ^
46 warnings generated.
clang -I. -pipe -Os -I/opt/pkg/include   -o selfile.o -c ../../src.x11/selfile.c
In file included from ../../src.x11/selfile.c:57:
../../src.x11/utils.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern pid_t wait3();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:254:9: note: conflicting prototype is here
pid_t   wait3(int *, int, struct rusage *);
        ^
In file included from ../../src.x11/selfile.c:57:
../../src.x11/utils.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int   select();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_select.h:43:10: note: conflicting prototype is here
int      select(int, fd_set * __restrict, fd_set * __restrict,
         ^
../../src.x11/selfile.c:137:12: error: redeclaration of 'sys_nerr' with a different type: 'int' vs 'const int'
extern int sys_nerr;
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:360:20: note: previous declaration is here
extern __const int sys_nerr;            /* perror(3) external variables */
                   ^
../../src.x11/selfile.c:167:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *getwd();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:564:7: note: conflicting prototype is here
char    *getwd(char *) __POSIX_C_DEPRECATED(200112L); /* obsoleted by getcwd() */
         ^
../../src.x11/selfile.c:269:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int SFcompareEntries ( p, q )
           ^
../../src.x11/selfile.c:130:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int SFcompareEntries();
           ^
../../src.x11/selfile.c:277:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int SFgetDir( dir )
           ^
../../src.x11/selfile.c:471:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void SFclearList(n, doScroll)
     ^
../../src.x11/selfile.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFdeleteEntry(dir, entry)
^
../../src.x11/selfile.c:570:25: warning: passing arguments to 'SFstatChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        name[last] = SFstatChar(statBuf);
                               ^
../../src.x11/selfile.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFwriteStatChar(name, last, statBuf)
^
../../src.x11/selfile.c:573:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int SFchdir(path)
           ^
../../src.x11/selfile.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFstatAndCheck(dir, entry)
^
../../src.x11/selfile.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFdrawStrings(w, dir, from, to)
^
../../src.x11/selfile.c:734:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void SFdrawList(n, doScroll)
     ^
../../src.x11/selfile.c:759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void SFdrawLists(doScroll)
     ^
../../src.x11/selfile.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFinvertEntry(n)
^
../../src.x11/selfile.c:823:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        n = (int) p;
            ^~~~~~~
../../src.x11/selfile.c:830:26: warning: passing arguments to 'SFvSliderMovedCallback' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        SFvSliderMovedCallback(selFileVScrolls[n], n,
                                              ^
../../src.x11/selfile.c:835:26: warning: passing arguments to 'SFvSliderMovedCallback' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        SFvSliderMovedCallback(selFileVScrolls[n], n,
                                              ^
../../src.x11/selfile.c:853:44: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                        SFscrollTimerInterval(), SFscrollTimer, (XtPointer) n);
                                                                ^~~~~~~~~~~~~
../../src.x11/selfile.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFscrollTimer(p, id)
^
../../src.x11/selfile.c:894:6: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                                        (XtPointer) n);
                                        ^~~~~~~~~~~~~
../../src.x11/selfile.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFnewInvertEntry(n, event)
^
../../src.x11/selfile.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFenterList(w, n, event)
^
../../src.x11/selfile.c:113:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFenterList(),
        ^
../../src.x11/selfile.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFleaveList(w, n, event)
^
../../src.x11/selfile.c:114:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFleaveList(),
        ^
../../src.x11/selfile.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFmotionList(w, n, event)
^
../../src.x11/selfile.c:115:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFmotionList(),
        ^
../../src.x11/selfile.c:970:24: warning: passing arguments to 'SFvSliderMovedCallback' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        SFvSliderMovedCallback(w, n, new);
                              ^
../../src.x11/selfile.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFvFloatSliderMovedCallback(w, n, fnew)
^
../../src.x11/selfile.c:121:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFvFloatSliderMovedCallback(),
        ^
../../src.x11/selfile.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFvSliderMovedCallback(w, n, new)
^
../../src.x11/selfile.c:120:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFvSliderMovedCallback(),
        ^
../../src.x11/selfile.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFvAreaSelectedCallback(w, n, pnew)
^
../../src.x11/selfile.c:124:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFvAreaSelectedCallback(),
        ^
../../src.x11/selfile.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFhSliderMovedCallback(w, n, new)
^
../../src.x11/selfile.c:122:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFhSliderMovedCallback(),
        ^
../../src.x11/selfile.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFhAreaSelectedCallback(w, n, pnew)
^
../../src.x11/selfile.c:125:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFhAreaSelectedCallback(),
        ^
../../src.x11/selfile.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFpathSliderMovedCallback(w, client_data, new)
^
../../src.x11/selfile.c:123:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFpathSliderMovedCallback(),
        ^
../../src.x11/selfile.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFpathAreaSelectedCallback(w, client_data, pnew)
^
../../src.x11/selfile.c:126:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFpathAreaSelectedCallback();
        ^
../../src.x11/selfile.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFfree(i)
^
../../src.x11/selfile.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFstrdup(s1, s2)
^
../../src.x11/selfile.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFunreadableDir(dir)
^
../../src.x11/selfile.c:1304:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void SFsetText(path)
            ^
../../src.x11/selfile.c:1319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFreplaceText(dir, str)
^
../../src.x11/selfile.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFexpand(str)
^
../../src.x11/selfile.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFfindFile(dir, str)
^
../../src.x11/selfile.c:1508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFcompareLogins(p, q)
^
../../src.x11/selfile.c:1593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFfindHomeDir(begin, end)
^
../../src.x11/selfile.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFbuttonPressList(w, n, event)
^
../../src.x11/selfile.c:116:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFbuttonPressList(),
        ^
../../src.x11/selfile.c:1842:22: warning: incompatible pointer types passing 'XButtonReleasedEvent *' (aka 'XButtonEvent *') to parameter of type 'XMotionEvent *' [-Wincompatible-pointer-types]
                SFmotionList(w, n, event);
                                   ^~~~~
../../src.x11/selfile.c:1823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFbuttonReleaseList(w, n, event)
^
../../src.x11/selfile.c:117:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        SFbuttonReleaseList();
        ^
../../src.x11/selfile.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFcheckDir(n, dir)
^
../../src.x11/selfile.c:1948:20: warning: passing arguments to 'SFstatChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        new = SFstatChar(&statBuf);
                                        ^
../../src.x11/selfile.c:1921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFcheckFiles(dir)
^
../../src.x11/selfile.c:1960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFdirModTimer(cl, id)
^
../../src.x11/selfile.c:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void SFdirModTimer();
            ^
../../src.x11/selfile.c:2008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFstatChar (statBuf)
^
../../src.x11/selfile.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char SFstatChar();
            ^
../../src.x11/selfile.c:2036:13: warning: incompatible pointer to integer conversion passing 'XtPointer' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
        SFdrawList(n, SF_DO_NOT_SCROLL);
                   ^
../../src.x11/selfile.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFexposeList(w, n, event, cont)
^
../../src.x11/selfile.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFmodVerifyCallback(w, client_data, event, cont)
^
../../src.x11/selfile.c:2061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFokCallback(w, cl, cd)
^
../../src.x11/selfile.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFcancelCallback(w, cl, cd)
^
../../src.x11/selfile.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFhomeCallback(w, cl, cd)
^
../../src.x11/selfile.c:2103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SFdismissAction(w, event, params, num_params)
^
../../src.x11/selfile.c:2123:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void SFpositionWidget(w)
            ^
../../src.x11/selfile.c:2214:6: warning: missing sentinel in function call [-Wsentinel]
                  0 );
                   ^
                   , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1431:15: note: function has been explicitly marked sentinel here
extern Widget XtVaAppCreateShell(
              ^
../../src.x11/selfile.c:2226:10: warning: missing sentinel in function call [-Wsentinel]
                      0);
                       ^
                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2237:24: warning: missing sentinel in function call [-Wsentinel]
                      0 );
                       ^
                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2241:10: warning: missing sentinel in function call [-Wsentinel]
                      0 );
                       ^
                       , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here
extern void XtVaGetValues(
            ^
../../src.x11/selfile.c:2307:9: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2324:9: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2341:9: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2356:9: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2370:9: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2381:9: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2383:39: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                       SFvFloatSliderMovedCallback, (XtPointer) n );
                                                    ^~~~~~~~~~~~~
../../src.x11/selfile.c:2385:29: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                        SFvAreaSelectedCallback, (XtPointer) n );
                                                 ^~~~~~~~~~~~~
../../src.x11/selfile.c:2395:23: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2397:34: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                       SFhSliderMovedCallback, (XtPointer) n );
                                               ^~~~~~~~~~~~~
../../src.x11/selfile.c:2399:35: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                       SFhAreaSelectedCallback, (XtPointer) n );
                                                ^~~~~~~~~~~~~
../../src.x11/selfile.c:2413:23: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2427:23: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2441:23: warning: missing sentinel in function call [-Wsentinel]
                     0 );
                      ^
                      , NULL
/Users/pbulk/build/math/xgap/work/.buildlink/include/X11/Intrinsic.h:1408:15: note: function has been explicitly marked sentinel here
extern Widget XtVaCreateManagedWidget(
              ^
../../src.x11/selfile.c:2472:21: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                           SFexposeList, (XtPointer) n );
                                         ^~~~~~~~~~~~~
../../src.x11/selfile.c:2474:20: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                           SFenterList, (XtPointer) n );
                                        ^~~~~~~~~~~~~
../../src.x11/selfile.c:2476:20: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                           SFleaveList, (XtPointer) n );
                                        ^~~~~~~~~~~~~
../../src.x11/selfile.c:2478:21: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                           SFmotionList, (XtPointer) n );
                                         ^~~~~~~~~~~~~
../../src.x11/selfile.c:2480:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                           SFbuttonPressList, (XtPointer) n );
                                              ^~~~~~~~~~~~~
../../src.x11/selfile.c:2482:29: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Int' (aka 'int') [-Wint-to-void-pointer-cast]
                           SFbuttonReleaseList, (XtPointer) n );
                                                ^~~~~~~~~~~~~
../../src.x11/selfile.c:2196:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void SFcreateWidgets ( toplevel )
            ^
../../src.x11/selfile.c:2519:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Boolean XsraSelFile ( toplevel, prompt, init_path, show_entry, name_return )
        ^
99 warnings and 1 error generated.
*** [selfile.o] Error code 1

bmake[1]: stopped in /Users/pbulk/build/math/xgap/work/xgap/bin/aarch64-apple-darwin22-clang
1 error

bmake[1]: stopped in /Users/pbulk/build/math/xgap/work/xgap/bin/aarch64-apple-darwin22-clang
*** [compile] Error code 2

bmake: stopped in /Users/pbulk/build/math/xgap/work/xgap
1 error

bmake: stopped in /Users/pbulk/build/math/xgap/work/xgap
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/xgap
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/xgap