=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for piewm-1.04 rm -f vdt.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fres = fork(); ^ vdt.c:516:4: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'Transient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tmp_win->transient = Transient(tmp_win->w); ^ add_window.c:342:37: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'GetColorFromList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GetColorFromList(Scr->TitleForegroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:445:5: warning: call to undeclared function 'GetColorFromList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GetColorFromList(Scr->BorderColorL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:486:27: warning: call to undeclared function 'MakeVirtual'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tmp_win->virtualWindow = MakeVirtual(tmp_win, ^ add_window.c:539:23: warning: passing arguments to 'ComputeTitleLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeTitleLocation (tmp_win); ^ add_window.c:842:5: warning: call to undeclared function 'SetSWM_ROOT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetSWM_ROOT(tmp_win); ^ In file included from add_window.c:46: ./twm.h:310:6: 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] void ComputeWindowTitleOffsets(), ComputeTitleLocation(); ^ add_window.c:1177:1: note: conflicting prototype is here ComputeWindowTitleOffsets (TwmWindow *tmp_win, int width, Bool squeeze) ^ In file included from add_window.c:46: ./twm.h:310:35: 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] void ComputeWindowTitleOffsets(), ComputeTitleLocation(); ^ add_window.c:1201:1: note: conflicting prototype is here ComputeTitleLocation (TwmWindow *tmp) ^ add_window.c:1531:12: warning: passing arguments to 'free_cwins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_cwins(tmp); ^ add_window.c:41:13: warning: unused variable 'RCSinfo' [-Wunused-variable] static char RCSinfo[]= ^ 13 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'getenv'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-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:391:23: warning: passing arguments to 'CreateColormapWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateColormapWindow(Scr->Root, True, False); ^ twm.c:440:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&UpperLeftCursor, "top_left_corner"); ^ twm.c:441:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&RightButt, "rightbutton"); ^ twm.c:442:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&LeftButt, "leftbutton"); ^ twm.c:443:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&MiddleButt, "middlebutton"); ^ twm.c:483:12: warning: passing arguments to 'ParseTwmrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseTwmrc(InitFile); ^ twm.c:653:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->FrameCursor, "top_left_arrow"); ^ twm.c:654:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->TitleCursor, "top_left_arrow"); ^ twm.c:655:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconCursor, "top_left_arrow"); ^ twm.c:656:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconMgrCursor, "top_left_arrow"); ^ twm.c:657:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MoveCursor, "fleur"); ^ twm.c:658:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ResizeCursor, "fleur"); ^ twm.c:659:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MenuCursor, "sb_left_arrow"); ^ twm.c:660:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ButtonCursor, "hand2"); ^ twm.c:661:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->WaitCursor, "watch"); ^ twm.c:662:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->SelectCursor, "dot"); ^ twm.c:663:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->DestroyCursor, "pirate"); ^ twm.c:948:7: warning: call to undeclared function 'XmuPrintDefaultErrorMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmuPrintDefaultErrorMessage (dpy, event, stderr); ^ twm.c:91:13: warning: unused variable 'RCSinfo' [-Wunused-variable] static char RCSinfo[] = ^ 24 warnings generated. rm -f parse.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared function 'yyparse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyparse(); ^ parse.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doparse (ifunc, srctypename, srcname) ^ parse.c:240:25: warning: passing arguments to 'ParseStringList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ParseStringList (defTwmrc); ^ parse.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseTwmrc (filename) ^ In file included from parse.c:55: ./parse.h:42: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] extern int ParseTwmrc(), ParseStringList(); ^ parse.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseStringList (sl) ^ In file included from parse.c:55: ./parse.h:42:26: 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] extern int ParseTwmrc(), ParseStringList(); ^ parse.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_keyword (s, nump) ^ parse.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_single_keyword (keyword) ^ parse.c:900:3: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:915:3: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:931:3: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:944:3: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:993:6: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:998:6: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_string_keyword (keyword, s) ^ parse.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_number_keyword (keyword, num) ^ parse.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_colorlist_keyword (keyword, colormode, s) ^ parse.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_color_keyword (keyword, colormode, s) ^ parse.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_pixmap_keyword(keyword, filename) ^ parse.c:1313:2: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:1318:2: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:1324:2: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ parse.c:1337:6: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-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:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MkNum(name, def) ^ parse.c:1465:2: warning: call to undeclared function 'XmuGetHostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmuGetHostname(client, MAXHOSTNAME); ^ parse.c:40:13: warning: unused variable 'RCSinfo' [-Wunused-variable] static char RCSinfo[]= ^ 28 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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:549:32: warning: passing arguments to 'CreateMenuIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->pullPm = CreateMenuIcon (Scr->MenuFont.height, ^ menus.c:1294:21: 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] if (((*compar)(sortlist[loop-1]->name, bakwin->name)) > 0) ^ menus.c:1761:10: warning: passing arguments to 'fullzoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fullzoom(tmp_win, func); ^ 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: call to undeclared function 'NeedToDefer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (NeedToDefer(mroot) && ^ menus.c:1475:12: warning: variable 'rootw' set but not used [-Wunused-but-set-variable] Window rootw; ^ In file included from menus.c:142: ./twm.h:366: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] extern Bool GetWMState(); ^ menus.c:2670:1: note: conflicting prototype is here GetWMState (Window w, int *statep, Window *iwp) ^ menus.c:131:13: warning: unused variable 'RCSinfo' [-Wunused-variable] static char RCSinfo[] = ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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:338:23: warning: passing arguments to 'FindScreenInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr = FindScreenInfo (WindowOfEvent (&Event)); ^ events.c:422:40: warning: passing arguments to 'CreateTwmColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cwin->colormap = CreateTwmColormap(cevent->colormap); ^ events.c:438:6: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-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:1075:15: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1079:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1087:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1098:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1147:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1168:20: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (w); ^ events.c:1181:16: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1189:16: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1307:2: warning: call to undeclared function 'IconDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IconDown (Tmp_win); ^ events.c:1412:42: warning: passing arguments to 'GetWMState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(RestartPreviousState && GetWMState(Tmp_win->w, &state, &icon) && ^ events.c:140: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] ScreenInfo *FindScreenInfo(); ^ events.c:2490:1: note: conflicting prototype is here FindScreenInfo(Window w) ^ events.c:151: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 flush_expose(); ^ events.c:2509:13: note: conflicting prototype is here static void flush_expose (Window w) ^ 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[]= ^ 17 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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:728:31: warning: passing arguments to 'ComputeWindowTitleOffsets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWindowTitleOffsets (tmp_win, xwc.width, True); ^ In file included from resize.c:87: ./resize.h:59: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] extern void fullzoom(); ^ resize.c:878:1: note: conflicting prototype is here fullzoom(TwmWindow *tmp_win, int flag) ^ resize.c:981:23: warning: passing arguments to 'ComputeTitleLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeTitleLocation (tmp); ^ resize.c:76:13: warning: unused variable 'RCSinfo' [-Wunused-variable] static char RCSinfo[]= ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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:317:37: warning: passing arguments to 'SetIconMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->UnknownPmmsk = SetIconMask(name); ^ util.c:318:37: warning: passing arguments to 'SetIconClip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->UnknownPmclp = SetIconClip(name); ^ util.c:393:36: warning: passing arguments to 'FIXED_XmuCompareISOLatin1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (FIXED_XmuCompareISOLatin1 (pmtab[i].name, name) == 0) ^ util.c:394:32: 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 (*pmtab[i].proc) (widthp, heightp); ^ util.c:423:10: warning: call to undeclared function 'XcprLocatePixmapFile'; ISO C99 and later do not support implicit function declarations [-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:919:27: warning: passing arguments to 'CreateMenuIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return CreateMenuIcon (Scr->TBInfo.width - Scr->TBInfo.border * 2,widthp,heightp); ^ In file included from util.c:46: ./twm.h:358:15: 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] extern Pixmap CreateMenuIcon(); ^ util.c:923:1: note: conflicting prototype is here CreateMenuIcon(int height, int *widthp,int *heightp) ^ util.c:40:13: warning: unused variable 'RCSinfo' [-Wunused-variable] static char RCSinfo[]= ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared function 'GetColorFromList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GetColorFromList(Scr->IconManagerBL, p->name, (XClassHint *)NULL, ^ iconmgr.c:426:5: warning: call to undeclared function 'GetColorFromList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GetColorFromList(Scr->IconManagerFL, tmp_win->full_name, &tmp_win->class, ^ iconmgr.c:522:19: 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] if ((*compar)(tmp_win->icon_name, tmp1->twm->icon_name) < 0) ^ iconmgr.c:671:19: 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] if ((*compar)(tmp1->twm->icon_name, tmp2->twm->icon_name) > 0) ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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 In file included from cursor.c:33: ./twm.h:357: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] extern void NewFontCursor(); ^ cursor.c:124:1: note: conflicting prototype is here NewFontCursor (Cursor *cp, char *str) ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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 LocPixmap.c:136:23: warning: passing arguments to 'split_path_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] split_path_string (value.addr); ^ LocPixmap.c:258:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char **split_path_string (src) ^ LocPixmap.c:66:15: 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 **split_path_string(); ^ LocPixmap.c:292: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 _XmuStringToBitmapInitCache (c) ^ LocPixmap.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 _XmuStringToBitmapFreeCache (c) ^ 5 warnings generated. 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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yychar = YYLEX; ^ y.tab.c:1115:16: note: expanded from macro 'YYLEX' # define YYLEX yylex () ^ gram.y:117:7: warning: call to undeclared function 'AddIconRegion'; ISO C99 and later do not support implicit function declarations [-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:142:23: warning: passing arguments to 'GotTitleButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GotTitleButton ((yyvsp[(2) - (4)].ptr), (yyvsp[(4) - (4)].num), False); ^ gram.y:145:23: warning: passing arguments to 'GotTitleButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GotTitleButton ((yyvsp[(2) - (4)].ptr), (yyvsp[(4) - (4)].num), True); ^ gram.y:147:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); ^ gram.y:159:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); ^ gram.y:167:13: warning: passing arguments to 'GotKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { GotKey((yyvsp[(1) - (2)].ptr), (yyvsp[(2) - (2)].num)); } ^ gram.y:168:16: warning: passing arguments to 'GotButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { GotButton((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].num)); } ^ gram.y:209:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (7)].ptr), (yyvsp[(4) - (7)].ptr), (yyvsp[(6) - (7)].ptr)); } ^ gram.y:211:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); } ^ gram.y:214:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (7)].ptr), (yyvsp[(4) - (7)].ptr), (yyvsp[(6) - (7)].ptr)); ^ gram.y:217:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); ^ gram.y:221:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (9)].ptr), (yyvsp[(4) - (9)].ptr), (yyvsp[(6) - (9)].ptr)); ^ gram.y:226:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (4)].ptr), NULLSTR, NULLSTR); ^ gram.y:230:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); } ^ gram.y:246:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); ^ gram.y:255:23: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); ^ gram.y:271:30: warning: passing arguments to 'do_single_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_single_keyword ((yyvsp[(1) - (1)].num))) { ^ gram.y:272:10: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:281:30: warning: passing arguments to 'do_string_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_string_keyword ((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].ptr))) { ^ gram.y:282:10: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:291:30: warning: passing arguments to 'do_number_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_number_keyword ((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].num))) { ^ gram.y:292:10: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:318:11: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:370:7: warning: call to undeclared function 'do_pixmap_keyword'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] { do_pixmap_keyword((yyvsp[(1) - (2)].num),(yyvsp[(2) - (2)].ptr)); } ^ gram.y:382:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->FrameCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:384:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->FrameCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:386:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->TitleCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:388:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->TitleCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:390:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->IconCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:392:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:394:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->IconMgrCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:396:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconMgrCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:398:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->ButtonCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:400:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ButtonCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:402:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->MoveCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:404:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MoveCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:406:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->ResizeCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:408:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ResizeCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:410:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->WaitCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:412:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->WaitCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:414:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->MenuCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:416:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MenuCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:418:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->SelectCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:420:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->SelectCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:422:4: warning: call to undeclared function 'NewBitmapCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NewBitmapCursor(&Scr->DestroyCursor, (yyvsp[(2) - (3)].ptr), (yyvsp[(3) - (3)].ptr)); } ^ gram.y:424:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->DestroyCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:434:33: warning: passing arguments to 'do_colorlist_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_colorlist_keyword ((yyvsp[(1) - (2)].num), color, ^ gram.y:436:10: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:443:34: warning: passing arguments to 'do_colorlist_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { list = do_colorlist_keyword((yyvsp[(1) - (2)].num),color, ^ gram.y:446:10: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:454:29: warning: passing arguments to 'do_color_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_color_keyword ((yyvsp[(1) - (2)].num), color, ^ gram.y:456:10: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:586:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pull = GetRoot ((yyvsp[(2) - (2)].ptr), NULLSTR,NULLSTR); ^ gram.y:590:31: warning: passing arguments to 'CheckWarpRingArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!CheckWarpRingArg (Action)) { ^ gram.y:591:6: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:598:33: warning: passing arguments to 'CheckWarpScreenArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!CheckWarpScreenArg (Action)) { ^ gram.y:599:6: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:607:30: warning: passing arguments to 'CheckColormapArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (CheckColormapArg (Action)) { ^ gram.y:610:6: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:629:7: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror("bad button 0"); ^ gram.y:641:8: warning: call to undeclared function 'RemoveDQuote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RemoveDQuote(ptr); ^ y.tab.c:2822:7: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^ y.tab.c:2968:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror (YY_("memory exhausted")); ^ gram.y:648:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] yyerror(s) char *s; ^ int gram.y:650:5: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror(s) char *s; ^ 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'; ISO C99 and later do not support implicit int [-Wimplicit-int] RemoveDQuote(str) ^ int gram.y:658:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register n; ~~~~~~~~ ^ int gram.y:659:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register count; ~~~~~~~~ ^ int gram.y:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveDQuote(str) ^ gram.y:736:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gram.y:738:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static MenuRoot *GetRoot(name, fore, back) ^ gram.y:59:18: 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 MenuRoot *GetRoot(); ^ gram.y:762: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 GotButton(butt, func) ^ gram.y:63: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 GotButton(), GotKey(), GotTitleButton(); ^ gram.y:792: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 GotKey(key, func) ^ gram.y:63:26: 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 GotButton(), GotKey(), GotTitleButton(); ^ gram.y:819:10: warning: call to undeclared function 'CreateTitleButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!CreateTitleButton (bitmapname, func, Action, pull, rightside, True)) { ^ gram.y:820:2: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ gram.y:814: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 GotTitleButton (bitmapname, func, rightside) ^ gram.y:63:36: 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 GotButton(), GotKey(), GotTitleButton(); ^ gram.y:829: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 Bool CheckWarpScreenArg (s) ^ gram.y:61: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 Bool CheckWarpScreenArg(), CheckWarpRingArg(); ^ gram.y:844: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 Bool CheckWarpRingArg (s) ^ gram.y:61:35: 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 Bool CheckWarpScreenArg(), CheckWarpRingArg(); ^ gram.y:857: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 Bool CheckColormapArg (s) ^ gram.y:62: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 Bool CheckColormapArg(); ^ gram.y:871:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] twmrc_error_prefix () ^ int gram.y:874:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 91 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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'; ISO C99 and later do not support implicit int [-Wimplicit-int] yywrap() { return(1);} ^ int lex.l:73:15: warning: call to undeclared function 'parse_keyword'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] { int token = parse_keyword (yytext, ^ lex.l:76:11: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] twmrc_error_prefix(); ^ lex.l:95:7: warning: call to undeclared function 'twmrc_error_prefix'; ISO C99 and later do not support implicit function declarations [-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 -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -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 -pipe -Os -I/opt/pkg/include -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: warning: ignoring duplicate libraries: '-lX11', '-lXext' ld: library 'fl' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [piewm] Error code 1 bmake: stopped in /Users/pbulk/build/wm/piewm/work/piewm-1.04 1 error bmake: stopped in /Users/pbulk/build/wm/piewm/work/piewm-1.04 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/piewm *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/piewm