=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for piewm-1.04 cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c gram.c 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: control reaches end of non-void function [-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: control reaches end of non-void function [-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:871:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] twmrc_error_prefix () ^ gram.y:874:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ y.tab.c:1467:23: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] if ((yychar = YYLEX) < 0) yychar = YYEOF; ^ y.tab.c:91:16: note: expanded from macro 'YYLEX' # define YYLEX yylex() ^ gram.y:117:4: warning: implicit declaration of function 'AddIconRegion' is invalid in C99 [-Wimplicit-function-declaration] { AddIconRegion(yystack.l_mark[-4].ptr, yystack.l_mark[-3].num, yystack.l_mark[-2].num, yystack.l_mark[-1].num, yystack.l_mark[0].num); } ^ gram.y:370:4: warning: implicit declaration of function 'do_pixmap_keyword' is invalid in C99 [-Wimplicit-function-declaration] { do_pixmap_keyword(yystack.l_mark[-1].num,yystack.l_mark[0].ptr); } ^ gram.y:382:4: warning: implicit declaration of function 'NewBitmapCursor' is invalid in C99 [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->FrameCursor, yystack.l_mark[-1].ptr, yystack.l_mark[0].ptr); } ^ 14 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/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(); ^ 3 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c deftwmrc.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c add_window.c add_window.c:164:28: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned int, unsigned int)' tmp_win = (TwmWindow *)calloc(1, sizeof(TwmWindow)); ^ add_window.c:164:28: note: include the header 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 int)' tmp_win->wmhints = (XWMHints *)malloc(sizeof(XWMHints)); ^ add_window.c:342:37: note: include the header or explicitly provide a declaration for 'malloc' add_window.c:400:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free((char *)tmp_win); ^ 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: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); ^ 7 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c gc.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/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(); ^ 1 warning generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c twm.c twm.c:236:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit (1); ^ twm.c:236:2: note: include the header 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 int, unsigned int)' ScreenList = (ScreenInfo **) calloc (NumScreens, sizeof (ScreenInfo *)); ^ twm.c:306:34: note: include the header or explicitly provide a declaration for 'calloc' twm.c:389:23: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' (ColormapWindow **) malloc(sizeof(ColormapWindow *)); ^ twm.c:389:23: note: include the header 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); ^ 6 warnings generated. rm -f parse.o cc -c -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE '-DPIEWMDIR="/usr/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:231:3: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] wait (&ignore); ^ parse.c:900:3: warning: implicit declaration of function 'twmrc_error_prefix' is invalid in C99 [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:1465:2: warning: implicit declaration of function 'XmuGetHostname' is invalid in C99 [-Wimplicit-function-declaration] XmuGetHostname(client, MAXHOSTNAME); ^ 4 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c menus.c 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) && ^ 3 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c events.c events.c:438:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free((char *) cmap); ^ 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) { ^ 3 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -I/usr/X11R7/include -c resize.c rm -f util.o cc -c -O -I/usr/pkg/include -I /usr/X11R7/include -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DBIGREQS -DDBE -DDPMSExtension -DEVI -DSHAPE -DNOPUTENV util.c 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:723:24: error: too few arguments provided to function-like macro invocation extern char *index(); ^ /usr/pkgsrc/work/wm/piewm/work/.buildlink/include/X11/Xos.h:67:12: note: macro 'index' defined here # define index(s,c) (strchr((s),(c))) ^ util.c:723:18: error: redefinition of 'index' as different kind of symbol extern char *index(); ^ /usr/include/strings.h:56:7: note: previous definition is here char *index(const char *, int); ^ util.c:753:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ 2 warnings and 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/wm/piewm/work/piewm-1.04 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/wm/piewm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/wm/piewm