<86>Jun 16 10:37:25 userdel[2910654]: delete user 'rooter' <86>Jun 16 10:37:25 groupadd[2910659]: group added to /etc/group: name=rooter, GID=630 <86>Jun 16 10:37:25 groupadd[2910659]: group added to /etc/gshadow: name=rooter <86>Jun 16 10:37:25 groupadd[2910659]: new group: name=rooter, GID=630 <86>Jun 16 10:37:25 useradd[2910663]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>Jun 16 10:37:25 userdel[2910669]: delete user 'builder' <86>Jun 16 10:37:25 userdel[2910669]: removed group 'builder' owned by 'builder' <86>Jun 16 10:37:25 userdel[2910669]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 10:37:25 groupadd[2910674]: group added to /etc/group: name=builder, GID=631 <86>Jun 16 10:37:25 groupadd[2910674]: group added to /etc/gshadow: name=builder <86>Jun 16 10:37:25 groupadd[2910674]: new group: name=builder, GID=631 <86>Jun 16 10:37:25 useradd[2910678]: new user: name=builder, UID=631, GID=631, home=/usr/src, shell=/bin/bash <13>Jun 16 10:37:26 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132019 installed <13>Jun 16 10:37:26 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Jun 16 10:37:26 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jun 16 10:37:26 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jun 16 10:37:26 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Jun 16 10:37:28 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Jun 16 10:37:28 rpmi: libX11-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132050 installed <13>Jun 16 10:37:28 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132050 installed <13>Jun 16 10:37:28 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>Jun 16 10:37:28 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 (w1.gzdio) 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.57285 + 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): + /usr/bin/patch -p1 -b --suffix .unix-domain + /bin/bzip2 -dc /usr/src/RPM/SOURCES/xmove-2.0-unix-domain.patch.bz2 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.23078 + 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 39 | # 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 14 | #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 47 | # 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 16 | #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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 214 | if (CurrentVerbose = RequestVerbose) | ^~~~~~~~~~~~~~ decode11.c:228:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 228 | if (retval) | ^ decode11.c: In function 'DecodeReply': decode11.c:257:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 257 | if (CurrentVerbose = ReplyVerbose) | ^~~~~~~~~~~~~~ decode11.c: In function 'DecodeEvent': decode11.c:537:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 537 | 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=] 726 | printf("Unexpected reply, SequenceNumber: %d(%d).\n", | ~^ | | | int | %ld 727 | SequenceNumber, client->SequenceMapping); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long int decode11.c: In function 'DecodeReply': decode11.c:383:33: warning: 'modified.client_count' may be used uninitialized in this function [-Wmaybe-uninitialized] 383 | ISetLong(&buf[4], modified.client_count * n); | ~~~~~~~~^~~~~~~~~~~~~ decode11.c:273:9: warning: 'modified.context' may be used uninitialized in this function [-Wmaybe-uninitialized] 273 | GetWindowAttributesReply(buf, context); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode11.c:396:15: warning: 'modified.server_count' may be used uninitialized in this function [-Wmaybe-uninitialized] 396 | (modified.server_count * n * 4)); | ~~~~~~~~^~~~~~~~~~~~~ decode11.c:374:37: warning: 'modified.server_first_keycode' may be used uninitialized in this function [-Wmaybe-uninitialized] 374 | unsigned long index = modified.server_first_keycode - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ decode11.c:375:13: warning: 'modified.client_first_keycode' may be used uninitialized in this function [-Wmaybe-uninitialized] 375 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 278 | exit(1); | ^~~~ linkl.c:278:2: warning: incompatible implicit declaration of built-in function 'exit' linkl.c:25:1: note: include '' or provide a declaration of 'exit' 24 | #include "xmove.h" +++ |+#include 25 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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=] 1710 | debug (2, (stderr, "CreateWindow sabotaged vis %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1711 | temp_window->visual->vis_id)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ print11.c:1710:51: note: format string is defined here 1710 | debug (2, (stderr, "CreateWindow sabotaged vis %x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from print11.c:114: 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=] 1773 | Dprintf(("XMOVE ChangeWindowAttribute on window 0x%x\n",ILong(&buf[4]))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:1773:56: note: format string is defined here 1773 | Dprintf(("XMOVE ChangeWindowAttribute on window 0x%x\n",ILong(&buf[4]))) | ~^ | | | unsigned int | %lx print11.c: In function 'DestroyWindow': print11.c:1883:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1883 | if (window = FindWindowFromCurrentClient(ILong(&buf[4]))) { | ^~~~~~ print11.c:1884:4: warning: implicit declaration of function 'TagAllDescendants' [-Wimplicit-function-declaration] 1884 | TagAllDescendants(ILong(&buf[4])); | ^~~~~~~~~~~~~~~~~ print11.c:1886:4: warning: implicit declaration of function 'DestroyTaggedWindows'; did you mean 'DestroySubwindows'? [-Wimplicit-function-declaration] 1886 | 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=] 1957 | Dprintf(("XMOVE ReparentWindow Request on window 0x%x\n",ILong(&buf[4]))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:1957:55: note: format string is defined here 1957 | Dprintf(("XMOVE ReparentWindow Request on window 0x%x\n",ILong(&buf[4]))) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from print11.c:114: 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=] 2439 | Dprintf(("XMOVE GetProperty on window 0x%x\n",ILong(&buf[4]))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:2439:47: note: format string is defined here 2439 | Dprintf(("XMOVE GetProperty on window 0x%x\n",ILong(&buf[4]))); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from print11.c:114: 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=] 2605 | Dprintf(("Adding new selection %d\n",ILong(&buf[8]))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:2605:40: note: format string is defined here 2605 | Dprintf(("Adding new selection %d\n",ILong(&buf[8]))) | ~^ | | | int | %ld print11.c:2609:8: warning: implicit declaration of function 'AddSelectionToCurrentClient'; did you mean 'AddColormapToCurrentClient'? [-Wimplicit-function-declaration] 2609 | 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] 2982 | 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=] 2983 | Dprintf(("adding grab (button) to client with grab_window %x\n",temp_grab->grab_window)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:2983:62: note: format string is defined here 2983 | Dprintf(("adding grab (button) to client with grab_window %x\n",temp_grab->grab_window)) | ~^ | | | unsigned int | %lx print11.c: In function 'UngrabButton': print11.c:3016:3: warning: implicit declaration of function 'RemoveGrabButtonFromCurrentClient'; did you mean 'RemoveCursorFromCurrentClient'? [-Wimplicit-function-declaration] 3016 | 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=] 3157 | Dprintf(("adding grab (key) to client with grab_window %x\n",temp_grab->grab_window)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:3157:59: note: format string is defined here 3157 | Dprintf(("adding grab (key) to client with grab_window %x\n",temp_grab->grab_window)) | ~^ | | | unsigned int | %lx print11.c: In function 'UngrabKey': print11.c:3186:3: warning: implicit declaration of function 'RemoveGrabKeyFromCurrentClient'; did you mean 'RemoveGCFromCurrentClient'? [-Wimplicit-function-declaration] 3186 | 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=] 3874 | Eprintf(("CreatePixmap %x of unknown depth %d?\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3875 | temp_pixmap->pixmap_id, IByte(&buf[1]))); | ~~~~~~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:73:50: note: in definition of macro 'Eprintf' 73 | #define Eprintf(f) { if (EthanPrintDebug) printf f; } | ^ print11.c:3874:27: note: format string is defined here 3874 | Eprintf(("CreatePixmap %x of unknown depth %d?\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from print11.c:114: print11.c:3905:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 3905 | Dprintf(("adding pixmap to client with drawable %x\n",ILong(&buf[8]))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:3905:51: note: format string is defined here 3905 | Dprintf(("adding pixmap to client with drawable %x\n",ILong(&buf[8]))); | ~^ | | | unsigned int | %lx print11.c:3864:40: warning: unused variable 'drawable' [-Wunused-variable] 3864 | 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=] 3934 | Dprintf(("XMOVE got a free pixmap request on pixmap 0x%x\n",ILong(&buf[4]))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:3934:58: note: format string is defined here 3934 | Dprintf(("XMOVE got a free pixmap request on pixmap 0x%x\n",ILong(&buf[4]))) | ~^ | | | unsigned int | %lx print11.c:3936:3: warning: implicit declaration of function 'RemovePixmapFromCurrentClient'; did you mean 'RemoveColormapFromCurrentClient'? [-Wimplicit-function-declaration] 3936 | RemovePixmapFromCurrentClient(pixmap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | RemoveColormapFromCurrentClient print11.c: In function 'CreateGC': print11.c:3971:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3971 | else if (pixmap = FindPixmapFromCurrentClient(drawable)) | ^~~~~~ print11.c:3973:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3973 | else if (window = FindWindowFromCurrentClient(drawable)) | ^~~~~~ print11.c:4004:13: warning: unused variable 'newcell' [-Wunused-variable] 4004 | card32 newcell; | ^~~~~~~ print11.c: In function 'CopyGC': print11.c:4122:7: warning: implicit declaration of function 'ParseGCBitmaskcopy' [-Wimplicit-function-declaration] 4122 | ParseGCBitmaskcopy(temp_gc_src, temp_gc_dst, | ^~~~~~~~~~~~~~~~~~ print11.c: In function 'SetClipRectangles': print11.c:4183:3: warning: implicit declaration of function 'SetClipXOrigin'; did you mean 'XSetClipOrigin'? [-Wimplicit-function-declaration] 4183 | SetClipXOrigin(gc, IShort(&buf[8])); | ^~~~~~~~~~~~~~ | XSetClipOrigin print11.c:4184:3: warning: implicit declaration of function 'SetClipYOrigin'; did you mean 'XSetClipOrigin'? [-Wimplicit-function-declaration] 4184 | 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] 4290 | 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=] 4861 | debug (2, (stderr, "CreateColormap sabotaged vis %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4862 | temp_colormap->visual->vis_id)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ print11.c:4861:53: note: format string is defined here 4861 | debug (2, (stderr, "CreateColormap sabotaged vis %x\n", | ~^ | | | unsigned int | %lx print11.c: In function 'AllocColorReply': print11.c:5091:26: warning: implicit declaration of function 'MapColorIndex'; did you mean 'FindColorIndex'? [-Wimplicit-function-declaration] 5091 | 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=] 5178 | printf("bad colormap %x\n", ILong(&buf[4])); | ~^ ~~~~~~~~~~~~~~ | | | | | long unsigned int | unsigned int | %lx print11.c: In function 'FreeColors': print11.c:5308:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5308 | 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=] 5318 | Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | card32 {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:5318:29: note: format string is defined here 5318 | Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); | ~^ | | | int | %ld 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 3 has type 'long unsigned int' [-Wformat=] 5318 | Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:5318:52: note: format string is defined here 5318 | Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); | ~^ | | | int | %ld print11.c: In function 'StoreColors': print11.c:5353:17: warning: unused variable 'color_mask' [-Wunused-variable] 5353 | 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] 5723 | 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] 5887 | 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=] 6505 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6506 | ILong(&buf[12]), | ~~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:6505:29: note: format string is defined here 6505 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from print11.c:114: print11.c:6505:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 6505 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6506 | ILong(&buf[12]), 6507 | ILong(&buf[16]))); | ~~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ print11.c:6505:42: note: format string is defined here 6505 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from print11.c:114: 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=] 6825 | Eprintf(("GetImage can't figure out matching depths %x (%d %d %d %d)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6826 | cmap->colormap_id, cmap->visual->vis_mapped->vis_depth, depth, | ~~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} xmond.h:73:50: note: in definition of macro 'Eprintf' 73 | #define Eprintf(f) { if (EthanPrintDebug) printf f; } | ^ print11.c:6825:60: note: format string is defined here 6825 | Eprintf(("GetImage can't figure out matching depths %x (%d %d %d %d)\n", | ~^ | | | unsigned int | %lx print11.c: In function 'FixGCnPixColormaps': print11.c:6959:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6959 | if (dst.win = FindWindowFromCurrentClient(did)) { | ^~~ print11.c:6963:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6963 | } 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 611 | close(NewConnFD); | ^~~~~ | pclose server.c:622:13: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 622 | while (write(client->fdd->fd, &retval, 1) == 0); | ^~~~~ | fwrite server.c:624:6: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 624 | exit(0); | ^~~~ server.c:624:6: warning: incompatible implicit declaration of built-in function 'exit' server.c:46:1: note: include '' or provide a declaration of 'exit' 45 | #include "xmove.h" +++ |+#include 46 | At top level: server.c:90:25: warning: 'tp' defined but not used [-Wunused-variable] 90 | static struct timeval tp; | ^~ server.c:89:13: warning: 'ZeroTime2' defined but not used [-Wunused-variable] 89 | static long ZeroTime2 = -1; | ^~~~~~~~~ server.c:88:13: warning: 'ZeroTime1' defined but not used [-Wunused-variable] 88 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 106 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 175 | initialize(); | ^~~~~~~~~~ | InitializeFD main.c: In function 'CloseConnection': main.c:260:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 260 | close(client->fdd->fd); | ^~~~~ | pclose main.c:263:2: warning: implicit declaration of function 'RemoveClientFromMetaClient' [-Wimplicit-function-declaration] 263 | RemoveClientFromMetaClient(meta_client, client); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:265:7: warning: implicit declaration of function 'RemoveMetaClient' [-Wimplicit-function-declaration] 265 | RemoveMetaClient(meta_client); | ^~~~~~~~~~~~~~~~ main.c: In function 'ScanArgs': main.c:311:28: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 311 | ListenForClientsPort = atoi(argv[i]); | ^~~~ main.c:374:10: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] 374 | (void) gethostname(LocalHostName, 255); | ^~~~~~~~~~~ | gethostbyname main.c: In function 'SetUpConnectionSocket': main.c:408:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 408 | exit(-1); | ^~~~ main.c:408:4: warning: incompatible implicit declaration of built-in function 'exit' main.c:54:1: note: include '' or provide a declaration of 'exit' 53 | #include "xmove.h" +++ |+#include 54 | main.c:466:4: warning: incompatible implicit declaration of built-in function 'exit' 466 | 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' 476 | 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] 556 | 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] 627 | 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' 679 | 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' [-Wimplicit-function-declaration] 703 | validate = ValidateNewConnection(ip_addr); | ^~~~~~~~~~~~~~~~~~~~~ main.c: In function 'ReadAndProcessData': main.c:861:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 861 | 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] 1123 | ClientFD = accept(ConnectionSocket, (struct sockaddr *)&from, &len); | ^~~~ | | | int * In file included from main.c:30: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.c: In function 'SignalINT': main.c:1305:2: warning: incompatible implicit declaration of built-in function 'exit' 1305 | 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' 1316 | 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' 1327 | 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' 1362 | 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] 957 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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=] 203 | fprintf(stdout, "%d", n); | ~^ ~ | | | | int long int | %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=] 213 | fprintf(stdout, "%d", n); | ~^ ~ | | | | int long int | %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=] 243 | fprintf(stdout, "%08x", n); | ~~~^ ~ | | | | | long unsigned int | unsigned int | %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=] 300 | fprintf(stdout, "WIN %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 344 | fprintf(stdout, "PXM %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 386 | fprintf(stdout, "CUR %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 400 | fprintf(stdout, "FNT %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 411 | fprintf(stdout, "GXC %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 425 | fprintf(stdout, "CMP %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 449 | fprintf(stdout, "DWB %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 459 | fprintf(stdout, "FTB %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 477 | fprintf(stdout, "ATM %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 504 | fprintf(stdout, "VIS %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 531 | fprintf(stdout, "TIM %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 545 | fprintf(stdout, "RID %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 556 | fprintf(stdout, "KYS %08x", n); | ~~~^ ~ | | | | | long int | unsigned int | %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=] 643 | fprintf(stdout, "**INVALID** (%d)", n); | ~^ ~ | | | | int long int | %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=] 753 | fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); | ~^ ~~~~~~ | | | | int long int | %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=] 803 | fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); | ~^ ~~~~~~ | | | | int long int | %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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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=] 160 | Dprintf((" id = %x, drawable = %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | gc->gc_id, gc->drawable_id)); | ~~~~~~~~~ | | | GContext {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:160:23: note: format string is defined here 160 | Dprintf((" id = %x, drawable = %x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: xmove.c:160:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Drawable' {aka 'long unsigned int'} [-Wformat=] 160 | Dprintf((" id = %x, drawable = %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | gc->gc_id, gc->drawable_id)); | ~~~~~~~~~~~~~~~ | | | Drawable {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:160:38: note: format string is defined here 160 | Dprintf((" id = %x, drawable = %x\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'FreeClientLists': xmove.c:183:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 183 | while (item = deleteFirst(&client->resource_maps)) | ^~~~ xmove.c:226:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 226 | while (item = deleteFirst(&client->colormap_list)) { | ^~~~ xmove.c:231:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 231 | while (item = deleteFirst(&client->grab_list)) | ^~~~ xmove.c:242:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 242 | 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] 270 | while (item = deleteFirst(&server->reply_list)) | ^~~~ xmove.c: In function 'CreateNewCellArray': xmove.c:303:6: warning: unused variable 'ncells' [-Wunused-variable] 303 | 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=] 314 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | window->window_id, window->parent_id, | ~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:314:27: note: format string is defined here 314 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: xmove.c:314:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 314 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | window->window_id, window->parent_id, | ~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:314:42: note: format string is defined here 314 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'RemoveWindowFromCurrentClient': xmove.c:380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 380 | 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] 389 | 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] 403 | 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] 441 | 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] 460 | if (cursor = hash_delete(client->cursor_table, xcursor)) { | ^~~~~~ xmove.c:473:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 473 | 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] 495 | if (temp_cursor = hash_find(client->cursor_table, xcursor)) { | ^~~~~~~~~~~ xmove.c:506:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 506 | 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=] 644 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | pixmap->pixmap_id, pixmap->width, pixmap->height, pixmap->depth)); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:644:23: note: format string is defined here 644 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: xmove.c:644:14: warning: format '%d' expects argument of type 'int', but argument 5 has type 'PixmapFormatPtr' {aka 'struct PixmapFormatRec *'} [-Wformat=] 644 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | pixmap->pixmap_id, pixmap->width, pixmap->height, pixmap->depth)); | ~~~~~~~~~~~~~ | | | PixmapFormatPtr {aka struct PixmapFormatRec *} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:644:51: note: format string is defined here 644 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ~^ | | | int xmove.c: In function 'RemovePixmapFromCurrentClient': xmove.c:655:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 655 | 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=] 664 | Dprintf(("selection: %d\n", selection->selection)) | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | | | Atom {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:664:27: note: format string is defined here 664 | Dprintf(("selection: %d\n", selection->selection)) | ~^ | | | int | %ld xmove.c: In function 'CreateNewAtom': xmove.c:712:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 712 | if (new_atom = FindAtom(client_atom)) | ^~~~~~~~ xmove.c:715:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 715 | if (new_atom = FindServerAtom(atom)) | ^~~~~~~~ xmove.c:718:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 718 | 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] 762 | 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=] 773 | Dprintf(("name = %s, id = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~ 774 | font->name, font->font_id)); | ~~~~~~~~~~~~~ | | | Font {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:773:34: note: format string is defined here 773 | Dprintf(("name = %s, id = 0x%x\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'AddAtomMapping': xmove.c:815:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 815 | if (atommap = FindAtomMapping(name)) | ^~~~~~~ xmove.c: In function 'AddAtomTypeMapping': xmove.c:836:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 836 | if (atommap = FindAtomTypeMapping(name)) | ^~~~~~~ xmove.c: In function 'AllocColorCell': xmove.c:924:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 924 | 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=] 948 | debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); | ^~~~~~~~~~~~ ~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ xmove.c:948:25: note: format string is defined here 948 | debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); | ~~^ | | | unsigned int | %3lx 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 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 948 | debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ xmove.c:948:29: note: format string is defined here 948 | debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); | ~~^ | | | unsigned int | %3lx In file included from xmove.h:87, from xmove.c:19: xmove.c:950:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 950 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ xmove.c:950:25: note: format string is defined here 950 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ~~^ | | | unsigned int | %3lx In file included from xmove.h:87, from xmove.c:19: xmove.c:950:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 950 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ^~~~~~~~~~~~~~~~ 951 | new_cell->server_pixel, new_cell->client_pixel)); | ~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ xmove.c:950:29: note: format string is defined here 950 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ~~^ | | | unsigned int | %3lx In file included from xmove.h:87, from xmove.c:19: xmove.c:950:22: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 950 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ^~~~~~~~~~~~~~~~ 951 | new_cell->server_pixel, new_cell->client_pixel)); | ~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ xmove.c:950:33: note: format string is defined here 950 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ~~^ | | | unsigned int | %3lx xmove.c:910:6: warning: unused variable 'split' [-Wunused-variable] 910 | int split; | ^~~~~ xmove.c:904:25: warning: unused variable 'temp_cell' [-Wunused-variable] 904 | 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=] 1137 | Dprintf(("setting background pixmap to 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1138 | background_pixmap)) | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1137:47: note: format string is defined here 1137 | Dprintf(("setting background pixmap to 0x%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1151 | Dprintf(("setting background pixel to 0x%x.\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1152 | background_pixel)) | ~~~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1151:46: note: format string is defined here 1151 | Dprintf(("setting background pixel to 0x%x.\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1162 | Dprintf(("setting border pixmap to 0x%x.\n", border_pixmap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1162:43: note: format string is defined here 1162 | Dprintf(("setting border pixmap to 0x%x.\n", border_pixmap)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1172 | Dprintf(("setting border pixel to 0x%x.\n", border_pixel)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1172:42: note: format string is defined here 1172 | Dprintf(("setting border pixel to 0x%x.\n", border_pixel)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1182 | Dprintf(("setting backing pixel to 0x%x.\n", backing_pixel)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1182:43: note: format string is defined here 1182 | Dprintf(("setting backing pixel to 0x%x.\n", backing_pixel)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1192 | Dprintf(("setting colormap to 0x%x.\n", colormap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ | | | Colormap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1192:38: note: format string is defined here 1192 | Dprintf(("setting colormap to 0x%x.\n", colormap)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1202 | Dprintf(("setting cursor to 0x%x.\n", cursor)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | Cursor {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1202:36: note: format string is defined here 1202 | Dprintf(("setting cursor to 0x%x.\n", cursor)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1463 | Dprintf(("setting plane mask to 0x%x\n", plane_mask)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1463:40: note: format string is defined here 1463 | Dprintf(("setting plane mask to 0x%x\n", plane_mask)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1472 | Dprintf(("setting foreground to 0x%x\n", foreground)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1472:40: note: format string is defined here 1472 | Dprintf(("setting foreground to 0x%x\n", foreground)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1481 | Dprintf(("setting background to 0x%x\n", background)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1481:40: note: format string is defined here 1481 | Dprintf(("setting background to 0x%x\n", background)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1544 | Dprintf(("setting tile to 0x%x\n", tile)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1544:34: note: format string is defined here 1544 | Dprintf(("setting tile to 0x%x\n", tile)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1553 | Dprintf(("setting stipple to 0x%x\n", stipple)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1553:37: note: format string is defined here 1553 | Dprintf(("setting stipple to 0x%x\n", stipple)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1622 | Dprintf(("setting clip mask to 0x%x\n", clip_mask)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1622:39: note: format string is defined here 1622 | Dprintf(("setting clip mask to 0x%x\n", clip_mask)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1663 | Dprintf(("parsing info for GC 0x%x\n", gc_ptr->gc_id)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | GContext {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1663:38: note: format string is defined here 1663 | Dprintf(("parsing info for GC 0x%x\n", gc_ptr->gc_id)) | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 1880 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1881 | gc_ptr_dst->gc_id, gc_ptr_src->gc_id)) | ~~~~~~~~~~~~~~~~~ | | | GContext {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1880:47: note: format string is defined here 1880 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: xmove.c:1880:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 1880 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1881 | gc_ptr_dst->gc_id, gc_ptr_src->gc_id)) | ~~~~~~~~~~~~~~~~~ | | | GContext {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ xmove.c:1880:56: note: format string is defined here 1880 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: 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=] 2091 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2092 | cmap->visual->vis_id, pixmap->cmap->visual->vis_id)); | ~~~~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:73:50: note: in definition of macro 'Eprintf' 73 | #define Eprintf(f) { if (EthanPrintDebug) printf f; } | ^ xmove.c:2091:53: note: format string is defined here 2091 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from xmove.c:19: xmove.c:2091:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 2091 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2092 | cmap->visual->vis_id, pixmap->cmap->visual->vis_id)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:73:50: note: in definition of macro 'Eprintf' 73 | #define Eprintf(f) { if (EthanPrintDebug) printf f; } | ^ xmove.c:2091:60: note: format string is defined here 2091 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ~^ | | | unsigned int | %lx xmove.c:2149:3: warning: implicit declaration of function 'ConvertImage'; did you mean 'MoveImage'? [-Wimplicit-function-declaration] 2149 | ConvertImage(image, pixmap->width, pixmap->height, pixmap->cmap, cmap); | ^~~~~~~~~~~~ | MoveImage xmove.c:2058:24: warning: unused variable 'cells' [-Wunused-variable] 2058 | register ColorCellPtr cells; | ^~~~~ xmove.c:2057:9: warning: unused variable 'y' [-Wunused-variable] 2057 | int x, y; | ^ xmove.c:2057:6: warning: unused variable 'x' [-Wunused-variable] 2057 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 275 | if (map = FindServerResourceBase(base)) | ^~~ map.c:301:23: warning: implicit declaration of function 'DecrementResourceBase' [-Wimplicit-function-declaration] 301 | client_base = DecrementResourceBase(client_base, client->resource_mask); | ^~~~~~~~~~~~~~~~~~~~~ map.c: In function 'MapResourceBase': map.c:325:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 325 | if (map = FindResourceBase(base)) | ^~~ map.c:357:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 357 | while (tmp_client = (Client *)deleteFirst(&meta_client->client_list)) { | ^~~~~~~~~~ map.c:363:9: warning: implicit declaration of function 'RemoveMetaClient' [-Wimplicit-function-declaration] 363 | RemoveMetaClient(meta_client); | ^~~~~~~~~~~~~~~~ map.c: At top level: map.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] 387 | 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] 429 | if (atom_ptr = hash_find(client->atom_table, xatom)) { | ^~~~~~~~ map.c:452:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 452 | 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=] 631 | "xmove assert: MapColorIndex couldn't find a visual from VIS %x", | ~^ | | | unsigned int | %lx 632 | cvis->vis_id); | ~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} map.c: In function 'MapWindowID': map.c:521:9: warning: 'formats' may be used uninitialized in this function [-Wmaybe-uninitialized] 521 | 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] 549 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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' [-Wimplicit-function-declaration] 202 | _XInitImageFuncPtrs (image); | ^~~~~~~~~~~~~~~~~~~ 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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=] 172 | Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move_window.c:172:43: note: format string is defined here 172 | Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move_window.c:25: 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=] 172 | Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | parent_window)); | ~~~~~~~~~~~~~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move_window.c:172:62: note: format string is defined here 172 | Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, | ~^ | | | unsigned int | %lx move_window.c:32:10: warning: unused variable 'new_depth' [-Wunused-variable] 32 | 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] 239 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 70 | 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] 114 | num_written = write (fd, (char *)buf, BytesToWrite); | ^~~~~ | fwrite XMOVELib.c:99:25: warning: unused variable 'NBIO' [-Wunused-variable] 99 | 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] 166 | num_read = read (fd, (char *)buf, BytesToRead); | ^~~~ | fread XMOVELib.c:153:25: warning: unused variable 'NBIO' [-Wunused-variable] 153 | 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] 197 | 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=] 411 | Dprintf(("InternAtom reply: Atom=%d\n",ILong((unsigned char *)&InternAtomReply.atom))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ XMOVELib.c:411:38: note: format string is defined here 411 | Dprintf(("InternAtom reply: Atom=%d\n",ILong((unsigned char *)&InternAtomReply.atom))); | ~^ | | | int | %ld In file included from xmove.h:87, from XMOVELib.c:33: 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=] 793 | Dprintf(("in XMOVEMapWindow mapping 0x%x\n",w)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ XMOVELib.c:793:45: note: format string is defined here 793 | Dprintf(("in XMOVEMapWindow mapping 0x%x\n",w)); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from XMOVELib.c:33: 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=] 927 | Dprintf (("XMOVECreateWindow: (%d,%d)-(%d,%d), with %d attributes\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 928 | x, y, x+width, y+height, valuescount)); | ~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ XMOVELib.c:927:59: note: format string is defined here 927 | Dprintf (("XMOVECreateWindow: (%d,%d)-(%d,%d), with %d attributes\n", | ~^ | | | int | %ld XMOVELib.c: At top level: XMOVELib.c:1482:1: warning: return type defaults to 'int' [-Wimplicit-int] 1482 | XMOVEReceiveReplyOrError(fd, seqno, error) | ^~~~~~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEReceiveReplyOrError': XMOVELib.c:1490:8: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 1490 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 315 | 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] 920 | if (pixformat = GetPixmapFormat(image_format, image->depth)) { | ^~~~~~~~~ put_image.c:945:6: warning: implicit declaration of function '_XInitImageFuncPtrs' [-Wimplicit-function-declaration] 945 | _XInitImageFuncPtrs(&img); | ^~~~~~~~~~~~~~~~~~~ put_image.c:917:6: warning: unused variable 'n' [-Wunused-variable] 917 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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=] 59 | Dprintf(("Attempting to set selection (s)%d to owner %X\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | selection_ptr->selection, owner)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | Atom {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move_selects.c:59:51: note: format string is defined here 59 | Dprintf(("Attempting to set selection (s)%d to owner %X\n", | ~^ | | | int | %ld In file included from xmove.h:87, from move_selects.c:24: 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=] 59 | Dprintf(("Attempting to set selection (s)%d to owner %X\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | selection_ptr->selection, owner)); | ~~~~~ | | | Window {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move_selects.c:59:63: note: format string is defined here 59 | Dprintf(("Attempting to set selection (s)%d to owner %X\n", | ~^ | | | unsigned int | %lX 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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=] 95 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | color.red, color.blue, color.green, cell->new_server_pixel, | ~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:95:44: note: format string is defined here 95 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:95:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 95 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | color.red, color.blue, color.green, cell->new_server_pixel, 97 | cmap->colormap_id, cell->read_write)); | ~~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:95:54: note: format string is defined here 95 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx In file included from xmove.h:87, from colormaps.c:18: 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=] 138 | debug(2, (stderr, "main %x/%x\n", cell->client_pixel, count)); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:138:27: note: format string is defined here 138 | debug(2, (stderr, "main %x/%x\n", cell->client_pixel, count)); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:149:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 149 | debug(2, (stderr, "RO%x %x/%x\n", index, | ^~~~~~~~~~~~~~ 150 | nextrocell[index]->client_pixel, nextrocount[index])); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:149:29: note: format string is defined here 149 | debug(2, (stderr, "RO%x %x/%x\n", index, | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:154:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 154 | debug(2, (stderr, "RW%x %x/%x\n", index, | ^~~~~~~~~~~~~~ 155 | nextrwcell[index]->client_pixel, nextrwcount[index])); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:154:29: note: format string is defined here 154 | debug(2, (stderr, "RW%x %x/%x\n", index, | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:169:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 169 | debug(2, (stderr, "MAIN %x/%x\n", cell->client_pixel, count)); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:169:28: note: format string is defined here 169 | debug(2, (stderr, "MAIN %x/%x\n", cell->client_pixel, count)); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:194:24: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 194 | debug(2, (stderr, "RO%x %x/%x\n", index, | ^~~~~~~~~~~~~~ 195 | nextrocell[index]->client_pixel, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:194:31: note: format string is defined here 194 | debug(2, (stderr, "RO%x %x/%x\n", index, | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:211:24: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 211 | debug(2, (stderr, "RW%x %x/%x\n", index, | ^~~~~~~~~~~~~~ 212 | nextrwcell[index]->client_pixel, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:211:31: note: format string is defined here 211 | debug(2, (stderr, "RW%x %x/%x\n", index, | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:230:21: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 230 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | color.red, color.green, color.blue, newpixel, cmap->colormap_id, rw)); | ~~~~~~~~ | | | card32 {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:230:44: note: format string is defined here 230 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx In file included from xmove.h:87, from colormaps.c:18: colormaps.c:230:21: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 230 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | color.red, color.green, color.blue, newpixel, cmap->colormap_id, rw)); | ~~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ colormaps.c:230:54: note: format string is defined here 230 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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=] 16 | fprintf(stderr, "VIS %8x(%c%8x)%8x%8x\n", vis->vis_id, | ~~^ ~~~~~~~~~~~ | | | | unsigned int VisualID {aka long unsigned int} | %8lx display.c:16:31: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 16 | fprintf(stderr, "VIS %8x(%c%8x)%8x%8x\n", vis->vis_id, | ~~^ | | | unsigned int | %8lx 17 | vis->vis_equivalent ? '=' : ' ', 18 | vis->vis_mapped ? vis->vis_mapped->vis_id : 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int display.c:22:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 22 | fprintf(stderr, " %8x%8x%8x\n", vis->vis_index[i], | ~~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int card32 {aka long unsigned int} | %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=] 22 | fprintf(stderr, " %8x%8x%8x\n", vis->vis_index[i], | ~~^ | | | unsigned int | %8lx 23 | vis->vis_shift[i], vis->vis_mask[i]); | ~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} display.c:24:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 24 | fprintf(stderr, " %8x\n\n", vis->vis_index[i]); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int card32 {aka long unsigned int} | %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=] 80 | debug(2, (stderr, "SaveVisuals: saving visual %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | cur_visual->vis_id)); | ~~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ display.c:80:51: note: format string is defined here 80 | debug(2, (stderr, "SaveVisuals: saving visual %x\n", | ~^ | | | unsigned int | %lx display.c:165:6: warning: implicit declaration of function 'MapColorIndex'; did you mean 'FindColorIndex'? [-Wimplicit-function-declaration] 165 | MapColorIndex(&index, colormap, Reply)); | ^~~~~~~~~~~~~ | FindColorIndex display.c: In function 'XMOVEGetBitsPerPixel': display.c:253:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 253 | 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] 270 | 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=] 431 | debug(3, (stderr, "FindCompatibleVisual: checking for %s visual %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 432 | visual->vis_inuse ? "in-use" : "unused", visual->vis_id)); | ~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ display.c:431:67: note: format string is defined here 431 | debug(3, (stderr, "FindCompatibleVisual: checking for %s visual %x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from display.c:9: display.c:441:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 441 | debug(3, (stderr, "FindCompatibleVisual: comparing with visual %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | curvisual->vis_id)); | ~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:69:55: note: in definition of macro 'debug' 69 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ display.c:441:67: note: format string is defined here 441 | debug(3, (stderr, "FindCompatibleVisual: comparing with visual %x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from display.c:9: 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=] 579 | Dprintf(("MakeNewServerFormats: ERROR visual C %x --> NULL\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 580 | cvisual->vis_id)); | ~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ display.c:579:52: note: format string is defined here 579 | Dprintf(("MakeNewServerFormats: ERROR visual C %x --> NULL\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from display.c:9: display.c:601:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 601 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 602 | cvisual->vis_id, | ~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ display.c:601:45: note: format string is defined here 601 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from display.c:9: display.c:601:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 601 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 604 | bestvisual?bestvisual->vis_id:0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ display.c:601:55: note: format string is defined here 601 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from display.c:9: display.c:614:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 614 | Dprintf(("MakeNewServerFormats: visual S %x --> NULL\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 615 | svisual->vis_id)); | ~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ display.c:614:47: note: format string is defined here 614 | Dprintf(("MakeNewServerFormats: visual S %x --> NULL\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from display.c:9: display.c:619:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 619 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 620 | svisual->vis_id, bestvisual->vis_id)); | ~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ display.c:619:46: note: format string is defined here 619 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from display.c:9: display.c:619:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 619 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 620 | svisual->vis_id, bestvisual->vis_id)); | ~~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ display.c:619:55: note: format string is defined here 619 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ~^ | | | unsigned int | %lx 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 94 | Pointer item; | ^~~~ move.c:80:10: warning: variable 'cur_client' set but not used [-Wunused-but-set-variable] 80 | Client *cur_client; | ^~~~~~~~~~ move.c: In function 'Move_stage1': move.c:307:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 307 | if (colon = strchr(new_display_name, ':')) { | ^~~~~ move.c:310:47: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 310 | 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] 444 | 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=] 475 | fprintf(stdout, "XMOVE: switching client %d to display %s\n", | ~^ | | | int | %ld 476 | client->ClientNumber, full_display_name); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int 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=] 478 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | new_server->resource_base, new_server->resource_mask)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:478:38: note: format string is defined here 478 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx 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 3 has type 'long unsigned int' [-Wformat=] 478 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | new_server->resource_base, new_server->resource_mask)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:478:51: note: format string is defined here 478 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx move.c:259:11: warning: unused variable 'count' [-Wunused-variable] 259 | 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=] 536 | Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | Atom {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:536:45: note: format string is defined here 536 | Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); | ~^ | | | int | %ld In file included from xmove.h:87, from move.c:20: move.c:536:13: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 536 | Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | Atom {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:536:51: note: format string is defined here 536 | Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); | ~^ | | | int | %ld In file included from xmove.h:87, from move.c:20: move.c:552:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Font' {aka 'long unsigned int'} [-Wformat=] 552 | Dprintf(("Font %s loaded with id 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | font->name, xfont)); | ~~~~~ | | | Font {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:552:40: note: format string is defined here 552 | Dprintf(("Font %s loaded with id 0x%x\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: move.c:580:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Font' {aka 'long unsigned int'} [-Wformat=] 580 | Dprintf(("Font fixed loaded with id 0x%x\n", xfont)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | Font {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:580:42: note: format string is defined here 580 | Dprintf(("Font fixed loaded with id 0x%x\n", xfont)); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: move.c:602:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 602 | Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:602:26: note: format string is defined here 602 | Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: move.c:602:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 602 | Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 603 | pixmap->pixmap_id)); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:602:40: note: format string is defined here 602 | Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: 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=] 637 | Dprintf(("cursor id 0x%x loaded.\n", cursor_ptr->cursor_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ | | | Cursor {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:637:27: note: format string is defined here 637 | Dprintf(("cursor id 0x%x loaded.\n", cursor_ptr->cursor_id)); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: move.c:677:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 677 | Eprintf(("move.c: pixmap %x expected depth %d, got %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 678 | pixmap->pixmap_id, oldmapdepth->depth, image->depth)); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} xmond.h:73:50: note: in definition of macro 'Eprintf' 73 | #define Eprintf(f) { if (EthanPrintDebug) printf f; } | ^ move.c:677:34: note: format string is defined here 677 | Eprintf(("move.c: pixmap %x expected depth %d, got %d\n", | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: move.c:727:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 727 | Dprintf(("putimage with gc 0x%x\n",gc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~ | | | GContext {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:727:37: note: format string is defined here 727 | Dprintf(("putimage with gc 0x%x\n",gc)); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: 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=] 816 | Dprintf(("remapped font for new gc to be 0x%x\n",gc_ptr->values.font)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | Font {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:816:53: note: format string is defined here 816 | Dprintf(("remapped font for new gc to be 0x%x\n",gc_ptr->values.font)); | ~^ | | | unsigned int | %lx In file included from xmove.h:87, from move.c:20: move.c:847:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 847 | Eprintf(("Moving gc %x with ClipRects, but no origins?\n", xgc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | GContext {aka long unsigned int} xmond.h:73:50: note: in definition of macro 'Eprintf' 73 | #define Eprintf(f) { if (EthanPrintDebug) printf f; } | ^ move.c:847:27: note: format string is defined here 847 | Eprintf(("Moving gc %x with ClipRects, but no origins?\n", xgc)); | ~^ | | | unsigned int | %lx move.c:849:5: warning: implicit declaration of function 'XMOVESetClipRectangles'; did you mean 'XSetClipRectangles'? [-Wimplicit-function-declaration] 849 | 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=] 854 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 855 | xgc, gc_ptr->gc_id)); | ~~~ | | | GContext {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:854:43: note: format string is defined here 854 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ~^ | | | unsigned int | %lx 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 3 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 854 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 855 | xgc, gc_ptr->gc_id)); | ~~~~~~~~~~~~~ | | | GContext {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:854:59: note: format string is defined here 854 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ~^ | | | unsigned int | %lx move.c:793:13: warning: variable 'drawable' set but not used [-Wunused-but-set-variable] 793 | 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=] 901 | Dprintf(("cursor id 0x%x loaded.\n", xcursor)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Cursor {aka long unsigned int} xmond.h:70:45: note: in definition of macro 'Dprintf' 70 | #define Dprintf(f) { if (PrintDebug) printf f; } | ^ move.c:901:27: note: format string is defined here 901 | Dprintf(("cursor id 0x%x loaded.\n", xcursor)); | ~^ | | | unsigned int | %lx move.c: In function 'Move_stage5': move.c:1071:7: warning: implicit declaration of function 'XMOVESetCloseDownMode'; did you mean 'XSetCloseDownMode'? [-Wimplicit-function-declaration] 1071 | XMOVESetCloseDownMode(new_fd, new_seqno, client->closedownmode); | ^~~~~~~~~~~~~~~~~~~~~ | XSetCloseDownMode move.c:917:22: warning: unused variable 'curformat' [-Wunused-variable] 917 | PixmapFormatPtr curformat; | ^~~~~~~~~ move.c:916:16: warning: unused variable 'curvis' [-Wunused-variable] 916 | VisualPtr curvis; | ^~~~~~ move.c: In function 'SuspendClient': move.c:1339:4: warning: implicit declaration of function 'StoreWindowStates' [-Wimplicit-function-declaration] 1339 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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' [-Wimplicit-function-declaration] 132 | if (system(shellcmd) != 0) { | ^~~~~~ check_auth.c:133:4: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 133 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ hash.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] 59 | hash_free(hash_table *table) | ^~~~~~~~~ hash.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] 84 | 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 591 | if (property_ptr = FindAtom(*property)) | ^~~~~~~~~~~~ libatommap.c:606:11: warning: implicit declaration of function 'XMOVEGetProperty'; did you mean 'X_GetProperty'? [-Wimplicit-function-declaration] 606 | while (XMOVEGetProperty(server->fdd->fd, &client->SequenceNumber, | ^~~~~~~~~~~~~~~~ | X_GetProperty libatommap.c:620:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 620 | if (property_ptr = FindAtom(*property)) | ^~~~~~~~~~~~ libatommap.c:589:6: warning: enumeration value 'MapDeleteProp' not handled in switch [-Wswitch] 589 | 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] 28 | 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] 44 | 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 39 | # 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 14 | #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 47 | # 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 16 | #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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ xmovectrl.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] 36 | 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] 45 | SetlittleEndian(); | ^~~~~~~~~~~~~~~ xmovectrl.c:56:4: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 56 | usage(*argv); | ^~~~~ xmovectrl.c:61:18: warning: implicit declaration of function 'ParseDisplay' [-Wimplicit-function-declaration] 61 | XmovePort = ParseDisplay(XmoveDisplay); /* replaces ':' with '\0' */ | ^~~~~~~~~~~~ xmovectrl.c:75:16: warning: implicit declaration of function 'ConnectToServer' [-Wimplicit-function-declaration] 75 | XmoveFd = ConnectToServer(); | ^~~~~~~~~~~~~~~ xmovectrl.c:76:6: warning: implicit declaration of function 'DoServerSetup' [-Wimplicit-function-declaration] 76 | DoServerSetup(XmoveFd); | ^~~~~~~~~~~~~ xmovectrl.c:79:12: warning: implicit declaration of function 'Ctrl_moveall' [-Wimplicit-function-declaration] 79 | return (Ctrl_moveall(--num_args, ++cur_argv)); | ^~~~~~~~~~~~ xmovectrl.c:82:12: warning: implicit declaration of function 'Ctrl_list' [-Wimplicit-function-declaration] 82 | return (Ctrl_list(--num_args, ++cur_argv)); | ^~~~~~~~~ xmovectrl.c:85:12: warning: implicit declaration of function 'Ctrl_move' [-Wimplicit-function-declaration] 85 | return (Ctrl_move(--num_args, ++cur_argv)); | ^~~~~~~~~ xmovectrl.c:88:12: warning: implicit declaration of function 'Ctrl_quit' [-Wimplicit-function-declaration] 88 | return (Ctrl_quit(--num_args, ++cur_argv)); | ^~~~~~~~~ xmovectrl.c:91:12: warning: implicit declaration of function 'Ctrl_setdefaultserver' [-Wimplicit-function-declaration] 91 | return (Ctrl_setdefaultserver(--num_args, ++cur_argv)); | ^~~~~~~~~~~~~~~~~~~~~ xmovectrl.c: At top level: xmovectrl.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] 100 | ConnectToServer() | ^~~~~~~~~~~~~~~ xmovectrl.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] 149 | DoServerSetup(int server_fd) | ^~~~~~~~~~~~~ xmovectrl.c: In function 'DoServerSetup': xmovectrl.c:170:10: warning: implicit declaration of function 'getauthkey' [-Wimplicit-function-declaration] 170 | if (getauthkey(XmoveFullDisplay, (char *)iobuf+12, &typelen, (char *)iobuf+32, &keylen) != -1) { | ^~~~~~~~~~ xmovectrl.c:177:6: warning: implicit declaration of function 'SendBuffer' [-Wimplicit-function-declaration] 177 | SendBuffer(server_fd, iobuf, send_len); | ^~~~~~~~~~ xmovectrl.c:178:6: warning: implicit declaration of function 'ReceiveBuffer' [-Wimplicit-function-declaration] 178 | ReceiveBuffer(server_fd, iobuf, 1); /* 1==success, 0==not-authorized */ | ^~~~~~~~~~~~~ xmovectrl.c:186:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 186 | return; | ^~~~~~ xmovectrl.c:149:1: note: declared here 149 | DoServerSetup(int server_fd) | ^~~~~~~~~~~~~ xmovectrl.c: At top level: xmovectrl.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | 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] 234 | if (move_getauthkey(*my_argv, | ^~~~~~~~~~~~~~~ xmovectrl.c: At top level: xmovectrl.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] 275 | Ctrl_move(num_args, my_argv) | ^~~~~~~~~ xmovectrl.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int] 374 | Ctrl_list(num_args, my_argv) | ^~~~~~~~~ xmovectrl.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] 405 | Ctrl_quit(num_args, my_argv) | ^~~~~~~~~ xmovectrl.c:440:1: warning: return type defaults to 'int' [-Wimplicit-int] 440 | Ctrl_setdefaultserver(num_args, my_argv) | ^~~~~~~~~~~~~~~~~~~~~ xmovectrl.c:480:1: warning: return type defaults to 'int' [-Wimplicit-int] 480 | ParseDisplay(char *display_name) | ^~~~~~~~~~~~ xmovectrl.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] 492 | usage(char *appname) | ^~~~~ xmovectrl.c:561:1: warning: return type defaults to 'int' [-Wimplicit-int] 561 | SetlittleEndian() | ^~~~~~~~~~~~~~~ xmovectrl.c: In function 'SendBuffer': xmovectrl.c:581:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 581 | 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] 608 | 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] 496 | } | ^ xmovectrl.c: In function 'SetlittleEndian': xmovectrl.c:569:1: warning: control reaches end of non-void function [-Wreturn-type] 569 | } | ^ xmovectrl.c: In function 'Ctrl_quit': xmovectrl.c:515:35: warning: array subscript 5 is outside array bounds of 'unsigned char[10]' [-Warray-bounds] 515 | *((unsigned short *)&buf[0]) = value; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xmovectrl.c:409:20: note: while referencing 'buf' 409 | unsigned char buf[10]; | ^~~ 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.29932 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + 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=/usr/libexec/rpm-build/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 /usr/libexec/rpm-build/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=/usr/libexec/rpm-build/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' /usr/libexec/rpm-build/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,gnuconfig) 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) Processing files: xmove-2.0-alt1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.74762 + 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.YJGcm5 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pjRe62 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.1.3), 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.zQ6rI1 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.oPFgv1 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0W7sT2 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 (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/xmove-debuginfo-2.0-alt1.qa1.i586.rpm (w2.lzdio) 10.97user 1.49system 0:16.08elapsed 77%CPU (0avgtext+0avgdata 54684maxresident)k 0inputs+0outputs (0major+385031minor)pagefaults 0swaps 15.98user 5.14system 0:24.50elapsed 86%CPU (0avgtext+0avgdata 104668maxresident)k 27312inputs+0outputs (0major+683184minor)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 2021-06-16 10:37:47.729851052 +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 @@ -14,4 +14,6 @@ Requires: libc.so.6(GLIBC_2.1) +Requires: libc.so.6(GLIBC_2.1.3) Requires: libc.so.6(GLIBC_2.3.4) Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: rtld(GNU_HASH)