D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/xmove-2.0-0.beta2.14.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ngYUza + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + test -d /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BJrYcb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + rm -rf xmove + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xmove.2.0beta2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd xmove + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xmove-2.0-unix-domain.patch):' Patch #0 (xmove-2.0-unix-domain.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .unix-domain --fuzz=0 patching file man/man1/xmove.1 patching file xmove/main.c patching file xmovectrl/xmovectrl.c + echo 'Patch #1 (xmove-fix-building-with-gcc14.patch):' Patch #1 (xmove-fix-building-with-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14 --fuzz=0 patching file xmove/linkl.c patching file xmove/server.c patching file xmove/print11.c patching file xmove/fd.c patching file xmove/main.c patching file xmove/map.c patching file xmove/xmove.c patching file xmove/get_image.c patching file xmove/move_window.c patching file xmove/XMOVELib.c patching file xmove/put_image.c patching file xmove/display.c patching file xmove/move.c patching file xmove/check_auth.c patching file xmove/hash.c patching file xmove/libatommap.c patching file xmovectrl/xmovectrl.c + chmod 644 doc/features.txt doc/limitations.txt doc/using_xmove.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4Ei0q9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmove + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + for i in xmove xmovectrl + cd xmove + ln -sf ../man/man1/xmove.1 xmove.man + xmkmf imake -DUseInstalled -I/usr/share/X11/config + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CXXOPTIONS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'EXTRA_LDOPTIONS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CDEBUGFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from move_selects.c:18: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # 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:25: 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:58: note: format string is defined here 59 | Dprintf(("Attempting to set selection (s)%d to owner %X\n", | ~^ | | | int | %ld move_selects.c:59:25: 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:70: note: format string is defined here 59 | Dprintf(("Attempting to set selection (s)%d to owner %X\n", | ~^ | | | unsigned int | %lX cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from get_image.c:28: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from getsetProps.c:19: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from move_window.c:18: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # 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:174:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 174 | 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:174:43: note: format string is defined here 174 | Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, | ~^ | | | unsigned int | %lx move_window.c:174:15: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 174 | Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | 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:174:62: note: format string is defined here 174 | Dprintf(("Creating window with id 0x%x\n parented by 0x%x\n",xwin, | ~^ | | | unsigned int | %lx cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ decode11.c: In function 'CheckReplyTable': decode11.c:726:55: 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 cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from map.c:18: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ map.c: In function 'MapColorIndex': map.c:633:87: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 633 | "xmove assert: MapColorIndex couldn't find a visual from VIS %x", | ~^ | | | unsigned int | %lx 634 | cvis->vis_id); | ~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ check_auth.c: In function 'InitMagicCookie': check_auth.c:135:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | write(2, "Unable to execute xauth. User authentication not enabled\n", 57); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_auth.c:141:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | write(2, "Unable to execute xauth. User authentication not enabled\n", 57); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_auth.c:145:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | write(1, "Implementing MIT-MAGIC-COOKIE-1 user authentication\n", 52); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from hash.c:18: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from xmove.h:87: colormaps.c: In function 'MoveColorCells': colormaps.c:95:35: 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:58: note: format string is defined here 95 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx colormaps.c:95:35: 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:68: note: format string is defined here 95 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx colormaps.c: In function 'MoveSplitColorCells': colormaps.c:138:27: 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:34: note: format string is defined here 138 | debug(2, (stderr, "main %x/%x\n", cell->client_pixel, count)); | ~^ | | | unsigned int | %lx colormaps.c:149:43: 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:50: note: format string is defined here 149 | debug(2, (stderr, "RO%x %x/%x\n", index, | ~^ | | | unsigned int | %lx colormaps.c:154:43: 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:50: note: format string is defined here 154 | debug(2, (stderr, "RW%x %x/%x\n", index, | ~^ | | | unsigned int | %lx colormaps.c:169:35: 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:42: note: format string is defined here 169 | debug(2, (stderr, "MAIN %x/%x\n", cell->client_pixel, count)); | ~^ | | | unsigned int | %lx colormaps.c:194:59: 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:66: note: format string is defined here 194 | debug(2, (stderr, "RO%x %x/%x\n", index, | ~^ | | | unsigned int | %lx colormaps.c:211:59: 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:66: note: format string is defined here 211 | debug(2, (stderr, "RW%x %x/%x\n", index, | ~^ | | | unsigned int | %lx colormaps.c:230:35: 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:58: note: format string is defined here 230 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx colormaps.c:230:35: 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:68: note: format string is defined here 230 | debug(2, (stderr, "(%4x/%4x/%4x) pixel %8x (cmap %8x) rw %x\n", | ~~^ | | | unsigned int | %8lx cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In function 'ISetLong', inlined from 'XmoveCtrlSetDefaultServer' at server.c:521:4: server.c:107:39: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 107 | *(unsigned long *)buf = value; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ server.c: In function 'XmoveCtrlSetDefaultServer': server.c:519:18: note: destination object 'tmpbuf' of size 4 519 | u_char tmpbuf[4]; | ^~~~~~ In function 'ISetLong', inlined from 'XmoveCtrlList' at server.c:646:6: server.c:107:39: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 107 | *(unsigned long *)buf = value; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ server.c: In function 'XmoveCtrlList': server.c:636:20: note: destination object 'num_clients_buf' of size 4 636 | unsigned char num_clients_buf[4], out_buf[84]; | ^~~~~~~~~~~~~~~ In function 'ISetLong', inlined from 'MoveWindowRequest2' at server.c:869:4: server.c:107:39: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 107 | *(unsigned long *)buf = value; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ server.c: In function 'MoveWindowRequest2': server.c:867:18: note: destination object 'tmpbuf' of size 4 867 | u_char tmpbuf[4]; | ^~~~~~ In function 'ISetLong', inlined from 'XmoveCtrlMoveAll' at server.c:487:4: server.c:107:39: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 107 | *(unsigned long *)buf = value; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ server.c: In function 'XmoveCtrlMoveAll': server.c:485:18: note: destination object 'tmpbuf' of size 4 485 | u_char tmpbuf[4]; | ^~~~~~ In function 'ISetLong', inlined from 'XmoveCtrlMove' at server.c:590:4: server.c:107:39: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 107 | *(unsigned long *)buf = value; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ server.c: In function 'XmoveCtrlMove': server.c:588:18: note: destination object 'tmpbuf' of size 4 588 | u_char tmpbuf[4]; | ^~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ display.c: In function 'DumpVisual': display.c:18:32: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 18 | fprintf(stderr, "VIS %8x(%c%8x)%8x%8x\n", vis->vis_id, | ~~^ ~~~~~~~~~~~ | | | | unsigned int VisualID {aka long unsigned int} | %8lx display.c:18:38: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 18 | fprintf(stderr, "VIS %8x(%c%8x)%8x%8x\n", vis->vis_id, | ~~^ | | | unsigned int | %8lx 19 | vis->vis_equivalent ? '=' : ' ', 20 | vis->vis_mapped ? vis->vis_mapped->vis_id : 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | VisualID {aka long unsigned int} display.c:24:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 24 | fprintf(stderr, " %8x%8x%8x\n", vis->vis_index[i], | ~~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int card32 {aka long unsigned int} | %8lx display.c:24:46: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 24 | fprintf(stderr, " %8x%8x%8x\n", vis->vis_index[i], | ~~^ | | | unsigned int | %8lx 25 | vis->vis_shift[i], vis->vis_mask[i]); | ~~~~~~~~~~~~~~~~ | | | card32 {aka long unsigned int} display.c:26:32: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 26 | fprintf(stderr, " %8x\n\n", vis->vis_index[i]); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int card32 {aka long unsigned int} | %8lx In file included from xmove.h:87: display.c: In function 'SaveVisuals': display.c:82:43: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 82 | debug(2, (stderr, "SaveVisuals: saving visual %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 | 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:82:72: note: format string is defined here 82 | debug(2, (stderr, "SaveVisuals: saving visual %x\n", | ~^ | | | unsigned int | %lx display.c: In function 'FindCompatibleVisual': display.c:433:27: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 433 | debug(3, (stderr, "FindCompatibleVisual: checking for %s visual %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | 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:433:74: note: format string is defined here 433 | debug(3, (stderr, "FindCompatibleVisual: checking for %s visual %x\n", | ~^ | | | unsigned int | %lx display.c:443:35: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 443 | debug(3, (stderr, "FindCompatibleVisual: comparing with visual %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | 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:443:81: note: format string is defined here 443 | debug(3, (stderr, "FindCompatibleVisual: comparing with visual %x\n", | ~^ | | | unsigned int | %lx display.c: In function 'MakeNewServerFormats': display.c:581:34: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 581 | Dprintf(("MakeNewServerFormats: ERROR visual C %x --> NULL\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 582 | 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:581:73: note: format string is defined here 581 | Dprintf(("MakeNewServerFormats: ERROR visual C %x --> NULL\n", | ~^ | | | unsigned int | %lx display.c:603:26: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 603 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 604 | 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:603:59: note: format string is defined here 603 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ~^ | | | unsigned int | %lx display.c:603:26: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 603 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 606 | bestvisual?bestvisual->vis_id:0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | 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:603:69: note: format string is defined here 603 | Dprintf(("MakeNewServerFormats: visual C %x --> S%c%x\n", | ~^ | | | unsigned int | %lx display.c:616:42: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 616 | Dprintf(("MakeNewServerFormats: visual S %x --> NULL\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 617 | 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:616:75: note: format string is defined here 616 | Dprintf(("MakeNewServerFormats: visual S %x --> NULL\n", | ~^ | | | unsigned int | %lx display.c:621:34: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 621 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 622 | 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:621:67: note: format string is defined here 621 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ~^ | | | unsigned int | %lx display.c:621:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 621 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 622 | 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:621:76: note: format string is defined here 621 | Dprintf(("MakeNewServerFormats: visual S %x --> C %x\n", | ~^ | | | unsigned int | %lx cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ prtype.c: In function 'PrintINT16': prtype.c:203:27: 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:27: 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:29: 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:41: 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:41: 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:41: 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:41: 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:33: 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:41: 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:33: 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:33: 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:41: 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:41: 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:41: 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:41: 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:33: 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:48: 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:36: 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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ main.c: In function 'SetUpConnectionSocket': main.c:507:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 507 | (void)UsingFD(ConnectionSocket, NewConnection, (Pointer)ConnectionSocket); | ^ main.c: In function 'NewConnection': main.c:699:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 699 | int XPort = (int)private_data; | ^ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:23, from put_image.c:21: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from XMOVELib.c:23: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from xmove.h:87, from XMOVELib.c:33: XMOVELib.c: In function 'XMOVEInternAtom': XMOVELib.c:414:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 414 | 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:414:45: note: format string is defined here 414 | Dprintf(("InternAtom reply: Atom=%d\n",ILong((unsigned char *)&InternAtomReply.atom))); | ~^ | | | int | %ld XMOVELib.c: In function 'XMOVEMapWindow': XMOVELib.c:796:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 796 | 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:796:45: note: format string is defined here 796 | Dprintf(("in XMOVEMapWindow mapping 0x%x\n",w)); | ~^ | | | unsigned int | %lx XMOVELib.c: In function 'XMOVECreateWindow': XMOVELib.c:930:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=] 930 | Dprintf (("XMOVECreateWindow: (%d,%d)-(%d,%d), with %d attributes\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | 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:930:59: note: format string is defined here 930 | Dprintf (("XMOVECreateWindow: (%d,%d)-(%d,%d), with %d attributes\n", | ~^ | | | int | %ld cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ move.c: In function 'Move_stage1': move.c:481:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 481 | fprintf(stdout, "XMOVE: switching client %d to display %s\n", | ~^ | | | int | %ld 482 | client->ClientNumber, full_display_name); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int In file included from xmove.h:87: move.c:484:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 484 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 485 | 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:484:38: note: format string is defined here 484 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx move.c:484:15: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 484 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 485 | 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:484:51: note: format string is defined here 484 | Dprintf(("New display base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx move.c: In function 'Move_stage2': move.c:542:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 542 | 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:542:52: note: format string is defined here 542 | Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); | ~^ | | | int | %ld move.c:542:20: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 542 | 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:542:58: note: format string is defined here 542 | Dprintf(("About to Intern Atom %s == (c)%d (s)%d\n",atom->atom_name,atom->client_atom,atom->server_atom)); | ~^ | | | int | %ld move.c:558:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Font' {aka 'long unsigned int'} [-Wformat=] 558 | Dprintf(("Font %s loaded with id 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 559 | 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:558:47: note: format string is defined here 558 | Dprintf(("Font %s loaded with id 0x%x\n", | ~^ | | | unsigned int | %lx move.c:586:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Font' {aka 'long unsigned int'} [-Wformat=] 586 | 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:586:49: note: format string is defined here 586 | Dprintf(("Font fixed loaded with id 0x%x\n", xfont)); | ~^ | | | unsigned int | %lx move.c:608:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 608 | 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:608:33: note: format string is defined here 608 | Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, | ~^ | | | unsigned int | %lx move.c:608:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 608 | Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 609 | 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:608:47: note: format string is defined here 608 | Dprintf(("New pixmap %x old pixmap %x\n",xpixmap, | ~^ | | | unsigned int | %lx move.c: In function 'Move_stage3': move.c:643:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Cursor' {aka 'long unsigned int'} [-Wformat=] 643 | 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:643:34: note: format string is defined here 643 | Dprintf(("cursor id 0x%x loaded.\n", cursor_ptr->cursor_id)); | ~^ | | | unsigned int | %lx move.c:683:31: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 683 | Eprintf(("move.c: pixmap %x expected depth %d, got %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 684 | 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:683:48: note: format string is defined here 683 | Eprintf(("move.c: pixmap %x expected depth %d, got %d\n", | ~^ | | | unsigned int | %lx move.c:733:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 733 | 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:733:44: note: format string is defined here 733 | Dprintf(("putimage with gc 0x%x\n",gc)); | ~^ | | | unsigned int | %lx move.c: In function 'Move_stage4': move.c:822:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Font' {aka 'long unsigned int'} [-Wformat=] 822 | 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:822:60: note: format string is defined here 822 | Dprintf(("remapped font for new gc to be 0x%x\n",gc_ptr->values.font)); | ~^ | | | unsigned int | %lx move.c:853:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 853 | 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:853:48: note: format string is defined here 853 | Eprintf(("Moving gc %x with ClipRects, but no origins?\n", xgc)); | ~^ | | | unsigned int | %lx move.c:860:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 860 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 861 | 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:860:50: note: format string is defined here 860 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ~^ | | | unsigned int | %lx move.c:860:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 860 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 861 | 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:860:66: note: format string is defined here 860 | Dprintf(("Created new GC with gc_id 0x%x old gc_id 0x%x\n", | ~^ | | | unsigned int | %lx move.c:907:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Cursor' {aka 'long unsigned int'} [-Wformat=] 907 | 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:907:34: note: format string is defined here 907 | Dprintf(("cursor id 0x%x loaded.\n", xcursor)); | ~^ | | | unsigned int | %lx cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from xmove.h:87: xmove.c: In function 'AddGCToCurrentClient': xmove.c:162:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 162 | Dprintf((" id = %x, drawable = %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | 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:162:23: note: format string is defined here 162 | Dprintf((" id = %x, drawable = %x\n", | ~^ | | | unsigned int | %lx xmove.c:162:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Drawable' {aka 'long unsigned int'} [-Wformat=] 162 | Dprintf((" id = %x, drawable = %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | 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:162:38: note: format string is defined here 162 | Dprintf((" id = %x, drawable = %x\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'AddWindowToCurrentClient': xmove.c:316:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 316 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | 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:316:27: note: format string is defined here 316 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ~^ | | | unsigned int | %lx xmove.c:316:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 316 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | 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:316:42: note: format string is defined here 316 | Dprintf((" id = 0x%x, parent = 0x%x, geom: %dx%d+%d+%d\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'AddPixmapToCurrentClient': xmove.c:646:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 646 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 647 | 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:646:23: note: format string is defined here 646 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ~^ | | | unsigned int | %lx xmove.c:646:14: warning: format '%d' expects argument of type 'int', but argument 5 has type 'PixmapFormatPtr' {aka 'struct PixmapFormatRec *'} [-Wformat=] 646 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 647 | 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:646:51: note: format string is defined here 646 | Dprintf(("id: 0x%x, size = (%d,%d), depth = %d\n", | ~^ | | | int xmove.c: In function 'AddSelectionToCurrentClient': xmove.c:666:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 666 | 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:666:27: note: format string is defined here 666 | Dprintf(("selection: %d\n", selection->selection)) | ~^ | | | int | %ld xmove.c: In function 'AddFontToCurrentClient': xmove.c:775:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Font' {aka 'long unsigned int'} [-Wformat=] 775 | Dprintf(("name = %s, id = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~ 776 | 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:775:34: note: format string is defined here 775 | Dprintf(("name = %s, id = 0x%x\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'AllocColorCell': xmove.c:950:43: 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 | ", 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:950:46: note: format string is defined here 950 | debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); | ~~^ | | | unsigned int | %3lx xmove.c:950:43: 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 | ", 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:950:50: note: format string is defined here 950 | debug(2, (stderr, "%3x %3x | ", cur_pixel, new_cell->client_pixel)); | ~~^ | | | unsigned int | %3lx xmove.c:952:43: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 952 | 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:952:46: note: format string is defined here 952 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ~~^ | | | unsigned int | %3lx xmove.c:952:43: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 952 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ^~~~~~~~~~~~~~~~ 953 | 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:952:50: note: format string is defined here 952 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ~~^ | | | unsigned int | %3lx xmove.c:952:43: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 952 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ^~~~~~~~~~~~~~~~ 953 | 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:952:54: note: format string is defined here 952 | debug(2, (stderr, "%3x %3x %3x | ", cur_pixel, | ~~^ | | | unsigned int | %3lx xmove.c: In function 'SetBackgroundPixmap': xmove.c:1139:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 1139 | Dprintf(("setting background pixmap to 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1140 | 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:1139:47: note: format string is defined here 1139 | Dprintf(("setting background pixmap to 0x%x\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'SetBackgroundPixel': xmove.c:1153:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1153 | Dprintf(("setting background pixel to 0x%x.\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1154 | 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:1153:46: note: format string is defined here 1153 | Dprintf(("setting background pixel to 0x%x.\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'SetBorderPixmap': xmove.c:1164:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 1164 | 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:1164:43: note: format string is defined here 1164 | Dprintf(("setting border pixmap to 0x%x.\n", border_pixmap)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetBorderPixel': xmove.c:1174:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1174 | 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:1174:42: note: format string is defined here 1174 | Dprintf(("setting border pixel to 0x%x.\n", border_pixel)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetBackingPixel': xmove.c:1184:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1184 | 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:1184:43: note: format string is defined here 1184 | Dprintf(("setting backing pixel to 0x%x.\n", backing_pixel)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetColormap': xmove.c:1194:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 1194 | 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:1194:38: note: format string is defined here 1194 | Dprintf(("setting colormap to 0x%x.\n", colormap)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetCursor': xmove.c:1204:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Cursor' {aka 'long unsigned int'} [-Wformat=] 1204 | 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:1204:36: note: format string is defined here 1204 | Dprintf(("setting cursor to 0x%x.\n", cursor)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetPlaneMask': xmove.c:1465:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1465 | 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:1465:40: note: format string is defined here 1465 | Dprintf(("setting plane mask to 0x%x\n", plane_mask)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetForeground': xmove.c:1474:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1474 | 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:1474:40: note: format string is defined here 1474 | Dprintf(("setting foreground to 0x%x\n", foreground)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetBackground': xmove.c:1483:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1483 | 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:1483:40: note: format string is defined here 1483 | Dprintf(("setting background to 0x%x\n", background)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetTile': xmove.c:1546:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 1546 | 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:1546:34: note: format string is defined here 1546 | Dprintf(("setting tile to 0x%x\n", tile)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetStipple': xmove.c:1555:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 1555 | 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:1555:37: note: format string is defined here 1555 | Dprintf(("setting stipple to 0x%x\n", stipple)) | ~^ | | | unsigned int | %lx xmove.c: In function 'SetClipMask': xmove.c:1624:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 1624 | 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:1624:39: note: format string is defined here 1624 | Dprintf(("setting clip mask to 0x%x\n", clip_mask)) | ~^ | | | unsigned int | %lx xmove.c: In function 'ParseGCBitmaskValueList': xmove.c:1665:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 1665 | 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:1665:38: note: format string is defined here 1665 | Dprintf(("parsing info for GC 0x%x\n", gc_ptr->gc_id)) | ~^ | | | unsigned int | %lx xmove.c: In function 'ParseGCBitmaskcopy': xmove.c:1882:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 1882 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1883 | 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:1882:47: note: format string is defined here 1882 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ~^ | | | unsigned int | %lx xmove.c:1882:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GContext' {aka 'long unsigned int'} [-Wformat=] 1882 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1883 | 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:1882:56: note: format string is defined here 1882 | Dprintf(("parsing info for GC copy from #0x%x to #0x%x\n", | ~^ | | | unsigned int | %lx xmove.c: In function 'ConvertPixmapToColormap': xmove.c:2093:26: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 2093 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2094 | 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:2093:67: note: format string is defined here 2093 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ~^ | | | unsigned int | %lx xmove.c:2093:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 2093 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2094 | 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:2093:74: note: format string is defined here 2093 | Eprintf(("ETHAN: ConvertPixmap has mixed visuals %x and %x\n", | ~^ | | | unsigned int | %lx cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:23, from print11.c:112: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # 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:1723:36: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 1723 | debug (2, (stderr, "CreateWindow sabotaged vis %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1724 | 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:1723:65: note: format string is defined here 1723 | debug (2, (stderr, "CreateWindow sabotaged vis %x\n", | ~^ | | | unsigned int | %lx print11.c: In function 'ChangeWindowAttributes': print11.c:1786:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1786 | 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:1786:56: note: format string is defined here 1786 | Dprintf(("XMOVE ChangeWindowAttribute on window 0x%x\n",ILong(&buf[4]))) | ~^ | | | unsigned int | %lx print11.c: In function 'ReparentWindow': print11.c:1970:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 1970 | 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:1970:55: note: format string is defined here 1970 | Dprintf(("XMOVE ReparentWindow Request on window 0x%x\n",ILong(&buf[4]))) | ~^ | | | unsigned int | %lx print11.c: In function 'GetProperty': print11.c:2452:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 2452 | 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:2452:47: note: format string is defined here 2452 | Dprintf(("XMOVE GetProperty on window 0x%x\n",ILong(&buf[4]))); | ~^ | | | unsigned int | %lx print11.c: In function 'SetSelectionOwner': print11.c:2618:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2618 | 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:2618:40: note: format string is defined here 2618 | Dprintf(("Adding new selection %d\n",ILong(&buf[8]))) | ~^ | | | int | %ld print11.c: In function 'GrabButton': print11.c:2996:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 2996 | 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:2996:62: note: format string is defined here 2996 | Dprintf(("adding grab (button) to client with grab_window %x\n",temp_grab->grab_window)) | ~^ | | | unsigned int | %lx print11.c: In function 'GrabKey': print11.c:3170:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 3170 | 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:3170:59: note: format string is defined here 3170 | Dprintf(("adding grab (key) to client with grab_window %x\n",temp_grab->grab_window)) | ~^ | | | unsigned int | %lx print11.c: In function 'CreatePixmap': print11.c:3887:26: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 3887 | Eprintf(("CreatePixmap %x of unknown depth %d?\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3888 | 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:3887:41: note: format string is defined here 3887 | Eprintf(("CreatePixmap %x of unknown depth %d?\n", | ~^ | | | unsigned int | %lx print11.c:3918:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 3918 | 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:3918:58: note: format string is defined here 3918 | Dprintf(("adding pixmap to client with drawable %x\n",ILong(&buf[8]))); | ~^ | | | unsigned int | %lx print11.c: In function 'FreePixmap': print11.c:3947:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 3947 | 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:3947:58: note: format string is defined here 3947 | Dprintf(("XMOVE got a free pixmap request on pixmap 0x%x\n",ILong(&buf[4]))) | ~^ | | | unsigned int | %lx print11.c: In function 'CreateColormap': print11.c:4874:36: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] 4874 | debug (2, (stderr, "CreateColormap sabotaged vis %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4875 | 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:4874:67: note: format string is defined here 4874 | debug (2, (stderr, "CreateColormap sabotaged vis %x\n", | ~^ | | | unsigned int | %lx print11.c: In function 'AllocColorCells': print11.c:5191:32: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 5191 | printf("bad colormap %x\n", ILong(&buf[4])); | ~^ ~~~~~~~~~~~~~~ | | | | | long unsigned int | unsigned int | %lx print11.c: In function 'FreeColors': print11.c:5331:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'card32' {aka 'long unsigned int'} [-Wformat=] 5331 | 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:5331:50: note: format string is defined here 5331 | Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); | ~^ | | | int | %ld print11.c:5331:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 5331 | 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:5331:73: note: format string is defined here 5331 | Dprintf(("Freeing color %d which maps to color %d\n",pixel,ILong(curbuf))); | ~^ | | | int | %ld print11.c: In function 'PrintSuccessfulSetUpReply': print11.c:6518:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 6518 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6519 | 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:6518:36: note: format string is defined here 6518 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx print11.c:6518:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 6518 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6519 | ILong(&buf[12]), 6520 | 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:6518:49: note: format string is defined here 6518 | Dprintf(("client base = 0x%x, mask = 0x%x\n", | ~^ | | | unsigned int | %lx print11.c: In function 'ProcessGetImage': print11.c:6838:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 6838 | Eprintf(("GetImage can't figure out matching depths %x (%d %d %d %d)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6839 | 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:6838:67: note: format string is defined here 6838 | Eprintf(("GetImage can't figure out matching depths %x (%d %d %d %d)\n", | ~^ | | | unsigned int | %lx rm -f xmove cc -o xmove -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 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 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__=/usr/share/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < 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 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-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 + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CXXOPTIONS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'EXTRA_LDOPTIONS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CDEBUGFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -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:28, from xmovectrl.c:18: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ xmovectrl.c: In function 'Ctrl_quit': xmovectrl.c:494:6: warning: 'ISetShort' accessing 1 byte in a region of size 0 [-Wstringop-overflow=] 494 | ISetShort(&buf[10], 0); | ^~~~~~~~~~~~~~~~~~~~~~ xmovectrl.c:494:6: note: referencing argument 1 of type 'unsigned char[0]' xmovectrl.c:619:1: note: in a call to function 'ISetShort' 619 | ISetShort(unsigned char buf[], unsigned short value) | ^~~~~~~~~ In function 'ISetShort', inlined from 'Ctrl_quit' at xmovectrl.c:493:6: xmovectrl.c:621:35: warning: writing 4 bytes into a region of size 2 [-Wstringop-overflow=] 621 | *((unsigned short *)&buf[0]) = value; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xmovectrl.c: In function 'Ctrl_quit': xmovectrl.c:471:20: note: at offset 8 into destination object 'buf' of size 10 471 | unsigned char buf[10]; | ^~~ rm -f xmovectrl gcc -o xmovectrl -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 xmovectrl.o 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__=/usr/share/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < 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 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Kmx5TA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + mkdir /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmove + '[' 1 -eq 1 ']' + install -d -m755 /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/man/man1/ + for i in xmove xmovectrl + cd xmove + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' + mkdir -p /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/bin /usr/bin/install -p -c xmove /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/bin/xmove install in . done + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove + install -m 644 man/man1/xmove.1 /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/man/man1/ + for i in xmove xmovectrl + cd xmovectrl + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -c xmovectrl /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/bin/xmovectrl install in . done + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove + install -m 644 man/man1/xmovectrl.1 /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/man/man1/ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.0-0.beta2.14.mga10 --unique-debug-suffix -2.0-0.beta2.14.mga10.x86_64 --unique-debug-src-base xmove-2.0-0.beta2.14.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xmove-2.0-0.beta2.14.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: xmove-2.0-0.beta2.14.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.u3RGnS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + cd xmove + DOCDIR=/home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/doc/xmove + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/doc/xmove + cp -pr /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove/README /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/doc/xmove + cp -pr /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove/doc/features.txt /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/doc/xmove + cp -pr /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove/doc/limitations.txt /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/doc/xmove + cp -pr /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/xmove/doc/using_xmove.txt /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT/usr/share/doc/xmove + RPM_EC=0 ++ jobs -p + exit 0 Provides: xmove = 2.0-0.beta2.14.mga10 xmove(x86-64) = 2.0-0.beta2.14.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) Processing files: xmove-debugsource-2.0-0.beta2.14.mga10.x86_64 Provides: xmove-debugsource = 2.0-0.beta2.14.mga10 xmove-debugsource(x86-64) = 2.0-0.beta2.14.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xmove-debuginfo-2.0-0.beta2.14.mga10.x86_64 Provides: debuginfo(build-id) = 2884a1acbdd96eac0a3fb912a518ba6b42bb81a0 debuginfo(build-id) = f8fbf80552083ea5ad6ed7a563e479ae1a916577 xmove-debuginfo = 2.0-0.beta2.14.mga10 xmove-debuginfo(x86-64) = 2.0-0.beta2.14.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xmove-debugsource(x86-64) = 2.0-0.beta2.14.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/xmove-2.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xmove-2.0-0.beta2.14.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xmove-debuginfo-2.0-0.beta2.14.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xmove-debugsource-2.0-0.beta2.14.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1PWrox + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + test -d /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/xmove-2.0-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!