WARNING: [license.mk] Every package should define a LICENSE.
===> Building for piewm-1.04
rm -f vdt.o
clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE     -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" vdt.c
vdt.c:513:10: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
                fres = fork();
                       ^
vdt.c:516:4: warning: implicit declaration of function 'execlp' is invalid in C99 [-Wimplicit-function-declaration]
                        execlp("xloadimage", "xsetbg", "-display",
                        ^
vdt.c:607:58: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
        pm = FindPixmap(Scr->PannerPixmap, &pmWidth, &pmHeight, &pmPixmap,
                                                                ^~~~~~~~~
./util.h:45:89: note: passing argument to parameter 'isXpm' here
extern Pixmap   FindPixmap(char *name, unsigned int *widthp, unsigned int *heightp, Bool *isXpm, Pixel *bg_color, Pixmap *shape_mask);
                                                                                          ^
vdt.c:97:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
4 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c add_window.c
add_window.c:164:28: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
    tmp_win = (TwmWindow *)calloc(1, sizeof(TwmWindow));
                           ^
add_window.c:164:28: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
add_window.c:201:26: warning: implicit declaration of function 'Transient' is invalid in C99 [-Wimplicit-function-declaration]
    tmp_win->transient = Transient(tmp_win->w);
                         ^
add_window.c:342:37: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
            tmp_win->wmhints = (XWMHints *)malloc(sizeof(XWMHints));
                                           ^
add_window.c:342:37: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
add_window.c:400:2: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
        free((char *)tmp_win);
        ^
add_window.c:400:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
add_window.c:436:2: warning: implicit declaration of function 'GetColorFromList' is invalid in C99 [-Wimplicit-function-declaration]
        GetColorFromList(Scr->TitleForegroundL, tmp_win->full_name, &tmp_win->class,
        ^
add_window.c:445:5: warning: implicit declaration of function 'GetColorFromList' is invalid in C99 [-Wimplicit-function-declaration]
    GetColorFromList(Scr->BorderColorL, tmp_win->full_name, &tmp_win->class,
    ^
add_window.c:486:27: warning: implicit declaration of function 'MakeVirtual' is invalid in C99 [-Wimplicit-function-declaration]
        tmp_win->virtualWindow = MakeVirtual(tmp_win,
                                 ^
add_window.c:842:5: warning: implicit declaration of function 'SetSWM_ROOT' is invalid in C99 [-Wimplicit-function-declaration]
    SetSWM_ROOT(tmp_win);
    ^
add_window.c:41:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
9 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c gc.c
gc.c:40:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
1 warning generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c list.c
list.c:82:2: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
        twmrc_error_prefix();
        ^
list.c:84:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                 sizeof(name_list));
                 ^~~~~~~~~~~~~~~~~
list.c:41:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
3 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c twm.c
twm.c:236:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
        exit (1);
        ^
twm.c:236:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
twm.c:250:12: warning: implicit declaration of function 'getenv' is invalid in C99 [-Wimplicit-function-declaration]
    Home = getenv("HOME");
           ^
twm.c:250:10: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
    Home = getenv("HOME");
         ^ ~~~~~~~~~~~~~~
twm.c:306:34: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
    ScreenList = (ScreenInfo **) calloc (NumScreens, sizeof (ScreenInfo *));
                                 ^
twm.c:306:34: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
twm.c:389:23: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
                (ColormapWindow **) malloc(sizeof(ColormapWindow *));
                                    ^
twm.c:389:23: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
twm.c:948:7: warning: implicit declaration of function 'XmuPrintDefaultErrorMessage' is invalid in C99 [-Wimplicit-function-declaration]
      XmuPrintDefaultErrorMessage (dpy, event, stderr);
      ^
twm.c:91:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[] =
            ^
7 warnings generated.
rm -f parse.o
clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE     '-DPIEWMDIR="/opt/pkg/lib/piewm"' parse.c
parse.c:112:2: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration]
        yyparse();
        ^
parse.c:900:3: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                twmrc_error_prefix();
                ^
parse.c:915:3: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                twmrc_error_prefix();
                ^
parse.c:931:3: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                twmrc_error_prefix();
                ^
parse.c:944:3: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                twmrc_error_prefix();
                ^
parse.c:993:6: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
            twmrc_error_prefix();
            ^
parse.c:998:6: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
            twmrc_error_prefix();
            ^
parse.c:1313:2: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
        twmrc_error_prefix();
        ^
parse.c:1318:2: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
        twmrc_error_prefix();
        ^
parse.c:1324:2: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
        twmrc_error_prefix();
        ^
parse.c:1337:6: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
            twmrc_error_prefix();
            ^
parse.c:1339:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                     sizeof(SqueezeInfo));
                     ^~~~~~~~~~~~~~~~~~~
parse.c:1465:2: warning: implicit declaration of function 'XmuGetHostname' is invalid in C99 [-Wimplicit-function-declaration]
        XmuGetHostname(client, MAXHOSTNAME);
        ^
parse.c:40:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
14 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c menus.c
menus.c:334:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                 ProgramName, sizeof(TitleButton));
                              ^~~~~~~~~~~~~~~~~~~
menus.c:1784:24: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types]
            DragIcon(tmp_win, eventp, pulldown);
                              ^~~~~~
./move.h:43:49: note: passing argument to parameter 'ev' here
void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown);
                                                ^
menus.c:1786:25: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types]
            DragFrame(tmp_win, eventp, pulldown);
                               ^~~~~~
./move.h:42:50: note: passing argument to parameter 'ev' here
void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown);
                                                 ^
menus.c:1805:10: warning: implicit declaration of function 'NeedToDefer' is invalid in C99 [-Wimplicit-function-declaration]
            if (NeedToDefer(mroot) &&
                ^
menus.c:1475:12: warning: variable 'rootw' set but not used [-Wunused-but-set-variable]
    Window rootw;
           ^
menus.c:131:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[] =
            ^
6 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c events.c
events.c:438:6: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
            free((char *) cmap);
            ^
events.c:438:6: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
events.c:1307:2: warning: implicit declaration of function 'IconDown' is invalid in C99 [-Wimplicit-function-declaration]
        IconDown (Tmp_win);
        ^
events.c:2659:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        } else if (ev->type == LeaveNotify) {
          ^
events.c:90:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
4 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c resize.c
resize.c:76:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
1 warning generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c util.c
util.c:276:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                 ProgramName, HomeLen + strlen(name) + 2, Home, &name[1]);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
util.c:423:10: warning: implicit declaration of function 'XcprLocatePixmapFile' is invalid in C99 [-Wimplicit-function-declaration]
    pm = XcprLocatePixmapFile (ScreenOfDisplay(dpy, Scr->screen), bigname,
         ^
util.c:521:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                     ProgramName, sizeof (StdCmap));
                                  ^~~~~~~~~~~~~~~~
util.c:40:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
4 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c version.c
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c iconmgr.c
iconmgr.c:101:2: warning: implicit declaration of function 'GetColorFromList' is invalid in C99 [-Wimplicit-function-declaration]
        GetColorFromList(Scr->IconManagerBL, p->name, (XClassHint *)NULL,
        ^
iconmgr.c:426:5: warning: implicit declaration of function 'GetColorFromList' is invalid in C99 [-Wimplicit-function-declaration]
    GetColorFromList(Scr->IconManagerFL, tmp_win->full_name, &tmp_win->class,
    ^
2 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c cursor.c
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c icons.c
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c move.c
move.c:320:9: warning: variable 'deltax' set but not used [-Wunused-but-set-variable]
    int deltax, deltay;
        ^
move.c:320:17: warning: variable 'deltay' set but not used [-Wunused-but-set-variable]
    int deltax, deltay;
                ^
move.c:451:5: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration]
                        (abs(event.xbutton.x_root - rootX) >= Scr->MoveDelta ||
                         ^
move.c:451:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
move.c:38:13: warning: unused variable 'RCSinfo' [-Wunused-variable]
static char RCSinfo[]=
            ^
4 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c LocPixmap.c
rm -f piewm._man
if test -z "" ; then  cd `dirname piewm` &&  ln -s `basename piewm.man` `basename piewm._man`;  else  /usr/bin/cpp -undef -traditional -D__GNUC__  -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org"   < piewm.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\/' >piewm._man;  fi
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c gram.c
y.tab.c:1759:16: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration]
      yychar = YYLEX;
               ^
y.tab.c:1115:16: note: expanded from macro 'YYLEX'
# define YYLEX yylex ()
               ^
gram.y:117:7: warning: implicit declaration of function 'AddIconRegion' is invalid in C99 [-Wimplicit-function-declaration]
    { AddIconRegion((yyvsp[(2) - (6)].ptr), (yyvsp[(3) - (6)].num), (yyvsp[(4) - (6)].num), (yyvsp[(5) - (6)].num), (yyvsp[(6) - (6)].num)); }
      ^
gram.y:272:10: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                            twmrc_error_prefix();
                                            ^
gram.y:282:10: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                            twmrc_error_prefix();
                                            ^
gram.y:292:10: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                            twmrc_error_prefix();
                                            ^
gram.y:318:11: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                             twmrc_error_prefix();
                                             ^
gram.y:370:7: warning: implicit declaration of function 'do_pixmap_keyword' is invalid in C99 [-Wimplicit-function-declaration]
    { do_pixmap_keyword((yyvsp[(1) - (2)].num),(yyvsp[(2) - (2)].ptr)); }
      ^
gram.y:382:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->FrameCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:386:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->TitleCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:390:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->IconCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:394:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->IconMgrCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:398:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->ButtonCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:402:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->MoveCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:406:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->ResizeCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:410:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->WaitCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:414:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->MenuCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:418:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->SelectCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:422:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration]
                        NewBitmapCursor(&Scr->DestroyCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); }
                        ^
gram.y:436:10: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                            twmrc_error_prefix();
                                            ^
gram.y:446:10: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                            twmrc_error_prefix();
                                            ^
gram.y:456:10: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                            twmrc_error_prefix();
                                            ^
gram.y:591:6: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                        twmrc_error_prefix();
                                        ^
gram.y:599:6: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                        twmrc_error_prefix();
                                        ^
gram.y:610:6: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                        twmrc_error_prefix();
                                        ^
gram.y:629:7: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration]
                                                yyerror("bad button 0");
                                                ^
gram.y:641:8: warning: implicit declaration of function 'RemoveDQuote' is invalid in C99 [-Wimplicit-function-declaration]
                                          RemoveDQuote(ptr);
                                          ^
y.tab.c:2822:7: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration]
      yyerror (YY_("syntax error"));
      ^
y.tab.c:2968:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration]
  yyerror (YY_("memory exhausted"));
  ^
gram.y:648:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
yyerror(s) char *s;
^
gram.y:650:5: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
    twmrc_error_prefix();
    ^
gram.y:653:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
gram.y:654:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RemoveDQuote(str)
^
gram.y:658:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    register n;
    ~~~~~~~~ ^
gram.y:659:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    register count;
    ~~~~~~~~ ^
gram.y:736:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
gram.y:819:10: warning: implicit declaration of function 'CreateTitleButton' is invalid in C99 [-Wimplicit-function-declaration]
    if (!CreateTitleButton (bitmapname, func, Action, pull, rightside, True)) {
         ^
gram.y:820:2: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
        twmrc_error_prefix();
        ^
gram.y:871:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
twmrc_error_prefix ()
^
gram.y:874:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
39 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c lex.c
lex.l:49:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
yywrap() { return(1);}
^
lex.l:73:15: warning: implicit declaration of function 'parse_keyword' is invalid in C99 [-Wimplicit-function-declaration]
{ int token = parse_keyword (yytext, 
              ^
lex.l:76:11: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                      twmrc_error_prefix();
                                      ^
lex.l:95:7: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration]
                                  twmrc_error_prefix();
                                  ^
lex.yy.c:1284:17: warning: unused function 'yyunput' [-Wunused-function]
    static void yyunput (int c, char * yy_bp )
                ^
lex.yy.c:1331:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration]
    static int input  (void)
               ^
6 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS  	 -DDBE  -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common           -DRES  -DSHAPE    -I/opt/pkg/include -c deftwmrc.c
rm -f piewm
clang -o piewm -Os -Wall -Wpointer-arith -no-cpp-precomp    -L/opt/pkg/lib -L/opt/pkg/lib   gram.o lex.o deftwmrc.o add_window.o gc.o list.o twm.o 		parse.o menus.o events.o resize.o util.o version.o iconmgr.o 		cursor.o icons.o vdt.o move.o LocPixmap.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lXext -lX11 -lm -lXpm -lfl      
ld: library not found for -lfl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [piewm] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/wm/piewm/work/piewm-1.04
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/wm/piewm/work/piewm-1.04
*** Error code 2

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

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/wm/piewm