<86>May 24 11:36:34 userdel[3306890]: delete user 'rooter' <86>May 24 11:36:34 userdel[3306890]: removed group 'rooter' owned by 'rooter' <86>May 24 11:36:34 userdel[3306890]: removed shadow group 'rooter' owned by 'rooter' <86>May 24 11:36:34 groupadd[3306904]: group added to /etc/group: name=rooter, GID=567 <86>May 24 11:36:34 groupadd[3306904]: group added to /etc/gshadow: name=rooter <86>May 24 11:36:34 groupadd[3306904]: new group: name=rooter, GID=567 <86>May 24 11:36:34 useradd[3306918]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>May 24 11:36:34 userdel[3306942]: delete user 'builder' <86>May 24 11:36:34 userdel[3306942]: removed group 'builder' owned by 'builder' <86>May 24 11:36:34 userdel[3306942]: removed shadow group 'builder' owned by 'builder' <86>May 24 11:36:34 groupadd[3306955]: group added to /etc/group: name=builder, GID=568 <86>May 24 11:36:34 groupadd[3306955]: group added to /etc/gshadow: name=builder <86>May 24 11:36:34 groupadd[3306955]: new group: name=builder, GID=568 <86>May 24 11:36:34 useradd[3306962]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>May 24 11:36:37 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>May 24 11:36:38 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>May 24 11:36:38 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>May 24 11:36:38 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>May 24 11:36:38 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>May 24 11:36:40 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>May 24 11:36:40 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>May 24 11:36:40 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>May 24 11:36:40 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>May 24 11:36:40 rpmi: imake-1.0.7-alt3 1518797773 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/xmove-2.0-alt1.qa1.nosrc.rpm Installing xmove-2.0-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.18233 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xmove + echo 'Source #0 (xmove.2.0beta2.tar.bz2):' Source #0 (xmove.2.0beta2.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/xmove.2.0beta2.tar.bz2 + /bin/tar -xf - + cd xmove + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (xmove-2.0-unix-domain.patch.bz2):' Patch #0 (xmove-2.0-unix-domain.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/xmove-2.0-unix-domain.patch.bz2 + /usr/bin/patch -p1 -b --suffix .unix-domain patching file man/man1/xmove.1 patching file xmove/main.c patching file xmovectrl/xmovectrl.c + chmod 644 doc/features.txt doc/limitations.txt doc/using_xmove.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.9193 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xmove + for i in xmove xmovectrl + cd xmove + ln -sf ../man/man1/xmove.1 xmove.man + xmkmf imake -DUseInstalled -I/usr/share/X11/config In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib + make make: Entering directory '/usr/src/RPM/BUILD/xmove/xmove' cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o decode11.o decode11.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from decode11.c:43: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ decode11.c: In function 'DecodeRequest': decode11.c:214:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (CurrentVerbose = RequestVerbose) ^~~~~~~~~~~~~~ decode11.c:228:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (retval) ^ decode11.c: In function 'DecodeReply': decode11.c:257:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (CurrentVerbose = ReplyVerbose) ^~~~~~~~~~~~~~ decode11.c: In function 'DecodeEvent': decode11.c:537:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (CurrentVerbose = EventVerbose) ^~~~~~~~~~~~~~ decode11.c: In function 'CheckReplyTable': decode11.c:726:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("Unexpected reply, SequenceNumber: %d(%d).\n", ~^ %ld SequenceNumber, client->SequenceMapping); ~~~~~~~~~~~~~~~~~~~~~~~ decode11.c: In function 'DecodeReply': decode11.c:396:15: warning: 'modified.server_count' may be used uninitialized in this function [-Wmaybe-uninitialized] (modified.server_count * n * 4)); ~~~~~~~~^~~~~~~~~~~~~ decode11.c:374:37: warning: 'modified.server_first_keycode' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned long index = modified.server_first_keycode - ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ decode11.c:437:9: warning: 'modified.context' may be used uninitialized in this function [-Wmaybe-uninitialized] GetModifierMappingReply(buf, context); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode11.c:383:33: warning: 'modified.client_count' may be used uninitialized in this function [-Wmaybe-uninitialized] ISetLong(&buf[4], modified.client_count * n); ~~~~~~~~^~~~~~~~~~~~~ decode11.c:375:13: warning: 'modified.client_first_keycode' may be used uninitialized in this function [-Wmaybe-uninitialized] modified.client_first_keycode; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o linkl.o linkl.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from linkl.c:24: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ linkl.c: In function 'linkl_panic': linkl.c:278:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ linkl.c:278:2: warning: incompatible implicit declaration of built-in function 'exit' linkl.c:278:2: note: include '' or provide a declaration of 'exit' linkl.c:25:1: +#include linkl.c:278:2: exit(1); ^~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o print11.o print11.c In file included from /usr/include/malloc.h:22, from print11.c:112: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xmove.h:87, from print11.c:114: print11.c: In function 'CreateWindow': print11.c:1710:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] debug (2, (stderr, "CreateWindow sabotaged vis %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ temp_window->visual->vis_id)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ print11.c: In function 'ChangeWindowAttributes': print11.c:1773:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("XMOVE ChangeWindowAttribute on window 0x%x\n",ILong(&buf[4]))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c: In function 'DestroyWindow': print11.c:1883:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (window = FindWindowFromCurrentClient(ILong(&buf[4]))) { ^~~~~~ print11.c:1884:4: warning: implicit declaration of function 'TagAllDescendants' [-Wimplicit-function-declaration] TagAllDescendants(ILong(&buf[4])); ^~~~~~~~~~~~~~~~~ print11.c:1886:4: warning: implicit declaration of function 'DestroyTaggedWindows'; did you mean 'DestroySubwindows'? [-Wimplicit-function-declaration] DestroyTaggedWindows(); ^~~~~~~~~~~~~~~~~~~~ DestroySubwindows In file included from xmove.h:87, from print11.c:114: print11.c: In function 'ReparentWindow': print11.c:1957:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("XMOVE ReparentWindow Request on window 0x%x\n",ILong(&buf[4]))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c: In function 'GetProperty': print11.c:2439:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("XMOVE GetProperty on window 0x%x\n",ILong(&buf[4]))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c: In function 'SetSelectionOwner': print11.c:2605:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("Adding new selection %d\n",ILong(&buf[8]))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:2609:8: warning: implicit declaration of function 'AddSelectionToCurrentClient'; did you mean 'AddColormapToCurrentClient'? [-Wimplicit-function-declaration] AddSelectionToCurrentClient(temp_selection); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AddColormapToCurrentClient print11.c: In function 'GrabButton': print11.c:2982:3: warning: implicit declaration of function 'AddGrabToCurrentClient'; did you mean 'AddGCToCurrentClient'? [-Wimplicit-function-declaration] AddGrabToCurrentClient(temp_grab); ^~~~~~~~~~~~~~~~~~~~~~ AddGCToCurrentClient In file included from xmove.h:87, from print11.c:114: print11.c:2983:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf(("adding grab (button) to client with grab_window %x\n",temp_grab->grab_window)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c: In function 'UngrabButton': print11.c:3016:3: warning: implicit declaration of function 'RemoveGrabButtonFromCurrentClient'; did you mean 'RemoveCursorFromCurrentClient'? [-Wimplicit-function-declaration] RemoveGrabButtonFromCurrentClient(IByte(&buf[1]), ILong(&buf[4]), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RemoveCursorFromCurrentClient In file included from xmove.h:87, from print11.c:114: print11.c: In function 'GrabKey': print11.c:3157:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf(("adding grab (key) to client with grab_window %x\n",temp_grab->grab_window)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c: In function 'UngrabKey': print11.c:3186:3: warning: implicit declaration of function 'RemoveGrabKeyFromCurrentClient'; did you mean 'RemoveGCFromCurrentClient'? [-Wimplicit-function-declaration] RemoveGrabKeyFromCurrentClient(IByte(&buf[1]), ILong(&buf[4]), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RemoveGCFromCurrentClient In file included from xmove.h:87, from print11.c:114: print11.c: In function 'CreatePixmap': print11.c:3874:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Eprintf(("CreatePixmap %x of unknown depth %d?\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ temp_pixmap->pixmap_id, IByte(&buf[1]))); ~~~~~~~~~~~~~~~~~~~~~~ xmond.h:73:50: note: in definition of macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ print11.c:3905:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("adding pixmap to client with drawable %x\n",ILong(&buf[8]))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:3864:40: warning: unused variable 'drawable' [-Wunused-variable] union {WindowPtr win; PixmapPtr pix;} drawable; ^~~~~~~~ In file included from xmove.h:87, from print11.c:114: print11.c: In function 'FreePixmap': print11.c:3934:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("XMOVE got a free pixmap request on pixmap 0x%x\n",ILong(&buf[4]))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:3936:3: warning: implicit declaration of function 'RemovePixmapFromCurrentClient'; did you mean 'RemoveColormapFromCurrentClient'? [-Wimplicit-function-declaration] RemovePixmapFromCurrentClient(pixmap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RemoveColormapFromCurrentClient print11.c: In function 'CreateGC': print11.c:3971:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (pixmap = FindPixmapFromCurrentClient(drawable)) ^~~~~~ print11.c:3973:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (window = FindWindowFromCurrentClient(drawable)) ^~~~~~ print11.c:4004:13: warning: unused variable 'newcell' [-Wunused-variable] card32 newcell; ^~~~~~~ print11.c: In function 'CopyGC': print11.c:4122:7: warning: implicit declaration of function 'ParseGCBitmaskcopy'; did you mean 'ParseGCBitmaskValueList'? [-Wimplicit-function-declaration] ParseGCBitmaskcopy(temp_gc_src, temp_gc_dst, ^~~~~~~~~~~~~~~~~~ ParseGCBitmaskValueList print11.c: In function 'SetClipRectangles': print11.c:4183:3: warning: implicit declaration of function 'SetClipXOrigin'; did you mean 'XSetClipOrigin'? [-Wimplicit-function-declaration] SetClipXOrigin(gc, IShort(&buf[8])); ^~~~~~~~~~~~~~ XSetClipOrigin print11.c:4184:3: warning: implicit declaration of function 'SetClipYOrigin'; did you mean 'XSetClipOrigin'? [-Wimplicit-function-declaration] SetClipYOrigin(gc, IShort(&buf[10])); ^~~~~~~~~~~~~~ XSetClipOrigin print11.c: In function 'CopyArea': print11.c:4290:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dst.pix = FindPixmapFromCurrentClient(dstID)) ^~~ In file included from xmove.h:87, from print11.c:114: print11.c: In function 'CreateColormap': print11.c:4861:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] debug (2, (stderr, "CreateColormap sabotaged vis %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ temp_colormap->visual->vis_id)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ print11.c: In function 'AllocColorReply': print11.c:5091:26: warning: implicit declaration of function 'MapColorIndex'; did you mean 'FindColorIndex'? [-Wimplicit-function-declaration] ISetLong(&buf[16], MapColorIndex(&index, temps->cmap, Reply)); ^~~~~~~~~~~~~ FindColorIndex print11.c: In function 'AllocColorCells': print11.c:5178:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("bad colormap %x\n", ILong(&buf[4])); ~^ ~~~~~~~~~~~~~~ %lx print11.c: In function 'FreeColors': print11.c:5308:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cmap = FindColormapFromCurrentClient(ILong(&buf[4]))) ^~~~ In file included from xmove.h:87, from print11.c:114: print11.c:5318:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'card32' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:5318:13: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c: In function 'StoreColors': print11.c:5353:17: warning: unused variable 'color_mask' [-Wunused-variable] unsigned char color_mask; ^~~~~~~~~~ print11.c: In function 'RecolorCursor': print11.c:5723:3: warning: implicit declaration of function 'RecolorCursorFromCurrentClient'; did you mean 'RemoveCursorFromCurrentClient'? [-Wimplicit-function-declaration] RecolorCursorFromCurrentClient(xcursor,fg_r,fg_g,fg_b,bg_r,bg_g,bg_b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RemoveCursorFromCurrentClient print11.c: In function 'GetKeyboardMapping': print11.c:5887:31: warning: variable 'server_count' set but not used [-Wunused-but-set-variable] unsigned char server_min, server_count, server_max; ^~~~~~~~~~~~ In file included from xmove.h:87, from print11.c:114: print11.c: In function 'PrintSuccessfulSetUpReply': print11.c:6505:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("client base = 0x%x, mask = 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ILong(&buf[12]), ~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c:6505:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] Dprintf(("client base = 0x%x, mask = 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c:6507:4: ILong(&buf[16]))); ~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ print11.c: In function 'ProcessGetImage': print11.c:6825:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] Eprintf(("GetImage can't figure out matching depths %x (%d %d %d %d)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmap->colormap_id, cmap->visual->vis_mapped->vis_depth, depth, ~~~~~~~~~~~~~~~~~ xmond.h:73:50: note: in definition of macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ print11.c: In function 'FixGCnPixColormaps': print11.c:6959:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dst.win = FindWindowFromCurrentClient(did)) { ^~~ print11.c:6963:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if (dst.pix = FindPixmapFromCurrentClient(did)) { ^~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o server.o server.c In file included from /usr/include/sys/time.h:21, from server.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ server.c: In function 'XmoveCtrlQuit': server.c:611:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(NewConnFD); ^~~~~ pclose server.c:622:13: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] while (write(client->fdd->fd, &retval, 1) == 0); ^~~~~ fwrite server.c:624:6: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ server.c:624:6: warning: incompatible implicit declaration of built-in function 'exit' server.c:624:6: note: include '' or provide a declaration of 'exit' server.c:46:1: +#include server.c:624:6: exit(0); ^~~~ At top level: server.c:90:25: warning: 'tp' defined but not used [-Wunused-variable] static struct timeval tp; ^~ server.c:89:13: warning: 'ZeroTime2' defined but not used [-Wunused-variable] static long ZeroTime2 = -1; ^~~~~~~~~ server.c:88:13: warning: 'ZeroTime1' defined but not used [-Wunused-variable] static long ZeroTime1 = -1; ^~~~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o fd.o fd.c In file included from /usr/include/errno.h:25, from fd.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fd.c: In function 'EOFonFD': fd.c:106:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o main.o main.c In file included from /usr/include/sys/types.h:25, from main.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ main.c: In function 'InitializeMappingLibs': main.c:175:6: warning: implicit declaration of function 'initialize'; did you mean 'InitializeFD'? [-Wimplicit-function-declaration] initialize(); ^~~~~~~~~~ InitializeFD main.c: In function 'CloseConnection': main.c:260:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(client->fdd->fd); ^~~~~ pclose main.c:263:2: warning: implicit declaration of function 'RemoveClientFromMetaClient'; did you mean 'RemoveFontFromCurrentClient'? [-Wimplicit-function-declaration] RemoveClientFromMetaClient(meta_client, client); ^~~~~~~~~~~~~~~~~~~~~~~~~~ RemoveFontFromCurrentClient main.c:265:7: warning: implicit declaration of function 'RemoveMetaClient'; did you mean 'MoveClient'? [-Wimplicit-function-declaration] RemoveMetaClient(meta_client); ^~~~~~~~~~~~~~~~ MoveClient main.c: In function 'ScanArgs': main.c:311:28: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] ListenForClientsPort = atoi(argv[i]); ^~~~ main.c:374:10: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] (void) gethostname(LocalHostName, 255); ^~~~~~~~~~~ gethostbyname main.c: In function 'SetUpConnectionSocket': main.c:408:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(-1); ^~~~ main.c:408:4: warning: incompatible implicit declaration of built-in function 'exit' main.c:408:4: note: include '' or provide a declaration of 'exit' main.c:54:1: +#include main.c:408:4: exit(-1); ^~~~ main.c:466:4: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ main.c:466:4: note: include '' or provide a declaration of 'exit' main.c:476:4: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ main.c:476:4: note: include '' or provide a declaration of 'exit' main.c: In function 'MainLoop': main.c:556:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (errno != EINTR) ^ main.c: In function 'SendXmoveBuffer': main.c:627:17: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] num_written = write(fd, (char *)curbuf, BytesToWrite); ^~~~~ fwrite main.c: In function 'Usage': main.c:679:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ main.c:679:2: note: include '' or provide a declaration of 'exit' main.c: In function 'NewConnection': main.c:703:16: warning: implicit declaration of function 'ValidateNewConnection'; did you mean 'NewConnection'? [-Wimplicit-function-declaration] validate = ValidateNewConnection(ip_addr); ^~~~~~~~~~~~~~~~~~~~~ NewConnection main.c: In function 'ReadAndProcessData': main.c:861:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] num_read = read(read_fdd->fd, (char *)inbuffer->data + inbuffer->num_Saved, 64*1024); ^~~~ fread main.c: In function 'ConnectToClient': main.c:1123:64: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] ClientFD = accept(ConnectionSocket, (struct sockaddr *)&from, &len); ^~~~ In file included from main.c:30: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ main.c: In function 'SignalINT': main.c:1305:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ main.c:1305:2: note: include '' or provide a declaration of 'exit' main.c: In function 'SignalQUIT': main.c:1316:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ main.c:1316:2: note: include '' or provide a declaration of 'exit' main.c: In function 'SignalTERM': main.c:1327:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ main.c:1327:2: note: include '' or provide a declaration of 'exit' main.c: In function 'panic': main.c:1362:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ main.c:1362:2: note: include '' or provide a declaration of 'exit' main.c: In function 'ReadAndProcessData': main.c:957:44: warning: 'curlen' may be used uninitialized in this function [-Wmaybe-uninitialized] inbuffer->incomplete_data = process_buf - curlen; ^ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o prtype.o prtype.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from prtype.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ prtype.c: In function 'PrintINT16': prtype.c:203:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "%d", n); ~^ ~ %ld prtype.c: In function 'PrintINT32': prtype.c:213:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "%d", n); ~^ ~ %ld prtype.c: In function 'PrintCARD32': prtype.c:243:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stdout, "%08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintWINDOW': prtype.c:300:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "WIN %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintPIXMAP': prtype.c:344:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "PXM %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintCURSOR': prtype.c:386:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "CUR %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintFONT': prtype.c:400:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "FNT %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintGCONTEXT': prtype.c:411:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "GXC %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintCOLORMAP': prtype.c:425:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "CMP %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintDRAWABLE': prtype.c:449:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "DWB %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintFONTABLE': prtype.c:459:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "FTB %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintATOM': prtype.c:477:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "ATM %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintVISUALID': prtype.c:504:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "VIS %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintTIMESTAMP': prtype.c:531:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "TIM %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintRESOURCEID': prtype.c:545:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "RID %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintKEYSYM': prtype.c:556:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "KYS %08x", n); ~~~^ ~ %08lx prtype.c: In function 'PrintENUMERATED': prtype.c:643:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(stdout, "**INVALID** (%d)", n); ~^ ~ %ld prtype.c: In function 'PrintList': prtype.c:753:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); ~^ ~~~~~~ %ld prtype.c: In function 'PrintListSTR': prtype.c:803:29: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); ~^ ~~~~~~ %ld cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o table11.o table11.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from table11.c:54: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o xmove.o xmove.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from xmove.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xmove.h:87, from xmove.c:19: xmove.c: In function 'AddGCToCurrentClient': xmove.c:160:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Dprintf((" id = %x, drawable = %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gc->gc_id, gc->drawable_id)); ~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:160:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Drawable' {aka 'long unsigned int'} [-Wformat=] Dprintf((" id = %x, drawable = %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gc->gc_id, gc->drawable_id)); ~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'FreeClientLists': xmove.c:183:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (item = deleteFirst(&client->resource_maps)) ^~~~ xmove.c:226:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (item = deleteFirst(&client->colormap_list)) { ^~~~ xmove.c:231:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (item = deleteFirst(&client->grab_list)) ^~~~ xmove.c:242:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (item = deleteFirst(&client->selection_list)) ^~~~ xmove.c: In function 'FreeServerLists': xmove.c:270:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (item = deleteFirst(&server->reply_list)) ^~~~ xmove.c: In function 'CreateNewCellArray': xmove.c:303:6: warning: unused variable 'ncells' [-Wunused-variable] int ncells; ^~~~~~ In file included from xmove.h:87, from xmove.c:19: xmove.c: In function 'AddWindowToCurrentClient': xmove.c:314:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ window->window_id, window->parent_id, ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:314:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ window->window_id, window->parent_id, ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'RemoveWindowFromCurrentClient': xmove.c:380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_window = hash_delete(client->window_table, xwin)) ^~~~~~~~~~~ xmove.c: In function 'ReparentWindowForCurrentClient': xmove.c:389:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_window = hash_find(client->window_table, xwin)) { ^~~~~~~~~~~ xmove.c: In function 'RemoveGCFromCurrentClient': xmove.c:403:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gc = hash_delete(client->gc_table, xgc)) { ^~ xmove.c: In function 'RemoveFontFromCurrentClient': xmove.c:441:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_font = hash_delete(client->font_table, xfont)) { ^~~~~~~~~ xmove.c: In function 'RemoveCursorFromCurrentClient': xmove.c:460:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cursor = hash_delete(client->cursor_table, xcursor)) { ^~~~~~ xmove.c:473:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (glyph = hash_delete(client->glyph_cursor_table, xcursor)) ^~~~~ xmove.c: In function 'RecolorCursorFromCurrentClient': xmove.c:495:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_cursor = hash_find(client->cursor_table, xcursor)) { ^~~~~~~~~~~ xmove.c:506:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_glyph_cursor = hash_find(client->glyph_cursor_table, xcursor)) { ^~~~~~~~~~~~~~~~~ In file included from xmove.h:87, from xmove.c:19: xmove.c: In function 'AddPixmapToCurrentClient': xmove.c:644:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pixmap->pixmap_id, pixmap->width, pixmap->height, pixmap->depth)); ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:644:14: warning: format '%d' expects argument of type 'int', but argument 5 has type 'PixmapFormatPtr' {aka 'struct PixmapFormatRec *'} [-Wformat=] Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pixmap->pixmap_id, pixmap->width, pixmap->height, pixmap->depth)); ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'RemovePixmapFromCurrentClient': xmove.c:655:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_pixmap = hash_delete(client->pixmap_table, pixmap)) ^~~~~~~~~~~ In file included from xmove.h:87, from xmove.c:19: xmove.c: In function 'AddSelectionToCurrentClient': xmove.c:664:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] Dprintf(("selection: %d\n", selection->selection)) ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'CreateNewAtom': xmove.c:712:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_atom = FindAtom(client_atom)) ^~~~~~~~ xmove.c:715:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_atom = FindServerAtom(atom)) ^~~~~~~~ xmove.c:718:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (new_atom = FindAtom(client_atom)) ^~~~~~~~ xmove.c: In function 'RemoveAtomFromCurrentClient': xmove.c:762:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_atom = hash_delete(client->atom_table, atom)) { ^~~~~~~~~ In file included from xmove.h:87, from xmove.c:19: xmove.c: In function 'AddFontToCurrentClient': xmove.c:773:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Font' {aka 'long unsigned int'} [-Wformat=] Dprintf(("name = %s, id = 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~ font->name, font->font_id)); ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'AddAtomMapping': xmove.c:815:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (atommap = FindAtomMapping(name)) ^~~~~~~ xmove.c: In function 'AddAtomTypeMapping': xmove.c:836:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (atommap = FindAtomTypeMapping(name)) ^~~~~~~ xmove.c: In function 'AllocColorCell': xmove.c:924:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_cell = FindServerColorCell(cur_pixel, cmap, vis_index)) ^~~~~~~~ In file included from xmove.h:87, from xmove.c:19: xmove.c:948:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); ^~~~~~~~~~~~ ~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:948:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:950:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, ^~~~~~~~~~~~~~~~ ~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:950:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, ^~~~~~~~~~~~~~~~ new_cell->server_pixel, new_cell->client_pixel)); ~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:950:22: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, ^~~~~~~~~~~~~~~~ new_cell->server_pixel, new_cell->client_pixel)); ~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ xmove.c:910:6: warning: unused variable 'split' [-Wunused-variable] int split; ^~~~~ xmove.c:904:25: warning: unused variable 'temp_cell' [-Wunused-variable] ColorCellPtr new_cell, temp_cell; ^~~~~~~~~ In file included from xmove.h:87, from xmove.c:19: xmove.c: In function 'SetBackgroundPixmap': xmove.c:1137:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("setting background pixmap to 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ background_pixmap)) ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetBackgroundPixel': xmove.c:1151:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("setting background pixel to 0x%x.\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ background_pixel)) ~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetBorderPixmap': xmove.c:1162:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("setting border pixmap to 0x%x.\n", border_pixmap)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetBorderPixel': xmove.c:1172:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("setting border pixel to 0x%x.\n", border_pixel)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetBackingPixel': xmove.c:1182:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("setting backing pixel to 0x%x.\n", backing_pixel)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetColormap': xmove.c:1192:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("setting colormap to 0x%x.\n", colormap)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetCursor': xmove.c:1202:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Cursor' {aka 'long unsigned int'} [-Wformat=] Dprintf(("setting cursor to 0x%x.\n", cursor)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetPlaneMask': xmove.c:1463:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("setting plane mask to 0x%x\n", plane_mask)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetForeground': xmove.c:1472:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("setting foreground to 0x%x\n", foreground)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetBackground': xmove.c:1481:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("setting background to 0x%x\n", background)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetTile': xmove.c:1544:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("setting tile to 0x%x\n", tile)) ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetStipple': xmove.c:1553:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("setting stipple to 0x%x\n", stipple)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'SetClipMask': xmove.c:1622:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("setting clip mask to 0x%x\n", clip_mask)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'ParseGCBitmaskValueList': xmove.c:1663:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Dprintf(("parsing info for GC 0x%x\n", gc_ptr->gc_id)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'ParseGCBitmaskcopy': xmove.c:1880:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gc_ptr_dst->gc_id, gc_ptr_src->gc_id)) ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c:1880:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gc_ptr_dst->gc_id, gc_ptr_src->gc_id)) ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ xmove.c: In function 'ConvertPixmapToColormap': xmove.c:2091:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmap->visual->vis_id, pixmap->cmap->visual->vis_id)); ~~~~~~~~~~~~~~~~~~~~ xmond.h:73:50: note: in definition of macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ xmove.c:2091:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmap->visual->vis_id, pixmap->cmap->visual->vis_id)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:73:50: note: in definition of macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ xmove.c:2149:3: warning: implicit declaration of function 'ConvertImage'; did you mean 'MoveImage'? [-Wimplicit-function-declaration] ConvertImage(image, pixmap->width, pixmap->height, pixmap->cmap, cmap); ^~~~~~~~~~~~ MoveImage xmove.c:2058:24: warning: unused variable 'cells' [-Wunused-variable] register ColorCellPtr cells; ^~~~~ xmove.c:2057:9: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ xmove.c:2057:6: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o map.o map.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from map.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ map.c: In function 'MapServerResourceBase': map.c:275:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (map = FindServerResourceBase(base)) ^~~ map.c:301:23: warning: implicit declaration of function 'DecrementResourceBase'; did you mean 'MapServerResourceBase'? [-Wimplicit-function-declaration] client_base = DecrementResourceBase(client_base, client->resource_mask); ^~~~~~~~~~~~~~~~~~~~~ MapServerResourceBase map.c: In function 'MapResourceBase': map.c:325:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (map = FindResourceBase(base)) ^~~ map.c:357:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (tmp_client = (Client *)deleteFirst(&meta_client->client_list)) { ^~~~~~~~~~ map.c:363:9: warning: implicit declaration of function 'RemoveMetaClient'; did you mean 'MoveClient'? [-Wimplicit-function-declaration] RemoveMetaClient(meta_client); ^~~~~~~~~~~~~~~~ MoveClient map.c: At top level: map.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] DecrementResourceBase(int base, unsigned long mask) ^~~~~~~~~~~~~~~~~~~~~ map.c: In function 'MapAtom': map.c:429:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (atom_ptr = hash_find(client->atom_table, xatom)) { ^~~~~~~~ map.c:452:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (atom_ptr->server_atom == xatom) ^ map.c: In function 'MapColorIndex': map.c:631:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] "xmove assert: MapColorIndex couldn't find a visual from VIS %x", ~^ %lx cvis->vis_id); ~~~~~~~~~~~~ map.c: In function 'MapWindowID': map.c:521:9: warning: 'formats' may be used uninitialized in this function [-Wmaybe-uninitialized] return MapResource(xwin, dir, formats->sc_root_window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c: In function 'MapColormapID': map.c:549:9: warning: 'formats' may be used uninitialized in this function [-Wmaybe-uninitialized] return MapResource(xcmap, dir, formats->sc_default_cmap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o get_image.o get_image.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from get_image.c:28: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ get_image.c: In function 'XMOVECreateImage': get_image.c:202:2: warning: implicit declaration of function '_XInitImageFuncPtrs'; did you mean 'XInitImage'? [-Wimplicit-function-declaration] _XInitImageFuncPtrs (image); ^~~~~~~~~~~~~~~~~~~ XInitImage cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o getsetProps.o getsetProps.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from getsetProps.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o move_window.o move_window.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from move_window.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xmove.h:87, from move_window.c:25: move_window.c: In function 'move_window': move_window.c:172:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move_window.c:172:15: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parent_window)); ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move_window.c:32:10: warning: unused variable 'new_depth' [-Wunused-variable] int new_depth; ^~~~~~~~~ move_window.c: In function 'StoreWindowStates': move_window.c:239:4: warning: implicit declaration of function 'GetWindowPropsState'; did you mean 'XGetWindowProperty'? [-Wimplicit-function-declaration] GetWindowPropsState(cur_window, ^~~~~~~~~~~~~~~~~~~ XGetWindowProperty cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o XMOVELib.o XMOVELib.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from XMOVELib.c:23: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ XMOVELib.c: In function 'InsertRequestsInit': XMOVELib.c:70:4: warning: implicit declaration of function 'SendXmoveBuffer'; did you mean 'SendBuffer'? [-Wimplicit-function-declaration] SendXmoveBuffer(server->fdd->fd, &server->fdd->outBuffer); ^~~~~~~~~~~~~~~ SendBuffer XMOVELib.c: In function 'SendBuffer': XMOVELib.c:114:22: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] num_written = write (fd, (char *)buf, BytesToWrite); ^~~~~ fwrite XMOVELib.c:99:25: warning: unused variable 'NBIO' [-Wunused-variable] int NBIO = 0; /* used in ioctl */ ^~~~ XMOVELib.c: In function 'ReceiveBuffer': XMOVELib.c:166:17: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] num_read = read (fd, (char *)buf, BytesToRead); ^~~~ fread XMOVELib.c:153:25: warning: unused variable 'NBIO' [-Wunused-variable] int NBIO = 0; /* used in ioctl */ ^~~~ XMOVELib.c: In function 'ReceiveReply': XMOVELib.c:197:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] int retval, remaining; ^~~~~~ In file included from xmove.h:87, from XMOVELib.c:33: XMOVELib.c: In function 'XMOVEInternAtom': XMOVELib.c:411:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("InternAtom reply: Atom=%d\n",ILong((unsigned char *)&InternAtomReply.atom))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ XMOVELib.c: In function 'XMOVEMapWindow': XMOVELib.c:793:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf(("in XMOVEMapWindow mapping 0x%x\n",w)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ XMOVELib.c: In function 'XMOVECreateWindow': XMOVELib.c:927:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=] Dprintf (("XMOVECreateWindow: (%d,%d)-(%d,%d), with %d attributes\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x, y, x+width, y+height, valuescount)); ~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ XMOVELib.c: At top level: XMOVELib.c:1482:1: warning: return type defaults to 'int' [-Wimplicit-int] XMOVEReceiveReplyOrError(fd, seqno, error) ^~~~~~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEReceiveReplyOrError': XMOVELib.c:1490:8: warning: variable 'retval' set but not used [-Wunused-but-set-variable] int retval; ^~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o put_image.o put_image.c In file included from /usr/include/malloc.h:22, from put_image.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ put_image.c: In function 'SwapBitsAndTwoBytes': put_image.c:315:1: warning: type of 'half_order' defaults to 'int' [-Wimplicit-int] SwapBitsAndTwoBytes (src, dest, srclen, srcinc, destinc, height, half_order) ^~~~~~~~~~~~~~~~~~~ put_image.c: In function 'XMOVEPutImage': put_image.c:920:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pixformat = GetPixmapFormat(image_format, image->depth)) { ^~~~~~~~~ put_image.c:945:6: warning: implicit declaration of function '_XInitImageFuncPtrs'; did you mean 'XInitImage'? [-Wimplicit-function-declaration] _XInitImageFuncPtrs(&img); ^~~~~~~~~~~~~~~~~~~ XInitImage put_image.c:917:6: warning: unused variable 'n' [-Wunused-variable] int n; ^ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o move_selects.o move_selects.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from move_selects.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xmove.h:87, from move_selects.c:24: move_selects.c: In function 'move_selections': move_selects.c:59:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Attempting to set selection (s)%d to owner %X\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_ptr->selection, owner)); ~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move_selects.c:59:18: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Attempting to set selection (s)%d to owner %X\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_ptr->selection, owner)); ~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o colormaps.o colormaps.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from colormaps.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xmove.h:87, from colormaps.c:18: colormaps.c: In function 'MoveColorCells': colormaps.c:95:21: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color.red, color.blue, color.green, cell->new_server_pixel, ~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:95:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ colormaps.c:97:6: cmap->colormap_id, cell->read_write)); ~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c: In function 'MoveSplitColorCells': colormaps.c:138:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "main %x/%x\n", cell->client_pixel, count)); ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:149:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "RO%x %x/%x\n", index, ^~~~~~~~~~~~~~ nextrocell[index]->client_pixel, nextrocount[index])); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:154:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "RW%x %x/%x\n", index, ^~~~~~~~~~~~~~ nextrwcell[index]->client_pixel, nextrwcount[index])); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:169:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "MAIN %x/%x\n", cell->client_pixel, count)); ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:194:24: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "RO%x %x/%x\n", index, ^~~~~~~~~~~~~~ nextrocell[index]->client_pixel, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:211:24: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "RW%x %x/%x\n", index, ^~~~~~~~~~~~~~ nextrwcell[index]->client_pixel, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:230:21: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'card32' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color.red, color.green, color.blue, newpixel, cmap->colormap_id, rw)); ~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ colormaps.c:230:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color.red, color.green, color.blue, newpixel, cmap->colormap_id, rw)); ~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o display.o display.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from display.c:9: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ display.c: In function 'DumpVisual': display.c:16:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "VIS %8x(%c%8x)%8x%8x\n", vis->vis_id, ~~^ ~~~~~~~~~~~ %8lx display.c:16:31: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "VIS %8x(%c%8x)%8x%8x\n", vis->vis_id, ~~^ %8lx display.c:18:3: vis->vis_mapped ? vis->vis_mapped->vis_id : 0, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:22:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, " %8x%8x%8x\n", vis->vis_index[i], ~~^ ~~~~~~~~~~~~~~~~~ %8lx display.c:22:32: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'card32' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, " %8x%8x%8x\n", vis->vis_index[i], ~~^ %8lx vis->vis_shift[i], vis->vis_mask[i]); ~~~~~~~~~~~~~~~~ display.c:24:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, " %8x\n\n", vis->vis_index[i]); ~~^ ~~~~~~~~~~~~~~~~~ %8lx In file included from xmove.h:87, from display.c:9: display.c: In function 'SaveVisuals': display.c:80:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] debug(2, (stderr, "SaveVisuals: saving visual %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cur_visual->vis_id)); ~~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ display.c:165:6: warning: implicit declaration of function 'MapColorIndex'; did you mean 'FindColorIndex'? [-Wimplicit-function-declaration] MapColorIndex(&index, colormap, Reply)); ^~~~~~~~~~~~~ FindColorIndex display.c: In function 'XMOVEGetBitsPerPixel': display.c:253:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (fmt = GetPixmapFormat(image_format, depth)) ^~~ display.c: In function 'XMOVEGetScanlinePad': display.c:270:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (fmt = GetPixmapFormat(image_format, depth)) ^~~ In file included from xmove.h:87, from display.c:9: display.c: In function 'FindCompatibleVisual': display.c:431:20: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] debug(3, (stderr, "FindCompatibleVisual: checking for %s visual %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ visual->vis_inuse ? "in-use" : "unused", visual->vis_id)); ~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ display.c:441:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] debug(3, (stderr, "FindCompatibleVisual: comparing with visual %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curvisual->vis_id)); ~~~~~~~~~~~~~~~~~ xmond.h:69:55: note: in definition of macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ display.c: In function 'MakeNewServerFormats': display.c:579:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] Dprintf(("MakeNewServerFormats: ERROR visual C %x --> NULL\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvisual->vis_id)); ~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:601:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvisual->vis_id, ~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:601:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:604:4: bestvisual?bestvisual->vis_id:0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:614:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] Dprintf(("MakeNewServerFormats: visual S %x --> NULL\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svisual->vis_id)); ~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:619:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svisual->vis_id, bestvisual->vis_id)); ~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ display.c:619:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svisual->vis_id, bestvisual->vis_id)); ~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o MoveImage.o MoveImage.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from MoveImage.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o move.o move.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from move.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ move.c: In function 'CloseNewServers': move.c:94:13: warning: unused variable 'item' [-Wunused-variable] Pointer item; ^~~~ move.c:80:10: warning: variable 'cur_client' set but not used [-Wunused-but-set-variable] Client *cur_client; ^~~~~~~~~~ move.c: In function 'Move_stage1': move.c:307:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (colon = strchr(new_display_name, ':')) { ^~~~~ move.c:310:47: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] new_fd = ConnectToServer(new_display_name, atoi(colon), ^~~~ move.c:444:4: warning: implicit declaration of function 'SendXmoveBuffer'; did you mean 'SendBuffer'? [-Wimplicit-function-declaration] SendXmoveBuffer(server->fdd->fd, &server->fdd->outBuffer); ^~~~~~~~~~~~~~~ SendBuffer move.c:475:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stdout, "XMOVE: switching client %d to display %s\n", ~^ %ld client->ClientNumber, full_display_name); ~~~~~~~~~~~~~~~~~~~~ In file included from xmove.h:87, from move.c:20: move.c:478:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Dprintf(("New display base = 0x%x, mask = 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ new_server->resource_base, new_server->resource_mask)); ~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:478:15: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] Dprintf(("New display base = 0x%x, mask = 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ new_server->resource_base, new_server->resource_mask)); ~~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:259:11: warning: unused variable 'count' [-Wunused-variable] int count = 1; /* ETHAN */ ^~~~~ In file included from xmove.h:87, from move.c:20: move.c: In function 'Move_stage2': move.c:536:13: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:536:13: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:552:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Font' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Font %s loaded with id 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font->name, xfont)); ~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:580:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Font' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Font fixed loaded with id 0x%x\n", xfont)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:602:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:602:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pixmap->pixmap_id)); ~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c: In function 'Move_stage3': move.c:637:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Cursor' {aka 'long unsigned int'} [-Wformat=] Dprintf(("cursor id 0x%x loaded.\n", cursor_ptr->cursor_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:677:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] Eprintf(("move.c: pixmap %x expected depth %d, got %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pixmap->pixmap_id, oldmapdepth->depth, image->depth)); ~~~~~~~~~~~~~~~~~ xmond.h:73:50: note: in definition of macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ move.c:727:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Dprintf(("putimage with gc 0x%x\n",gc)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c: In function 'Move_stage4': move.c:816:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Font' {aka 'long unsigned int'} [-Wformat=] Dprintf(("remapped font for new gc to be 0x%x\n",gc_ptr->values.font)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:847:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Eprintf(("Moving gc %x with ClipRects, but no origins?\n", xgc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ xmond.h:73:50: note: in definition of macro 'Eprintf' #define Eprintf(f) { if (EthanPrintDebug) printf f; } ^ move.c:849:5: warning: implicit declaration of function 'XMOVESetClipRectangles'; did you mean 'XSetClipRectangles'? [-Wimplicit-function-declaration] XMOVESetClipRectangles(new_fd, new_seqno, xgc, ^~~~~~~~~~~~~~~~~~~~~~ XSetClipRectangles In file included from xmove.h:87, from move.c:20: move.c:854:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgc, gc_ptr->gc_id)); ~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:854:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgc, gc_ptr->gc_id)); ~~~~~~~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c:793:13: warning: variable 'drawable' set but not used [-Wunused-but-set-variable] Drawable drawable; ^~~~~~~~ In file included from xmove.h:87, from move.c:20: move.c:901:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Cursor' {aka 'long unsigned int'} [-Wformat=] Dprintf(("cursor id 0x%x loaded.\n", xcursor)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ xmond.h:70:45: note: in definition of macro 'Dprintf' #define Dprintf(f) { if (PrintDebug) printf f; } ^ move.c: In function 'Move_stage5': move.c:1071:7: warning: implicit declaration of function 'XMOVESetCloseDownMode'; did you mean 'XSetCloseDownMode'? [-Wimplicit-function-declaration] XMOVESetCloseDownMode(new_fd, new_seqno, client->closedownmode); ^~~~~~~~~~~~~~~~~~~~~ XSetCloseDownMode move.c:917:22: warning: unused variable 'curformat' [-Wunused-variable] PixmapFormatPtr curformat; ^~~~~~~~~ move.c:916:16: warning: unused variable 'curvis' [-Wunused-variable] VisualPtr curvis; ^~~~~~ move.c: In function 'SuspendClient': move.c:1339:4: warning: implicit declaration of function 'StoreWindowStates' [-Wimplicit-function-declaration] StoreWindowStates(); ^~~~~~~~~~~~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o check_auth.o check_auth.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from check_auth.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ check_auth.c: In function 'InitMagicCookie': check_auth.c:132:10: warning: implicit declaration of function 'system'; did you mean 'listen'? [-Wimplicit-function-declaration] if (system(shellcmd) != 0) { ^~~~~~ listen check_auth.c:133:4: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(2, "Unable to execute xauth. User authentication not enabled\n", 57); ^~~~~ fwrite cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o hash.o hash.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from hash.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hash.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] hash_free(hash_table *table) ^~~~~~~~~ hash.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] hash_add(hash_table *table, void *data) ^~~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o XMOVEImUtil.o XMOVEImUtil.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from XMOVEImUtil.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DNeedFunctionPrototypes=1 -DDEBUG -DATOMMAP_LIBPATH=\"/home/ethan/release/xmove/lib\" -c -o libatommap.o libatommap.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xmove.h:84, from libatommap.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ libatommap.c: In function 'MULTIPLE_map': libatommap.c:591:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (property_ptr = FindAtom(*property)) ^~~~~~~~~~~~ libatommap.c:606:11: warning: implicit declaration of function 'XMOVEGetProperty'; did you mean 'X_GetProperty'? [-Wimplicit-function-declaration] while (XMOVEGetProperty(server->fdd->fd, &client->SequenceNumber, ^~~~~~~~~~~~~~~~ X_GetProperty libatommap.c:620:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (property_ptr = FindAtom(*property)) ^~~~~~~~~~~~ libatommap.c:589:6: warning: enumeration value 'MapDeleteProp' not handled in switch [-Wswitch] switch (req_type) { ^~~~~~ libatommap.c:589:6: warning: enumeration value 'MapGetProp' not handled in switch [-Wswitch] libatommap.c:589:6: warning: enumeration value 'MapClientMessage' not handled in switch [-Wswitch] libatommap.c:589:6: warning: enumeration value 'MapMoveClientProps' not handled in switch [-Wswitch] libatommap.c:589:6: warning: enumeration value 'MapSendClientMessage' not handled in switch [-Wswitch] In file included from libatommap.c:19: libatommap.c: At top level: libatommap.h:28:13: warning: '_SUN_DRAGDROP_DSDM_map' declared 'static' but never defined [-Wunused-function] static void _SUN_DRAGDROP_DSDM_map(AtomMapType req_type, Atom *property, Atom *type, Atom *selection, AtomPtr atom, Bool delete, Window *window, unsigned char *data, int length); ^~~~~~~~~~~~~~~~~~~~~~ libatommap.h:44:13: warning: 'Wabi_CMAP_map' declared 'static' but never defined [-Wunused-function] static void Wabi_CMAP_map(AtomMapType req_type, Atom *property, Atom *type, Atom *selection, AtomPtr atom, Bool delete, Window *window, unsigned char *data, int length); ^~~~~~~~~~~~~ rm -f xmove cc -o xmove -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -L/usr/lib -L/usr/lib decode11.o linkl.o print11.o server.o fd.o main.o prtype.o table11.o xmove.o map.o get_image.o getsetProps.o move_window.o XMOVELib.o put_image.o move_selects.o colormaps.o display.o MoveImage.o move.o check_auth.o hash.o XMOVEImUtil.o libatommap.o -lX11 -L/usr/lib rm -f xmove._man if test -z "" ; then \ cd `dirname xmove` && \ ln -s `basename xmove.man` `basename xmove._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/etc/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/etc/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" \ < xmove.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/\@\@$/\\/' >xmove._man; \ fi make: Leaving directory '/usr/src/RPM/BUILD/xmove/xmove' + cd /usr/src/RPM/BUILD/xmove + for i in xmove xmovectrl + cd xmovectrl + ln -sf ../man/man1/xmovectrl.1 xmovectrl.man + xmkmf imake -DUseInstalled -I/usr/share/X11/config In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib + make make: Entering directory '/usr/src/RPM/BUILD/xmove/xmovectrl' gcc -m32 -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o xmovectrl.o xmovectrl.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xmovectrl.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xmovectrl.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv, char **envp) ^~~~ xmovectrl.c: In function 'main': xmovectrl.c:45:6: warning: implicit declaration of function 'SetlittleEndian' [-Wimplicit-function-declaration] SetlittleEndian(); ^~~~~~~~~~~~~~~ xmovectrl.c:56:4: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] usage(*argv); ^~~~~ xmovectrl.c:61:18: warning: implicit declaration of function 'ParseDisplay' [-Wimplicit-function-declaration] XmovePort = ParseDisplay(XmoveDisplay); /* replaces ':' with '\0' */ ^~~~~~~~~~~~ xmovectrl.c:75:16: warning: implicit declaration of function 'ConnectToServer' [-Wimplicit-function-declaration] XmoveFd = ConnectToServer(); ^~~~~~~~~~~~~~~ xmovectrl.c:76:6: warning: implicit declaration of function 'DoServerSetup' [-Wimplicit-function-declaration] DoServerSetup(XmoveFd); ^~~~~~~~~~~~~ xmovectrl.c:79:12: warning: implicit declaration of function 'Ctrl_moveall' [-Wimplicit-function-declaration] return (Ctrl_moveall(--num_args, ++cur_argv)); ^~~~~~~~~~~~ xmovectrl.c:82:12: warning: implicit declaration of function 'Ctrl_list' [-Wimplicit-function-declaration] return (Ctrl_list(--num_args, ++cur_argv)); ^~~~~~~~~ xmovectrl.c:85:12: warning: implicit declaration of function 'Ctrl_move'; did you mean 'remove'? [-Wimplicit-function-declaration] return (Ctrl_move(--num_args, ++cur_argv)); ^~~~~~~~~ remove xmovectrl.c:88:12: warning: implicit declaration of function 'Ctrl_quit' [-Wimplicit-function-declaration] return (Ctrl_quit(--num_args, ++cur_argv)); ^~~~~~~~~ xmovectrl.c:91:12: warning: implicit declaration of function 'Ctrl_setdefaultserver' [-Wimplicit-function-declaration] return (Ctrl_setdefaultserver(--num_args, ++cur_argv)); ^~~~~~~~~~~~~~~~~~~~~ xmovectrl.c: At top level: xmovectrl.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] ConnectToServer() ^~~~~~~~~~~~~~~ xmovectrl.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] DoServerSetup(int server_fd) ^~~~~~~~~~~~~ xmovectrl.c: In function 'DoServerSetup': xmovectrl.c:170:10: warning: implicit declaration of function 'getauthkey'; did you mean 'getitimer'? [-Wimplicit-function-declaration] if (getauthkey(XmoveFullDisplay, (char *)iobuf+12, &typelen, (char *)iobuf+32, &keylen) != -1) { ^~~~~~~~~~ getitimer xmovectrl.c:177:6: warning: implicit declaration of function 'SendBuffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] SendBuffer(server_fd, iobuf, send_len); ^~~~~~~~~~ setbuffer xmovectrl.c:178:6: warning: implicit declaration of function 'ReceiveBuffer' [-Wimplicit-function-declaration] ReceiveBuffer(server_fd, iobuf, 1); /* 1==success, 0==not-authorized */ ^~~~~~~~~~~~~ xmovectrl.c:186:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xmovectrl.c:149:1: note: declared here DoServerSetup(int server_fd) ^~~~~~~~~~~~~ xmovectrl.c: At top level: xmovectrl.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] Ctrl_moveall(num_args, my_argv) ^~~~~~~~~~~~ xmovectrl.c: In function 'Ctrl_moveall': xmovectrl.c:234:8: warning: implicit declaration of function 'move_getauthkey' [-Wimplicit-function-declaration] if (move_getauthkey(*my_argv, ^~~~~~~~~~~~~~~ xmovectrl.c: At top level: xmovectrl.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] Ctrl_move(num_args, my_argv) ^~~~~~~~~ xmovectrl.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int] Ctrl_list(num_args, my_argv) ^~~~~~~~~ xmovectrl.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] Ctrl_quit(num_args, my_argv) ^~~~~~~~~ xmovectrl.c:440:1: warning: return type defaults to 'int' [-Wimplicit-int] Ctrl_setdefaultserver(num_args, my_argv) ^~~~~~~~~~~~~~~~~~~~~ xmovectrl.c:480:1: warning: return type defaults to 'int' [-Wimplicit-int] ParseDisplay(char *display_name) ^~~~~~~~~~~~ xmovectrl.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(char *appname) ^~~~~ xmovectrl.c:561:1: warning: return type defaults to 'int' [-Wimplicit-int] SetlittleEndian() ^~~~~~~~~~~~~~~ xmovectrl.c: In function 'SendBuffer': xmovectrl.c:581:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] num_written = write (fd, buf, BytesToWrite); ^~~~~ fwrite xmovectrl.c: In function 'ReceiveBuffer': xmovectrl.c:608:17: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] num_read = read (fd, buf, BytesToRead); ^~~~ fread xmovectrl.c: In function 'usage': xmovectrl.c:496:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xmovectrl.c: In function 'SetlittleEndian': xmovectrl.c:569:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f xmovectrl gcc -m32 -o xmovectrl -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -pipe -L/usr/lib -L/usr/lib xmovectrl.o -L/usr/lib rm -f xmovectrl._man if test -z "" ; then \ cd `dirname xmovectrl` && \ ln -s `basename xmovectrl.man` `basename xmovectrl._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/etc/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/etc/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" \ < xmovectrl.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/\@\@$/\\/' >xmovectrl._man; \ fi make: Leaving directory '/usr/src/RPM/BUILD/xmove/xmovectrl' + cd /usr/src/RPM/BUILD/xmove + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51646 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/xmove-buildroot + : + /bin/rm -rf -- /usr/src/tmp/xmove-buildroot + cd xmove + install -d -m755 /usr/src/tmp/xmove-buildroot/usr/share/man/man1/ + for i in xmove xmovectrl + cd xmove + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/xmove-buildroot/usr exec_prefix=/usr/src/tmp/xmove-buildroot/usr bindir=/usr/src/tmp/xmove-buildroot/usr/bin sbindir=/usr/src/tmp/xmove-buildroot/usr/sbin sysconfdir=/usr/src/tmp/xmove-buildroot/etc datadir=/usr/src/tmp/xmove-buildroot/usr/share includedir=/usr/src/tmp/xmove-buildroot/usr/include libdir=/usr/src/tmp/xmove-buildroot/usr/lib libexecdir=/usr/src/tmp/xmove-buildroot/usr/lib localstatedir=/usr/src/tmp/xmove-buildroot/var/lib sharedstatedir=/usr/src/tmp/xmove-buildroot/var/lib mandir=/usr/src/tmp/xmove-buildroot/usr/share/man infodir=/usr/src/tmp/xmove-buildroot/usr/share/info install DESTDIR=/usr/src/tmp/xmove-buildroot make: Entering directory '/usr/src/RPM/BUILD/xmove/xmove' + mkdir -p /usr/src/tmp/xmove-buildroot/usr/bin /bin/install -p -c xmove /usr/src/tmp/xmove-buildroot/usr/bin/xmove install in . done make: Leaving directory '/usr/src/RPM/BUILD/xmove/xmove' + cd /usr/src/RPM/BUILD/xmove + install -m 644 man/man1/xmove.1 /usr/src/tmp/xmove-buildroot/usr/share/man/man1/ + for i in xmove xmovectrl + cd xmovectrl + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/xmove-buildroot/usr exec_prefix=/usr/src/tmp/xmove-buildroot/usr bindir=/usr/src/tmp/xmove-buildroot/usr/bin sbindir=/usr/src/tmp/xmove-buildroot/usr/sbin sysconfdir=/usr/src/tmp/xmove-buildroot/etc datadir=/usr/src/tmp/xmove-buildroot/usr/share includedir=/usr/src/tmp/xmove-buildroot/usr/include libdir=/usr/src/tmp/xmove-buildroot/usr/lib libexecdir=/usr/src/tmp/xmove-buildroot/usr/lib localstatedir=/usr/src/tmp/xmove-buildroot/var/lib sharedstatedir=/usr/src/tmp/xmove-buildroot/var/lib mandir=/usr/src/tmp/xmove-buildroot/usr/share/man infodir=/usr/src/tmp/xmove-buildroot/usr/share/info install DESTDIR=/usr/src/tmp/xmove-buildroot make: Entering directory '/usr/src/RPM/BUILD/xmove/xmovectrl' /bin/install -p -c xmovectrl /usr/src/tmp/xmove-buildroot/usr/bin/xmovectrl install in . done make: Leaving directory '/usr/src/RPM/BUILD/xmove/xmovectrl' + cd /usr/src/RPM/BUILD/xmove + install -m 644 man/man1/xmovectrl.1 /usr/src/tmp/xmove-buildroot/usr/share/man/man1/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/xmove-buildroot (auto) Verifying and fixing files in /usr/src/tmp/xmove-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/xmove-buildroot/ (default) Compressing files in /usr/src/tmp/xmove-buildroot (auto) Verifying ELF objects in /usr/src/tmp/xmove-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: xmove-2.0-alt1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.88428 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xmove + DOCDIR=/usr/src/tmp/xmove-buildroot/usr/share/doc/xmove-2.0 + export DOCDIR + rm -rf /usr/src/tmp/xmove-buildroot/usr/share/doc/xmove-2.0 + /bin/mkdir -p /usr/src/tmp/xmove-buildroot/usr/share/doc/xmove-2.0 + cp -prL README doc/features.txt doc/limitations.txt doc/using_xmove.txt /usr/src/tmp/xmove-buildroot/usr/share/doc/xmove-2.0 + chmod -R go-w /usr/src/tmp/xmove-buildroot/usr/share/doc/xmove-2.0 + chmod -R a+rX /usr/src/tmp/xmove-buildroot/usr/share/doc/xmove-2.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lvcQwk find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kb0P3X find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libX11.so.6 >= set:onCUQ3, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.k5F6El Creating xmove-debuginfo package Processing files: xmove-debuginfo-2.0-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.y96qut find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jd9a5c find-requires: running scripts (debuginfo) Requires: xmove = 2.0-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libX11.so.6), debug(libc.so.6) Wrote: /usr/src/RPM/RPMS/i586/xmove-2.0-alt1.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/xmove-debuginfo-2.0-alt1.qa1.i586.rpm 20.52user 2.40system 0:44.70elapsed 51%CPU (0avgtext+0avgdata 54140maxresident)k 0inputs+0outputs (0major+387047minor)pagefaults 0swaps 29.15user 8.25system 0:59.53elapsed 62%CPU (0avgtext+0avgdata 115632maxresident)k 0inputs+0outputs (0major+684872minor)pagefaults 0swaps --- xmove-2.0-alt1.qa1.i586.rpm.repo 2013-04-17 19:13:36.000000000 +0000 +++ xmove-2.0-alt1.qa1.i586.rpm.hasher 2020-05-24 11:37:30.166519602 +0000 @@ -7,4 +7,4 @@ /usr/share/doc/xmove-2.0/using_xmove.txt 100644 -/usr/share/man/man1/xmove.1.gz 100644 -/usr/share/man/man1/xmovectrl.1.gz 100644 +/usr/share/man/man1/xmove.1.xz 100644 +/usr/share/man/man1/xmovectrl.1.xz 100644 Requires: /lib/ld-linux.so.2 @@ -16,2 +16,3 @@ Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: rtld(GNU_HASH)