=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xmove-2.0b2nb1 making all in ./xmove... cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c decode11.c decode11.c:214:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (CurrentVerbose = RequestVerbose) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ decode11.c:214:24: note: place parentheses around the assignment to silence this warning if (CurrentVerbose = RequestVerbose) ^ ( ) decode11.c:214:24: note: use '==' to turn this assignment into an equality comparison if (CurrentVerbose = RequestVerbose) ^ == decode11.c:231:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ decode11.c:257:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (CurrentVerbose = ReplyVerbose) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ decode11.c:257:25: note: place parentheses around the assignment to silence this warning if (CurrentVerbose = ReplyVerbose) ^ ( ) decode11.c:257:25: note: use '==' to turn this assignment into an equality comparison if (CurrentVerbose = ReplyVerbose) ^ == decode11.c:537:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (CurrentVerbose = EventVerbose) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ decode11.c:537:21: note: place parentheses around the assignment to silence this warning if (CurrentVerbose = EventVerbose) ^ ( ) decode11.c:537:21: note: use '==' to turn this assignment into an equality comparison if (CurrentVerbose = EventVerbose) ^ == decode11.c:727:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] SequenceNumber, client->SequenceMapping); ^~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c linkl.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c print11.c print11.c:1711:7: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] temp_window->visual->vis_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ print11.c:1773:61: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("XMOVE ChangeWindowAttribute on window 0x%x\n",ILong(&buf[4]))) ~~ ^~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:1883:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (window = FindWindowFromCurrentClient(ILong(&buf[4]))) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:1883:17: note: place parentheses around the assignment to silence this warning if (window = FindWindowFromCurrentClient(ILong(&buf[4]))) { ^ ( ) print11.c:1883:17: note: use '==' to turn this assignment into an equality comparison if (window = FindWindowFromCurrentClient(ILong(&buf[4]))) { ^ == print11.c:1884:4: warning: implicit declaration of function 'TagAllDescendants' is invalid in C99 [-Wimplicit-function-declaration] TagAllDescendants(ILong(&buf[4])); ^ print11.c:1886:4: warning: implicit declaration of function 'DestroyTaggedWindows' is invalid in C99 [-Wimplicit-function-declaration] DestroyTaggedWindows(); ^ print11.c:1957:60: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("XMOVE ReparentWindow Request on window 0x%x\n",ILong(&buf[4]))) ~~ ^~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:2439:52: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("XMOVE GetProperty on window 0x%x\n",ILong(&buf[4]))); ~~ ^~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:2605:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("Adding new selection %d\n",ILong(&buf[8]))) ~~ ^~~~~~~~~~~~~~ %lu ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:2609:8: warning: implicit declaration of function 'AddSelectionToCurrentClient' is invalid in C99 [-Wimplicit-function-declaration] AddSelectionToCurrentClient(temp_selection); ^ print11.c:2982:3: warning: implicit declaration of function 'AddGrabToCurrentClient' is invalid in C99 [-Wimplicit-function-declaration] AddGrabToCurrentClient(temp_grab); ^ print11.c:2983:67: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] Dprintf(("adding grab (button) to client with grab_window %x\n",temp_grab->grab_window)) ~~ ^~~~~~~~~~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:3016:3: warning: implicit declaration of function 'RemoveGrabButtonFromCurrentClient' is invalid in C99 [-Wimplicit-function-declaration] RemoveGrabButtonFromCurrentClient(IByte(&buf[1]), ILong(&buf[4]), ^ print11.c:3157:64: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] Dprintf(("adding grab (key) to client with grab_window %x\n",temp_grab->grab_window)) ~~ ^~~~~~~~~~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:3186:3: warning: implicit declaration of function 'RemoveGrabKeyFromCurrentClient' is invalid in C99 [-Wimplicit-function-declaration] RemoveGrabKeyFromCurrentClient(IByte(&buf[1]), ILong(&buf[4]), ^ print11.c:3875:5: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] temp_pixmap->pixmap_id, IByte(&buf[1]))); ^~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:73:50: note: expanded from macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ print11.c:3905:56: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("adding pixmap to client with drawable %x\n",ILong(&buf[8]))); ~~ ^~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:3934:63: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("XMOVE got a free pixmap request on pixmap 0x%x\n",ILong(&buf[4]))) ~~ ^~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:3936:3: warning: implicit declaration of function 'RemovePixmapFromCurrentClient' is invalid in C99 [-Wimplicit-function-declaration] RemovePixmapFromCurrentClient(pixmap); ^ print11.c:3971:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (pixmap = FindPixmapFromCurrentClient(drawable)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:3971:20: note: place parentheses around the assignment to silence this warning else if (pixmap = FindPixmapFromCurrentClient(drawable)) ^ ( ) print11.c:3971:20: note: use '==' to turn this assignment into an equality comparison else if (pixmap = FindPixmapFromCurrentClient(drawable)) ^ == print11.c:3973:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (window = FindWindowFromCurrentClient(drawable)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:3973:20: note: place parentheses around the assignment to silence this warning else if (window = FindWindowFromCurrentClient(drawable)) ^ ( ) print11.c:3973:20: note: use '==' to turn this assignment into an equality comparison else if (window = FindWindowFromCurrentClient(drawable)) ^ == print11.c:4122:7: warning: implicit declaration of function 'ParseGCBitmaskcopy' is invalid in C99 [-Wimplicit-function-declaration] ParseGCBitmaskcopy(temp_gc_src, temp_gc_dst, ^ print11.c:4183:3: warning: implicit declaration of function 'SetClipXOrigin' is invalid in C99 [-Wimplicit-function-declaration] SetClipXOrigin(gc, IShort(&buf[8])); ^ print11.c:4184:3: warning: implicit declaration of function 'SetClipYOrigin' is invalid in C99 [-Wimplicit-function-declaration] SetClipYOrigin(gc, IShort(&buf[10])); ^ print11.c:4290:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dst.pix = FindPixmapFromCurrentClient(dstID)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:4290:15: note: place parentheses around the assignment to silence this warning if (dst.pix = FindPixmapFromCurrentClient(dstID)) ^ ( ) print11.c:4290:15: note: use '==' to turn this assignment into an equality comparison if (dst.pix = FindPixmapFromCurrentClient(dstID)) ^ == print11.c:4862:7: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] temp_colormap->visual->vis_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ print11.c:5091:26: warning: implicit declaration of function 'MapColorIndex' is invalid in C99 [-Wimplicit-function-declaration] ISetLong(&buf[16], MapColorIndex(&index, temps->cmap, Reply)); ^ print11.c:5178:31: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("bad colormap %x\n", ILong(&buf[4])); ~~ ^~~~~~~~~~~~~~ %lx print11.c:5308:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cmap = FindColormapFromCurrentClient(ILong(&buf[4]))) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:5308:11: note: place parentheses around the assignment to silence this warning if (cmap = FindColormapFromCurrentClient(ILong(&buf[4]))) ^ ( ) print11.c:5308:11: note: use '==' to turn this assignment into an equality comparison if (cmap = FindColormapFromCurrentClient(ILong(&buf[4]))) ^ == print11.c:5318:57: warning: format specifies type 'int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); ~~ ^~~~~ %lu ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:5318:63: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); ~~ ^~~~~~~~~~~~~ %lu ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:5723:3: warning: implicit declaration of function 'RecolorCursorFromCurrentClient' is invalid in C99 [-Wimplicit-function-declaration] RecolorCursorFromCurrentClient(xcursor,fg_r,fg_g,fg_b,bg_r,bg_g,bg_b); ^ print11.c:6506:4: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] ILong(&buf[12]), ^~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:6507:4: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] ILong(&buf[16]))); ^~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:6826:9: warning: format specifies type 'unsigned int' but the argument has type 'Colormap' (aka 'unsigned long') [-Wformat] cmap->colormap_id, cmap->visual->vis_mapped->vis_depth, depth, ^~~~~~~~~~~~~~~~~ ./xmond.h:73:50: note: expanded from macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ print11.c:6959:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dst.win = FindWindowFromCurrentClient(did)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:6959:14: note: place parentheses around the assignment to silence this warning if (dst.win = FindWindowFromCurrentClient(did)) { ^ ( ) print11.c:6959:14: note: use '==' to turn this assignment into an equality comparison if (dst.win = FindWindowFromCurrentClient(did)) { ^ == print11.c:6963:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (dst.pix = FindPixmapFromCurrentClient(did)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:6963:21: note: place parentheses around the assignment to silence this warning } else if (dst.pix = FindPixmapFromCurrentClient(did)) { ^ ( ) print11.c:6963:21: note: use '==' to turn this assignment into an equality comparison } else if (dst.pix = FindPixmapFromCurrentClient(did)) { ^ == 36 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c server.c server.c:611:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(NewConnFD); ^ server.c:622:13: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] while (write(client->fdd->fd, &retval, 1) == 0); ^ 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c fd.c fd.c:106:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ 1 warning generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c main.c main.c:135:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] Global void ^ main.c:135:8: note: change return type to 'int' Global void ^~~~ int main.c:205:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (curdir = readdir(dir)) { ~~~~~~~^~~~~~~~~~~~~~ main.c:205:20: note: place parentheses around the assignment to silence this warning while (curdir = readdir(dir)) { ^ ( ) main.c:205:20: note: use '==' to turn this assignment into an equality comparison while (curdir = readdir(dir)) { ^ == main.c:257:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(client->fdd->fd); ^ main.c:260:2: warning: implicit declaration of function 'RemoveClientFromMetaClient' is invalid in C99 [-Wimplicit-function-declaration] RemoveClientFromMetaClient(meta_client, client); ^ main.c:262:7: warning: implicit declaration of function 'RemoveMetaClient' is invalid in C99 [-Wimplicit-function-declaration] RemoveMetaClient(meta_client); ^ main.c:358:9: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] (void) gethostname(LocalHostName, 255); ^ main.c:536:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ main.c:604:17: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] num_written = write(fd, (char *)curbuf, BytesToWrite); ^ main.c:679:16: warning: implicit declaration of function 'ValidateNewConnection' is invalid in C99 [-Wimplicit-function-declaration] validate = ValidateNewConnection(ip_addr); ^ main.c:837:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] num_read = read(read_fdd->fd, (char *)inbuffer->data + inbuffer->num_Saved, 64*1024); ^ main.c:1099:64: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ClientFD = accept(ConnectionSocket, (struct sockaddr *)&from, &len); ^~~~ /usr/include/sys/socket.h:644:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 11 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c prtype.c prtype.c:203:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%d", n); ~~ ^ %ld prtype.c:213:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%d", n); ~~ ^ %ld prtype.c:243:26: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] fprintf(stdout, "%08x", n); ~~~~ ^ %08lx prtype.c:300:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "WIN %08x", n); ~~~~ ^ %08lx prtype.c:344:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "PXM %08x", n); ~~~~ ^ %08lx prtype.c:386:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "CUR %08x", n); ~~~~ ^ %08lx prtype.c:400:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "FNT %08x", n); ~~~~ ^ %08lx prtype.c:411:30: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "GXC %08x", n); ~~~~ ^ %08lx prtype.c:425:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "CMP %08x", n); ~~~~ ^ %08lx prtype.c:449:30: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "DWB %08x", n); ~~~~ ^ %08lx prtype.c:459:30: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "FTB %08x", n); ~~~~ ^ %08lx prtype.c:477:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "ATM %08x", n); ~~~~ ^ %08lx prtype.c:504:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "VIS %08x", n); ~~~~ ^ %08lx prtype.c:531:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "TIM %08x", n); ~~~~ ^ %08lx prtype.c:545:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "RID %08x", n); ~~~~ ^ %08lx prtype.c:556:30: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf(stdout, "KYS %08x", n); ~~~~ ^ %08lx prtype.c:643:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "**INVALID** (%d)", n); ~~ ^ %ld prtype.c:753:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); ~~ ^~~~~~ %ld prtype.c:803:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); ~~ ^~~~~~ %ld 19 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c table11.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c xmove.c xmove.c:161:6: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] gc->gc_id, gc->drawable_id)); ^~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:161:17: warning: format specifies type 'unsigned int' but the argument has type 'Drawable' (aka 'unsigned long') [-Wformat] gc->gc_id, gc->drawable_id)); ^~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:183:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = deleteFirst(&client->resource_maps)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:183:17: note: place parentheses around the assignment to silence this warning while (item = deleteFirst(&client->resource_maps)) ^ ( ) xmove.c:183:17: note: use '==' to turn this assignment into an equality comparison while (item = deleteFirst(&client->resource_maps)) ^ == xmove.c:226:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = deleteFirst(&client->colormap_list)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:226:17: note: place parentheses around the assignment to silence this warning while (item = deleteFirst(&client->colormap_list)) { ^ ( ) xmove.c:226:17: note: use '==' to turn this assignment into an equality comparison while (item = deleteFirst(&client->colormap_list)) { ^ == xmove.c:231:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = deleteFirst(&client->grab_list)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:231:17: note: place parentheses around the assignment to silence this warning while (item = deleteFirst(&client->grab_list)) ^ ( ) xmove.c:231:17: note: use '==' to turn this assignment into an equality comparison while (item = deleteFirst(&client->grab_list)) ^ == xmove.c:242:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = deleteFirst(&client->selection_list)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:242:17: note: place parentheses around the assignment to silence this warning while (item = deleteFirst(&client->selection_list)) ^ ( ) xmove.c:242:17: note: use '==' to turn this assignment into an equality comparison while (item = deleteFirst(&client->selection_list)) ^ == xmove.c:270:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = deleteFirst(&server->reply_list)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:270:17: note: place parentheses around the assignment to silence this warning while (item = deleteFirst(&server->reply_list)) ^ ( ) xmove.c:270:17: note: use '==' to turn this assignment into an equality comparison while (item = deleteFirst(&server->reply_list)) ^ == xmove.c:315:6: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] window->window_id, window->parent_id, ^~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:315:25: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] window->window_id, window->parent_id, ^~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:380:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_window = hash_delete(client->window_table, xwin)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:380:21: note: place parentheses around the assignment to silence this warning if (temp_window = hash_delete(client->window_table, xwin)) ^ ( ) xmove.c:380:21: note: use '==' to turn this assignment into an equality comparison if (temp_window = hash_delete(client->window_table, xwin)) ^ == xmove.c:389:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_window = hash_find(client->window_table, xwin)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:389:21: note: place parentheses around the assignment to silence this warning if (temp_window = hash_find(client->window_table, xwin)) { ^ ( ) xmove.c:389:21: note: use '==' to turn this assignment into an equality comparison if (temp_window = hash_find(client->window_table, xwin)) { ^ == xmove.c:403:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gc = hash_delete(client->gc_table, xgc)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:403:9: note: place parentheses around the assignment to silence this warning if (gc = hash_delete(client->gc_table, xgc)) { ^ ( ) xmove.c:403:9: note: use '==' to turn this assignment into an equality comparison if (gc = hash_delete(client->gc_table, xgc)) { ^ == xmove.c:441:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_font = hash_delete(client->font_table, xfont)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:441:19: note: place parentheses around the assignment to silence this warning if (temp_font = hash_delete(client->font_table, xfont)) { ^ ( ) xmove.c:441:19: note: use '==' to turn this assignment into an equality comparison if (temp_font = hash_delete(client->font_table, xfont)) { ^ == xmove.c:460:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cursor = hash_delete(client->cursor_table, xcursor)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:460:17: note: place parentheses around the assignment to silence this warning if (cursor = hash_delete(client->cursor_table, xcursor)) { ^ ( ) xmove.c:460:17: note: use '==' to turn this assignment into an equality comparison if (cursor = hash_delete(client->cursor_table, xcursor)) { ^ == xmove.c:473:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (glyph = hash_delete(client->glyph_cursor_table, xcursor)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:473:14: note: place parentheses around the assignment to silence this warning if (glyph = hash_delete(client->glyph_cursor_table, xcursor)) ^ ( ) xmove.c:473:14: note: use '==' to turn this assignment into an equality comparison if (glyph = hash_delete(client->glyph_cursor_table, xcursor)) ^ == xmove.c:495:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_cursor = hash_find(client->cursor_table, xcursor)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:495:22: note: place parentheses around the assignment to silence this warning if (temp_cursor = hash_find(client->cursor_table, xcursor)) { ^ ( ) xmove.c:495:22: note: use '==' to turn this assignment into an equality comparison if (temp_cursor = hash_find(client->cursor_table, xcursor)) { ^ == xmove.c:506:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_glyph_cursor = hash_find(client->glyph_cursor_table, xcursor)) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:506:28: note: place parentheses around the assignment to silence this warning if (temp_glyph_cursor = hash_find(client->glyph_cursor_table, xcursor)) { ^ ( ) xmove.c:506:28: note: use '==' to turn this assignment into an equality comparison if (temp_glyph_cursor = hash_find(client->glyph_cursor_table, xcursor)) { ^ == xmove.c:645:7: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] pixmap->pixmap_id, pixmap->width, pixmap->height, pixmap->depth)); ^~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:645:57: warning: format specifies type 'int' but the argument has type 'PixmapFormatPtr' (aka 'struct PixmapFormatRec *') [-Wformat] pixmap->pixmap_id, pixmap->width, pixmap->height, pixmap->depth)); ^~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:655:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_pixmap = hash_delete(client->pixmap_table, pixmap)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:655:21: note: place parentheses around the assignment to silence this warning if (temp_pixmap = hash_delete(client->pixmap_table, pixmap)) ^ ( ) xmove.c:655:21: note: use '==' to turn this assignment into an equality comparison if (temp_pixmap = hash_delete(client->pixmap_table, pixmap)) ^ == xmove.c:664:33: warning: format specifies type 'int' but the argument has type 'Atom' (aka 'unsigned long') [-Wformat] Dprintf(("selection: %d\n", selection->selection)) ~~ ^~~~~~~~~~~~~~~~~~~~ %lu ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:712:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (new_atom = FindAtom(client_atom)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ xmove.c:712:17: note: place parentheses around the assignment to silence this warning if (new_atom = FindAtom(client_atom)) ^ ( ) xmove.c:712:17: note: use '==' to turn this assignment into an equality comparison if (new_atom = FindAtom(client_atom)) ^ == xmove.c:715:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (new_atom = FindServerAtom(atom)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ xmove.c:715:17: note: place parentheses around the assignment to silence this warning if (new_atom = FindServerAtom(atom)) ^ ( ) xmove.c:715:17: note: use '==' to turn this assignment into an equality comparison if (new_atom = FindServerAtom(atom)) ^ == xmove.c:718:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (new_atom = FindAtom(client_atom)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ xmove.c:718:20: note: place parentheses around the assignment to silence this warning while (new_atom = FindAtom(client_atom)) ^ ( ) xmove.c:718:20: note: use '==' to turn this assignment into an equality comparison while (new_atom = FindAtom(client_atom)) ^ == xmove.c:762:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_atom = hash_delete(client->atom_table, atom)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:762:19: note: place parentheses around the assignment to silence this warning if (temp_atom = hash_delete(client->atom_table, atom)) { ^ ( ) xmove.c:762:19: note: use '==' to turn this assignment into an equality comparison if (temp_atom = hash_delete(client->atom_table, atom)) { ^ == xmove.c:774:19: warning: format specifies type 'unsigned int' but the argument has type 'Font' (aka 'unsigned long') [-Wformat] font->name, font->font_id)); ^~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:815:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (atommap = FindAtomMapping(name)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ xmove.c:815:18: note: place parentheses around the assignment to silence this warning if (atommap = FindAtomMapping(name)) ^ ( ) xmove.c:815:18: note: use '==' to turn this assignment into an equality comparison if (atommap = FindAtomMapping(name)) ^ == xmove.c:836:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (atommap = FindAtomTypeMapping(name)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:836:18: note: place parentheses around the assignment to silence this warning if (atommap = FindAtomTypeMapping(name)) ^ ( ) xmove.c:836:18: note: use '==' to turn this assignment into an equality comparison if (atommap = FindAtomTypeMapping(name)) ^ == xmove.c:924:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (new_cell = FindServerColorCell(cur_pixel, cmap, vis_index)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c:924:16: note: place parentheses around the assignment to silence this warning if (new_cell = FindServerColorCell(cur_pixel, cmap, vis_index)) ^ ( ) xmove.c:924:16: note: use '==' to turn this assignment into an equality comparison if (new_cell = FindServerColorCell(cur_pixel, cmap, vis_index)) ^ == xmove.c:948:36: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); ~~~ ^~~~~~~~~ %3lx ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:948:47: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~ %3lx ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:950:40: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, ~~~ ^~~~~~~~~ %3lx ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:951:7: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] new_cell->server_pixel, new_cell->client_pixel)); ^~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:951:31: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] new_cell->server_pixel, new_cell->client_pixel)); ^~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:1138:5: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] background_pixmap)) ^~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1152:5: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] background_pixel)) ^~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1162:50: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] Dprintf(("setting border pixmap to 0x%x.\n", border_pixmap)) ~~ ^~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1172:49: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("setting border pixel to 0x%x.\n", border_pixel)) ~~ ^~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1182:50: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("setting backing pixel to 0x%x.\n", backing_pixel)) ~~ ^~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1192:45: warning: format specifies type 'unsigned int' but the argument has type 'Colormap' (aka 'unsigned long') [-Wformat] Dprintf(("setting colormap to 0x%x.\n", colormap)) ~~ ^~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1202:43: warning: format specifies type 'unsigned int' but the argument has type 'Cursor' (aka 'unsigned long') [-Wformat] Dprintf(("setting cursor to 0x%x.\n", cursor)) ~~ ^~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1463:46: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("setting plane mask to 0x%x\n", plane_mask)) ~~ ^~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1472:46: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("setting foreground to 0x%x\n", foreground)) ~~ ^~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1481:46: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("setting background to 0x%x\n", background)) ~~ ^~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1544:40: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] Dprintf(("setting tile to 0x%x\n", tile)) ~~ ^~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1553:43: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] Dprintf(("setting stipple to 0x%x\n", stipple)) ~~ ^~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1622:45: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] Dprintf(("setting clip mask to 0x%x\n", clip_mask)) ~~ ^~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1663:44: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] Dprintf(("parsing info for GC 0x%x\n", gc_ptr->gc_id)) ~~ ^~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1881:5: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] gc_ptr_dst->gc_id, gc_ptr_src->gc_id)) ^~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1881:24: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] gc_ptr_dst->gc_id, gc_ptr_src->gc_id)) ^~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:2092:5: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] cmap->visual->vis_id, pixmap->cmap->visual->vis_id)); ^~~~~~~~~~~~~~~~~~~~ ./xmond.h:73:50: note: expanded from macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ xmove.c:2092:27: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] cmap->visual->vis_id, pixmap->cmap->visual->vis_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:73:50: note: expanded from macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ xmove.c:2149:3: warning: implicit declaration of function 'ConvertImage' is invalid in C99 [-Wimplicit-function-declaration] ConvertImage(image, pixmap->width, pixmap->height, pixmap->cmap, cmap); ^ 53 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c map.c map.c:275:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (map = FindServerResourceBase(base)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:275:14: note: place parentheses around the assignment to silence this warning if (map = FindServerResourceBase(base)) ^ ( ) map.c:275:14: note: use '==' to turn this assignment into an equality comparison if (map = FindServerResourceBase(base)) ^ == map.c:301:23: warning: implicit declaration of function 'DecrementResourceBase' is invalid in C99 [-Wimplicit-function-declaration] client_base = DecrementResourceBase(client_base, client->resource_mask); ^ map.c:325:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (map = FindResourceBase(base)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ map.c:325:14: note: place parentheses around the assignment to silence this warning if (map = FindResourceBase(base)) ^ ( ) map.c:325:14: note: use '==' to turn this assignment into an equality comparison if (map = FindResourceBase(base)) ^ == map.c:357:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (tmp_client = (Client *)deleteFirst(&meta_client->client_list)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:357:27: note: place parentheses around the assignment to silence this warning while (tmp_client = (Client *)deleteFirst(&meta_client->client_list)) { ^ ( ) map.c:357:27: note: use '==' to turn this assignment into an equality comparison while (tmp_client = (Client *)deleteFirst(&meta_client->client_list)) { ^ == map.c:363:9: warning: implicit declaration of function 'RemoveMetaClient' is invalid in C99 [-Wimplicit-function-declaration] RemoveMetaClient(meta_client); ^ map.c:387:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DecrementResourceBase(int base, unsigned long mask) ^ map.c:429:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (atom_ptr = hash_find(client->atom_table, xatom)) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:429:17: note: place parentheses around the assignment to silence this warning if (atom_ptr = hash_find(client->atom_table, xatom)) { ^ ( ) map.c:429:17: note: use '==' to turn this assignment into an equality comparison if (atom_ptr = hash_find(client->atom_table, xatom)) { ^ == map.c:455:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ map.c:632:4: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] cvis->vis_id); ^~~~~~~~~~~~ 9 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c get_image.c get_image.c:202:2: warning: implicit declaration of function '_XInitImageFuncPtrs' is invalid in C99 [-Wimplicit-function-declaration] _XInitImageFuncPtrs (image); ^ 1 warning generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c getsetProps.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c move_window.c move_window.c:172:67: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, ~~ ^~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move_window.c:173:6: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] parent_window)); ^~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move_window.c:239:4: warning: implicit declaration of function 'GetWindowPropsState' is invalid in C99 [-Wimplicit-function-declaration] GetWindowPropsState(cur_window, ^ 3 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c XMOVELib.c XMOVELib.c:70:4: warning: implicit declaration of function 'SendXmoveBuffer' is invalid in C99 [-Wimplicit-function-declaration] SendXmoveBuffer(server->fdd->fd, &server->fdd->outBuffer); ^ XMOVELib.c:114:22: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] num_written = write (fd, (char *)buf, BytesToWrite); ^ XMOVELib.c:166:17: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] num_read = read (fd, (char *)buf, BytesToRead); ^ XMOVELib.c:411:43: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] Dprintf(("InternAtom reply: Atom=%d\n",ILong((unsigned char *)&InternAtomReply.atom))); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ XMOVELib.c:793:50: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] Dprintf(("in XMOVEMapWindow mapping 0x%x\n",w)); ~~ ^ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ XMOVELib.c:928:32: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] x, y, x+width, y+height, valuescount)); ^~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ XMOVELib.c:1482:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XMOVEReceiveReplyOrError(fd, seqno, error) ^ 7 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c put_image.c put_image.c:834:25: warning: comparison of constant 65536 with expression of type 'unsigned short' is always false [-Wtautological-constant-out-of-range-compare] Available = ((65536 < image_format->max_request_size) ? (65536 << 2) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ put_image.c:920:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pixformat = GetPixmapFormat(image_format, image->depth)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ put_image.c:920:16: note: place parentheses around the assignment to silence this warning if (pixformat = GetPixmapFormat(image_format, image->depth)) { ^ ( ) put_image.c:920:16: note: use '==' to turn this assignment into an equality comparison if (pixformat = GetPixmapFormat(image_format, image->depth)) { ^ == put_image.c:945:6: warning: implicit declaration of function '_XInitImageFuncPtrs' is invalid in C99 [-Wimplicit-function-declaration] _XInitImageFuncPtrs(&img); ^ 3 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c move_selects.c move_selects.c:60:9: warning: format specifies type 'int' but the argument has type 'Atom' (aka 'unsigned long') [-Wformat] selection_ptr->selection, owner)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move_selects.c:60:35: warning: format specifies type 'unsigned int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] selection_ptr->selection, owner)); ^~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c colormaps.c colormaps.c:96:42: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] color.red, color.blue, color.green, cell->new_server_pixel, ^~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:97:6: warning: format specifies type 'unsigned int' but the argument has type 'Colormap' (aka 'unsigned long') [-Wformat] cmap->colormap_id, cell->read_write)); ^~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:138:36: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] debug(2, (stderr, "main %x/%x\n", cell->client_pixel, count)); ~~ ^~~~~~~~~~~~~~~~~~ %lx ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:150:7: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] nextrocell[index]->client_pixel, nextrocount[index])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:155:7: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] nextrwcell[index]->client_pixel, nextrwcount[index])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:169:37: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] debug(2, (stderr, "MAIN %x/%x\n", cell->client_pixel, count)); ~~ ^~~~~~~~~~~~~~~~~~ %lx ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:195:9: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] nextrocell[index]->client_pixel, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:212:9: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] nextrwcell[index]->client_pixel, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:231:42: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] color.red, color.green, color.blue, newpixel, cmap->colormap_id, rw)); ^~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:231:52: warning: format specifies type 'unsigned int' but the argument has type 'Colormap' (aka 'unsigned long') [-Wformat] color.red, color.green, color.blue, newpixel, cmap->colormap_id, rw)); ^~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ 10 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c display.c display.c:16:44: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] fprintf(stderr, "VIS %8x(%c%8x)%8x%8x\n", vis->vis_id, ~~~ ^~~~~~~~~~~ %8lx display.c:18:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] vis->vis_mapped ? vis->vis_mapped->vis_id : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:22:38: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] fprintf(stderr, " %8x%8x%8x\n", vis->vis_index[i], ~~~ ^~~~~~~~~~~~~~~~~ %8lx display.c:23:23: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] vis->vis_shift[i], vis->vis_mask[i]); ^~~~~~~~~~~~~~~~ display.c:24:33: warning: format specifies type 'unsigned int' but the argument has type 'card32' (aka 'unsigned long') [-Wformat] fprintf(stderr, " %8x\n\n", vis->vis_index[i]); ~~~ ^~~~~~~~~~~~~~~~~ %8lx display.c:81:7: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] cur_visual->vis_id)); ^~~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ display.c:165:6: warning: implicit declaration of function 'MapColorIndex' is invalid in C99 [-Wimplicit-function-declaration] MapColorIndex(&index, colormap, Reply)); ^ display.c:253:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fmt = GetPixmapFormat(image_format, depth)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:253:10: note: place parentheses around the assignment to silence this warning if (fmt = GetPixmapFormat(image_format, depth)) ^ ( ) display.c:253:10: note: use '==' to turn this assignment into an equality comparison if (fmt = GetPixmapFormat(image_format, depth)) ^ == display.c:270:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fmt = GetPixmapFormat(image_format, depth)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:270:10: note: place parentheses around the assignment to silence this warning if (fmt = GetPixmapFormat(image_format, depth)) ^ ( ) display.c:270:10: note: use '==' to turn this assignment into an equality comparison if (fmt = GetPixmapFormat(image_format, depth)) ^ == display.c:432:46: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] visual->vis_inuse ? "in-use" : "unused", visual->vis_id)); ^~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ display.c:442:6: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] curvisual->vis_id)); ^~~~~~~~~~~~~~~~~ ./xmond.h:69:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ display.c:580:6: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] cvisual->vis_id)); ^~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:602:4: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] cvisual->vis_id, ^~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:604:4: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] bestvisual?bestvisual->vis_id:0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:615:7: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] svisual->vis_id)); ^~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:620:6: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] svisual->vis_id, bestvisual->vis_id)); ^~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:620:23: warning: format specifies type 'unsigned int' but the argument has type 'VisualID' (aka 'unsigned long') [-Wformat] svisual->vis_id, bestvisual->vis_id)); ^~~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ 17 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c MoveImage.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c move.c move.c:307:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (colon = strchr(new_display_name, ':')) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ move.c:307:16: note: place parentheses around the assignment to silence this warning if (colon = strchr(new_display_name, ':')) { ^ ( ) move.c:307:16: note: use '==' to turn this assignment into an equality comparison if (colon = strchr(new_display_name, ':')) { ^ == move.c:444:4: warning: implicit declaration of function 'SendXmoveBuffer' is invalid in C99 [-Wimplicit-function-declaration] SendXmoveBuffer(server->fdd->fd, &server->fdd->outBuffer); ^ move.c:476:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] client->ClientNumber, full_display_name); ^~~~~~~~~~~~~~~~~~~~ move.c:479:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] new_server->resource_base, new_server->resource_mask)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:479:35: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] new_server->resource_base, new_server->resource_mask)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:536:72: warning: format specifies type 'int' but the argument has type 'Atom' (aka 'unsigned long') [-Wformat] Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); ~~ ^~~~~~~~~~~~~~~~~ %lu ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:536:90: warning: format specifies type 'int' but the argument has type 'Atom' (aka 'unsigned long') [-Wformat] Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); ~~ ^~~~~~~~~~~~~~~~~ %lu ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:553:18: warning: format specifies type 'unsigned int' but the argument has type 'Font' (aka 'unsigned long') [-Wformat] font->name, xfont)); ^~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:580:48: warning: format specifies type 'unsigned int' but the argument has type 'Font' (aka 'unsigned long') [-Wformat] Dprintf(("Font fixed loaded with id 0x%x\n", xfont)); ~~ ^~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:602:45: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, ~~ ^~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:603:6: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] pixmap->pixmap_id)); ^~~~~~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:637:41: warning: format specifies type 'unsigned int' but the argument has type 'Cursor' (aka 'unsigned long') [-Wformat] Dprintf(("cursor id 0x%x loaded.\n", cursor_ptr->cursor_id)); ~~ ^~~~~~~~~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:678:10: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat] pixmap->pixmap_id, oldmapdepth->depth, image->depth)); ^~~~~~~~~~~~~~~~~ ./xmond.h:73:50: note: expanded from macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ move.c:727:42: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] Dprintf(("putimage with gc 0x%x\n",gc)); ~~ ^~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:816:58: warning: format specifies type 'unsigned int' but the argument has type 'Font' (aka 'unsigned long') [-Wformat] Dprintf(("remapped font for new gc to be 0x%x\n",gc_ptr->values.font)); ~~ ^~~~~~~~~~~~~~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:847:65: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] Eprintf(("Moving gc %x with ClipRects, but no origins?\n", xgc)); ~~ ^~~ %lx ./xmond.h:73:50: note: expanded from macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ move.c:849:5: warning: implicit declaration of function 'XMOVESetClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] XMOVESetClipRectangles(new_fd, new_seqno, xgc, ^ move.c:855:6: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] xgc, gc_ptr->gc_id)); ^~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:855:11: warning: format specifies type 'unsigned int' but the argument has type 'GContext' (aka 'unsigned long') [-Wformat] xgc, gc_ptr->gc_id)); ^~~~~~~~~~~~~ ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:901:41: warning: format specifies type 'unsigned int' but the argument has type 'Cursor' (aka 'unsigned long') [-Wformat] Dprintf(("cursor id 0x%x loaded.\n", xcursor)); ~~ ^~~~~~~ %lx ./xmond.h:70:45: note: expanded from macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:1071:7: warning: implicit declaration of function 'XMOVESetCloseDownMode' is invalid in C99 [-Wimplicit-function-declaration] XMOVESetCloseDownMode(new_fd, new_seqno, client->closedownmode); ^ move.c:1339:4: warning: implicit declaration of function 'StoreWindowStates' is invalid in C99 [-Wimplicit-function-declaration] StoreWindowStates(); ^ 22 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c check_auth.c check_auth.c:133:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(2, "Unable to execute xauth. User authentication not enabled\n", 57); ^ 1 warning generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c hash.c hash.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hash_free(hash_table *table) ^ hash.c:84:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hash_add(hash_table *table, void *data) ^ 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/usr/pkg/lib\" -DDL_WOUT_PRAGMA -I/usr/X11R7/include -c XMOVEImUtil.c bmake[1]: don't know how to make /usr/pkg/lib/libXaw.a. Stop bmake[1]: stopped in /usr/pkgsrc/work/x11/xmove/work/xmove/xmove *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xmove/work/xmove *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/x11/xmove *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/xmove