=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xwit", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xwit-3.4nb3 --- xwit.o --- --- dsimple.o --- --- xwit.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c xwit.c --- dsimple.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c dsimple.c dsimple.c: In function 'Malloc': dsimple.c:47:7: warning: old-style function definition [-Wold-style-definition] 47 | char *Malloc(size) | ^~~~~~ dsimple.c:53:11: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 53 | Fatal_Error("Out of memory!"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c: In function 'Realloc': dsimple.c:62:7: warning: old-style function definition [-Wold-style-definition] 62 | char *Realloc(ptr, size) | ^~~~~~~ dsimple.c:72:11: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 72 | Fatal_Error("Out of memory!"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c: In function 'Get_Display_Name': dsimple.c:82:7: warning: old-style function definition [-Wold-style-definition] 82 | char *Get_Display_Name(pargc, argv) | ^~~~~~~~~~~~~~~~ dsimple.c:95:30: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 95 | if (++i >= argc) usage (); | ^~~~~ dsimple.c: In function 'Open_Display': dsimple.c:118:10: warning: old-style function definition [-Wold-style-definition] 118 | Display *Open_Display(display_name) | ^~~~~~~~~~~~ dsimple.c: In function 'Setup_Display_And_Screen': dsimple.c:142:6: warning: old-style function definition [-Wold-style-definition] 142 | void Setup_Display_And_Screen(argc, argv) | ^~~~~~~~~~~~~~~~~~~~~~~~ dsimple.c: In function 'Open_Font': dsimple.c:154:14: warning: old-style function definition [-Wold-style-definition] 154 | XFontStruct *Open_Font(name) | ^~~~~~~~~ dsimple.c:160:11: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 160 | Fatal_Error("Unable to open font %s!", name); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c: In function '_bitmap_error': dsimple.c:179:13: warning: old-style function definition [-Wold-style-definition] 179 | static void _bitmap_error(status, filename) | ^~~~~~~~~~~~~ dsimple.c:184:5: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 184 | Fatal_Error("Can't open file %s!", filename); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c:186:5: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 186 | Fatal_Error("file %s: Bad bitmap format.", filename); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c:188:5: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 188 | Fatal_Error("Out of memory!"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c: In function 'ReadBitmapFile': dsimple.c:191:8: warning: old-style function definition [-Wold-style-definition] 191 | Pixmap ReadBitmapFile(d, filename, width, height, x_hot, y_hot) | ^~~~~~~~~~~~~~ dsimple.c: In function 'WriteBitmapFile': dsimple.c:213:6: warning: old-style function definition [-Wold-style-definition] 213 | void WriteBitmapFile(filename, bitmap, width, height, x_hot, y_hot) | ^~~~~~~~~~~~~~~ dsimple.c: In function 'Select_Window_Args': dsimple.c:249:8: warning: old-style function definition [-Wold-style-definition] 249 | Window Select_Window_Args(rargc, argv) | ^~~~~~~~~~~~~~~~~~ dsimple.c:278:29: error: too many arguments to function 'Window_With_Name'; expected 0, have 3 278 | w = Window_With_Name(dpy, RootWindow(dpy, screen), | ^~~~~~~~~~~~~~~~ ~~~ dsimple.c:22:8: note: declared here 22 | Window Window_With_Name(); | ^~~~~~~~~~~~~~~~ dsimple.c:281:27: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 281 | Fatal_Error("No window with name %s exists!",OPTION); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c:291:27: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 291 | Fatal_Error("Invalid window id format: %s.", OPTION); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c: In function 'Resolve_Color': dsimple.c:321:15: warning: old-style function definition [-Wold-style-definition] 321 | unsigned long Resolve_Color(w, name) | ^~~~~~~~~~~~~ dsimple.c:324:1: error: number of arguments doesn't match prototype 324 | { | ^ dsimple.c:17:15: error: prototype declaration 17 | unsigned long Resolve_Color(); | ^~~~~~~~~~~~~ dsimple.c:342:11: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 342 | Fatal_Error("Bad color format '%s'.", name); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c:345:11: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 345 | Fatal_Error("XAllocColor failed!"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c: In function 'Bitmap_To_Pixmap': dsimple.c:357:8: warning: old-style function definition [-Wold-style-definition] 357 | Pixmap Bitmap_To_Pixmap(dpy, d, gc, bitmap, width, height) | ^~~~~~~~~~~~~~~~ dsimple.c:363:1: error: number of arguments doesn't match prototype 363 | { | ^ dsimple.c:18:8: error: prototype declaration 18 | Pixmap Bitmap_To_Pixmap(); | ^~~~~~~~~~~~~~~~ dsimple.c: In function 'blip': dsimple.c:385:3: error: implicit declaration of function 'outl'; did you mean 'out'? [-Wimplicit-function-declaration] 385 | outl("blip!"); | ^~~~ | out dsimple.c: In function 'Select_Window': dsimple.c:393:8: warning: old-style function definition [-Wold-style-definition] 393 | Window Select_Window(dpy) | ^~~~~~~~~~~~~ dsimple.c:395:1: error: number of arguments doesn't match prototype 395 | { | ^ dsimple.c:19:8: error: prototype declaration 19 | Window Select_Window(); | ^~~~~~~~~~~~~ dsimple.c:409:30: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 409 | if (status != GrabSuccess) Fatal_Error("Can't grab the mouse."); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ dsimple.c:23:6: note: declared here 23 | void Fatal_Error(); | ^~~~~~~~~~~ dsimple.c: In function 'Window_With_Name': dsimple.c:444:8: warning: old-style function definition [-Wold-style-definition] 444 | Window Window_With_Name(dpy, top, name) | ^~~~~~~~~~~~~~~~ dsimple.c:448:1: error: number of arguments doesn't match prototype 448 | { | ^ dsimple.c:22:8: error: prototype declaration 22 | Window Window_With_Name(); | ^~~~~~~~~~~~~~~~ dsimple.c:462:21: error: too many arguments to function 'Window_With_Name'; expected 0, have 3 462 | w = Window_With_Name(dpy, children[i], name); | ^~~~~~~~~~~~~~~~ ~~~ dsimple.c:444:8: note: declared here 444 | Window Window_With_Name(dpy, top, name) | ^~~~~~~~~~~~~~~~ dsimple.c: At top level: dsimple.c:477:1: error: return type defaults to 'int' [-Wimplicit-int] 477 | outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) | ^~~~ dsimple.c: In function 'outl': dsimple.c:477:1: warning: old-style function definition [-Wold-style-definition] dsimple.c: In function 'Fatal_Error': dsimple.c:493:6: warning: old-style function definition [-Wold-style-definition] 493 | void Fatal_Error(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) | ^~~~~~~~~~~ dsimple.c:496:1: error: number of arguments doesn't match prototype 496 | { | ^ dsimple.c:23:6: error: prototype declaration 23 | void Fatal_Error(); | ^~~~~~~~~~~ --- xwit.o --- xwit.c:38:1: error: return type defaults to 'int' [-Wimplicit-int] 38 | usage() | ^~~~~ --- dsimple.o --- *** [dsimple.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xwit/work/xwit-3.4 --- xwit.o --- xwit.c: In function 'usage': xwit.c:71:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 71 | exit(2); | ^~~~ xwit.c:36:1: note: include '' or provide a declaration of 'exit' 35 | #include "dsimple.h" +++ |+#include 36 | xwit.c:71:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 71 | exit(2); | ^~~~ xwit.c:71:9: note: include '' or provide a declaration of 'exit' xwit.c: At top level: xwit.c:131:1: error: return type defaults to 'int' [-Wimplicit-int] 131 | mssleep(ms) | ^~~~~~~ xwit.c: In function 'mssleep': xwit.c:131:1: warning: old-style function definition [-Wold-style-definition] xwit.c:140:14: error: passing argument 2 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 140 | select(0,(int*)0,(int*)0,(int*)0,&tv); | ^~~~~~~ | | | int * In file included from /usr/include/sys/types.h:687, from /home/pbulk/work/x11/xwit/work/.buildlink/include/X11/Xos.h:42, from xwit.c:29: /usr/include/sys/select.h:144:24: note: expected 'fd_set * restrict' but argument is of type 'int *' 144 | extern int select(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, | ^ xwit.c:140:22: error: passing argument 3 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 140 | select(0,(int*)0,(int*)0,(int*)0,&tv); | ^~~~~~~ | | | int * /usr/include/sys/select.h:144:48: note: expected 'fd_set * restrict' but argument is of type 'int *' 144 | extern int select(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, | ^ xwit.c:140:30: error: passing argument 4 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 140 | select(0,(int*)0,(int*)0,(int*)0,&tv); | ^~~~~~~ | | | int * /usr/include/sys/select.h:145:9: note: expected 'fd_set * restrict' but argument is of type 'int *' 145 | fd_set *_RESTRICT_KYWD, struct timeval *_RESTRICT_KYWD); | ^ xwit.c: At top level: xwit.c:148:1: error: return type defaults to 'int' [-Wimplicit-int] 148 | downtree(top) | ^~~~~~~~ xwit.c: In function 'downtree': xwit.c:148:1: warning: old-style function definition [-Wold-style-definition] xwit.c:155:9: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 155 | Fatal_Error("XQueryTree failed"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ In file included from xwit.c:35: dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:160:17: error: too many arguments to function 'doit'; expected 0, have 1 160 | doit(child[i]); | ^~~~ ~~~~~~~~ xwit.c:125:13: note: declared here 125 | static void doit(); | ^~~~ xwit.c: At top level: xwit.c:172:1: error: return type defaults to 'int' [-Wimplicit-int] 172 | setrepeat() | ^~~~~~~~~ xwit.c:194:1: error: return type defaults to 'int' [-Wimplicit-int] 194 | getpos(window, xp, yp) | ^~~~~~ xwit.c: In function 'getpos': xwit.c:194:1: warning: old-style function definition [-Wold-style-definition] xwit.c:203:17: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 203 | Fatal_Error("XGetWindowAttributes(0x%x)", window); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: At top level: xwit.c:217:1: error: return type defaults to 'int' [-Wimplicit-int] 217 | getsize(window, wp, hp) | ^~~~~~~ xwit.c: In function 'getsize': xwit.c:217:1: warning: old-style function definition [-Wold-style-definition] xwit.c:224:17: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 224 | Fatal_Error("XGetWindowAttributes(0x%x)", window); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: At top level: xwit.c:234:1: error: return type defaults to 'int' [-Wimplicit-int] 234 | domove(window, x, y, right, bottom) | ^~~~~~ xwit.c: In function 'domove': xwit.c:234:1: warning: old-style function definition [-Wold-style-definition] xwit.c:247:25: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 247 | Fatal_Error("XGetWindowAttributes(0x%x)", window); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:273:33: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 273 | Fatal_Error("XGetWindowAttributes(0x%x)", | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:300:17: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 300 | Fatal_Error("move failed"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: In function 'doresize': xwit.c:307:1: warning: old-style function definition [-Wold-style-definition] 307 | doresize(window, w, h) | ^~~~~~~~ xwit.c:322:13: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 322 | Fatal_Error("resize: XReconfigureWMWindow"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:344:9: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 344 | Fatal_Error("resize: XReconfigureWMWindow 2"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: At top level: xwit.c:351:1: error: return type defaults to 'int' [-Wimplicit-int] 351 | rcresize(what, window) | ^~~~~~~~ xwit.c: In function 'rcresize': xwit.c:351:1: warning: old-style function definition [-Wold-style-definition] xwit.c:363:9: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 363 | Fatal_Error("XAllocSizeHints"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:366:9: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 366 | Fatal_Error("XGetWMNormalHints"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:369:9: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 369 | Fatal_Error("missing PBaseSize and/or PResizeInc hint"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: At top level: xwit.c:383:1: error: return type defaults to 'int' [-Wimplicit-int] 383 | loadbitmap(window, file, pmp) | ^~~~~~~~~~ xwit.c: In function 'loadbitmap': xwit.c:383:1: warning: old-style function definition [-Wold-style-definition] xwit.c:393:17: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 393 | Fatal_Error("XReadBitmapFile failed"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: At top level: xwit.c:397:1: error: return type defaults to 'int' [-Wimplicit-int] 397 | setbitmap(window) | ^~~~~~~~~ xwit.c: In function 'setbitmap': xwit.c:397:1: warning: old-style function definition [-Wold-style-definition] xwit.c:408:25: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 408 | Fatal_Error("XAllocWMHints"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: At top level: xwit.c:437:1: error: return type defaults to 'int' [-Wimplicit-int] 437 | setwinattr(window) | ^~~~~~~~~~ xwit.c: In function 'setwinattr': xwit.c:437:1: warning: old-style function definition [-Wold-style-definition] xwit.c: In function 'doit': xwit.c:462:1: warning: old-style function definition [-Wold-style-definition] 462 | doit(window) | ^~~~ xwit.c:497:33: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 497 | Fatal_Error("rmove failed"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:536:33: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 536 | Fatal_Error("iconify failed"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:569:33: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 569 | Fatal_Error("no WM_HINTS"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:579:33: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 579 | Fatal_Error("no WM_HINTS"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:586:33: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 586 | Fatal_Error("no current icon position"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: In function 'xwit_select_window': xwit.c:598:1: warning: old-style function definition [-Wold-style-definition] 598 | xwit_select_window(dpy, current) | ^~~~~~~~~~~~~~~~~~ xwit.c:617:26: error: too many arguments to function 'Select_Window'; expected 0, have 1 617 | window = Select_Window(dpy); | ^~~~~~~~~~~~~ ~~~ dsimple.h:50:8: note: declared here 50 | Window Select_Window(); | ^~~~~~~~~~~~~ xwit.c:623:34: error: implicit declaration of function 'XmuClientWindow'; did you mean 'XNClientWindow'? [-Wimplicit-function-declaration] 623 | window = XmuClientWindow(dpy, window); | ^~~~~~~~~~~~~~~ | XNClientWindow xwit.c: In function 'getxid': xwit.c:629:1: warning: old-style function definition [-Wold-style-definition] 629 | getxid(s) | ^~~~~~ xwit.c:638:9: error: too many arguments to function 'Fatal_Error'; expected 0, have 2 638 | Fatal_Error("Invalid ID format: %s", s); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c: In function 'matchopt': xwit.c:643:1: warning: old-style function definition [-Wold-style-definition] 643 | matchopt(key, nargs, argc, argv) | ^~~~~~~~ xwit.c: At top level: xwit.c:716:1: error: return type defaults to 'int' [-Wimplicit-int] 716 | main(argc, argv) | ^~~~ xwit.c: In function 'main': xwit.c:716:1: warning: old-style function definition [-Wold-style-definition] xwit.c:727:9: error: too many arguments to function 'Setup_Display_And_Screen'; expected 0, have 2 727 | Setup_Display_And_Screen(pargc, argv); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ dsimple.h:29:6: note: declared here 29 | void Setup_Display_And_Screen(); | ^~~~~~~~~~~~~~~~~~~~~~~~ xwit.c:750:36: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 750 | ncolumns = atoi(*++argv); | ^~~~ xwit.c:925:29: error: too many arguments to function 'getenv'; expected 0, have 1 925 | s = getenv("WINDOWID"); | ^~~~~~ ~~~~~~~~~~ xwit.c:923:38: note: declared here 923 | extern char *getenv(); | ^~~~~~ xwit.c:932:41: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 932 | Fatal_Error("WINDOWID not set"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:949:17: error: too many arguments to function 'doit'; expected 0, have 1 949 | doit((Window) 0); | ^~~~ ~~~~~~~~~~ xwit.c:462:1: note: declared here 462 | doit(window) | ^~~~ xwit.c:956:25: error: too many arguments to function 'Fatal_Error'; expected 0, have 1 956 | Fatal_Error("no window selected"); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ dsimple.h:24:6: note: declared here 24 | void Fatal_Error(); | ^~~~~~~~~~~ xwit.c:957:17: error: too many arguments to function 'doit'; expected 0, have 1 957 | doit(window); | ^~~~ ~~~~~~ xwit.c:462:1: note: declared here 462 | doit(window) | ^~~~ xwit.c:963:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 963 | exit(!Gwinfound); | ^~~~ xwit.c:963:9: note: include '' or provide a declaration of 'exit' *** [xwit.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xwit/work/xwit-3.4 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/x11/xwit/work/xwit-3.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xwit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xwit